Introduce new style of interaction (keyboard free)
#include <SVTK_KeyFreeInteractorStyle.h>
Public Member Functions | |
vtkTypeMacro (SVTK_KeyFreeInteractorStyle, SVTK_InteractorStyle) | |
Public Member Functions inherited from SVTK_InteractorStyle | |
vtkTypeMacro (SVTK_InteractorStyle, vtkInteractorStyle) | |
void | SetTDxStyle (vtkTDxInteractorStyle *) |
virtual SVTK_SelectionEvent * | GetSelectionEvent () |
Generate special SVTK_SelectionEvent. More... | |
virtual SVTK_SelectionEvent * | GetSelectionEventFlipY () |
Generate special SVTK_SelectionEvent with flipped Y coordinate. More... | |
virtual void | SetInteractor (vtkRenderWindowInteractor *) |
Redefined in order to add an observer (callback) for custom event (space mouse event) More... | |
virtual void | Render () |
To invoke #vtkRenderWindowInteractor::CreateTimer. More... | |
virtual void | OnTimer () |
To implement cached rendering. More... | |
virtual void | OnConfigure () |
To reset reset view. More... | |
virtual void | OnMouseMove () |
To handle mouse move event. More... | |
virtual void | OnLeftButtonDown () |
To handle left mouse button down event (reimplemented from vtkInteractorStyle) More... | |
virtual void | OnLeftButtonUp () |
To handle left mouse button up event (reimplemented from vtkInteractorStyle) More... | |
virtual void | OnMiddleButtonDown () |
To handle middle mouse button down event (reimplemented from vtkInteractorStyle) More... | |
virtual void | OnMiddleButtonUp () |
To handle middle mouse button up event (reimplemented from vtkInteractorStyle) More... | |
virtual void | OnRightButtonDown () |
To handle right mouse button down event (reimplemented from vtkInteractorStyle) More... | |
virtual void | OnRightButtonUp () |
To handle right mouse button up event (reimplemented from vtkInteractorStyle) More... | |
virtual void | OnMouseWheelForward () |
To handle mouse wheel forward event (reimplemented from vtkInteractorStyle) More... | |
virtual void | OnMouseWheelBackward () |
To handle mouse wheel backward event (reimplemented from vtkInteractorStyle) More... | |
virtual void | OnMouseButtonDoubleClick () |
To handle mouse button double click event. More... | |
void | SetControllerIncrement (SVTK_ControllerIncrement *) |
To set current increment controller. More... | |
void | SetIncrementSpeed (const int, const int=0) |
To modify current increment controller. More... | |
SVTK_ControllerIncrement * | ControllerIncrement () |
To get current increment controller. More... | |
virtual void | OnKeyDown () |
Redefine vtkInteractorStyle::OnKeyDown. More... | |
void | ActionPicking () |
Provide instructions for Picking. More... | |
void | SetControllerOnKeyDown (SVTK_ControllerOnKeyDown *) |
To set current OnKeyDown controller. More... | |
SVTK_ControllerOnKeyDown * | ControllerOnKeyDown () |
To get current OnKeyDown controller. More... | |
SVTK_Selector * | GetSelector () |
int | CurrentState () const |
PolygonState | GetPolygonState () const |
void | SetPolygonState (const PolygonState &thePolygonState) |
void | SetAdvancedZoomingEnabled (const bool theState) |
bool | IsAdvancedZoomingEnabled () const |
void | FreeActors () |
releaze myLastHighlitedActor and myLastPreHighlitedActor More... | |
Static Public Member Functions | |
static SVTK_KeyFreeInteractorStyle * | New () |
Static Public Member Functions inherited from SVTK_InteractorStyle | |
static SVTK_InteractorStyle * | New () |
Protected Member Functions | |
SVTK_KeyFreeInteractorStyle () | |
~SVTK_KeyFreeInteractorStyle () | |
SVTK_KeyFreeInteractorStyle (const SVTK_KeyFreeInteractorStyle &) | |
void | operator= (const SVTK_KeyFreeInteractorStyle &) |
virtual void | OnMouseMove (int ctrl, int shift, int x, int y) |
Redefine SVTK_InteractorStyle::OnMouseMove. More... | |
virtual void | OnLeftButtonDown (int ctrl, int shift, int x, int y) |
Redefine SVTK_InteractorStyle::OnLeftButtonDown. More... | |
virtual void | OnMiddleButtonDown (int ctrl, int shift, int x, int y) |
Redefine SVTK_InteractorStyle::OnMiddleButtonDown. More... | |
virtual void | OnRightButtonDown (int ctrl, int shift, int x, int y) |
Redefine SVTK_InteractorStyle::OnRightButtonDown. More... | |
virtual void | OnLeftButtonUp (int ctrl, int shift, int x, int y) |
Redefine SVTK_InteractorStyle::OnLeftButtonUp. More... | |
virtual void | OnMiddleButtonUp (int ctrl, int shift, int x, int y) |
Redefine SVTK_InteractorStyle::OnMiddleButtonUp. More... | |
virtual void | OnRightButtonUp (int ctrl, int shift, int x, int y) |
Redefine SVTK_InteractorStyle::OnRightButtonUp. More... | |
virtual void | OnChar () |
Redefine SVTK_InteractorStyle::OnChar. More... | |
Protected Member Functions inherited from SVTK_InteractorStyle | |
SVTK_InteractorStyle () | |
~SVTK_InteractorStyle () | |
QWidget * | GetRenderWidget () |
void | RotateXY (int dx, int dy) |
void | PanXY (int x, int y, int oldX, int oldY) |
void | DollyXY (int dx, int dy) |
void | SpinXY (int dx, int dy, int oldX, int oldY) |
void | fitRect (const int left, const int top, const int right, const int bottom) |
void | Place (const int theX, const int theY) |
void | TranslateView (int toX, int toY, int fromX, int fromY) |
void | IncrementalPan (const int incrX, const int incrY) |
void | IncrementalZoom (const int incr) |
void | IncrementalRotate (const int incrX, const int incrY) |
void | startZoom () |
void | startPan () |
void | startGlobalPan () |
void | startRotate () |
void | startFitArea () |
void | startSpin () |
void | startPointSelection () |
void | startFocalPointSelection () |
void | loadCursors () |
void | startOperation (int operation) |
void | onStartOperation () |
virtual void | onFinishOperation () |
void | onOperation (QPoint mousePos) |
void | onCursorMove (QPoint mousePos) |
void | setCursor (const int operation) |
void | onSpaceMouseMove (double *data) |
virtual void | onSpaceMouseButton (int button) |
void | DominantCombinedSwitch () |
void | drawRect () |
void | endDrawRect () |
Delete rubber band on the end on the dragging operation. More... | |
void | drawPolygon () |
void | endDrawPolygon () |
Delete rubber band on the end on the dragging operation. More... | |
Additional Inherited Members | |
Public Types inherited from SVTK_InteractorStyle | |
typedef boost::shared_ptr < SVTK_SelectionEvent > | PSelectionEvent |
Static Protected Member Functions inherited from SVTK_InteractorStyle | |
static void | ProcessEvents (vtkObject *object, unsigned long event, void *clientData, void *callData) |
|
protected |
|
protected |
|
protected |
|
static |
|
protectedvirtual |
Reimplemented from SVTK_InteractorStyle.
References SVTK_InteractorStyle::ActionPicking(), and SVTK_InteractorStyle::OnChar().
|
protectedvirtual |
Reimplemented from SVTK_InteractorStyle.
References SVTK_InteractorStyle::ForcedState, myIsLeftButtonDown, SVTK_InteractorStyle::myOtherPoint, SVTK_InteractorStyle::myPoint, SVTK_InteractorStyle::myShiftState, SVTK_InteractorStyle::onFinishOperation(), SVTK_InteractorStyle::OnLeftButtonDown(), SVTK_InteractorStyle::startOperation(), VTK_INTERACTOR_STYLE_CAMERA_NONE, and VTK_INTERACTOR_STYLE_CAMERA_ROTATE.
|
protectedvirtual |
Reimplemented from SVTK_InteractorStyle.
References myIsLeftButtonDown, SVTK_InteractorStyle::OnLeftButtonDown(), and SVTK_InteractorStyle::OnLeftButtonUp().
|
protectedvirtual |
Reimplemented from SVTK_InteractorStyle.
References SVTK_InteractorStyle::ForcedState, SVTK_InteractorStyle::myOtherPoint, SVTK_InteractorStyle::myPoint, SVTK_InteractorStyle::myShiftState, SVTK_InteractorStyle::onFinishOperation(), SVTK_InteractorStyle::OnMiddleButtonDown(), SVTK_InteractorStyle::startOperation(), VTK_INTERACTOR_STYLE_CAMERA_NONE, and VTK_INTERACTOR_STYLE_CAMERA_PAN.
|
protectedvirtual |
Reimplemented from SVTK_InteractorStyle.
References SVTK_InteractorStyle::OnMiddleButtonUp().
|
protectedvirtual |
Reimplemented from SVTK_InteractorStyle.
References myIsLeftButtonDown, myIsRightButtonDown, SVTK_InteractorStyle::OnLeftButtonDown(), SVTK_InteractorStyle::OnMouseMove(), and SVTK_InteractorStyle::OnRightButtonDown().
|
protectedvirtual |
Reimplemented from SVTK_InteractorStyle.
References SVTK_InteractorStyle::ForcedState, myIsRightButtonDown, SVTK_InteractorStyle::myOtherPoint, SVTK_InteractorStyle::myPoint, SVTK_InteractorStyle::myShiftState, SVTK_InteractorStyle::onFinishOperation(), SVTK_InteractorStyle::OnRightButtonDown(), SVTK_InteractorStyle::startOperation(), VTK_INTERACTOR_STYLE_CAMERA_NONE, and VTK_INTERACTOR_STYLE_CAMERA_ZOOM.
|
protectedvirtual |
Reimplemented from SVTK_InteractorStyle.
References myIsRightButtonDown, SVTK_InteractorStyle::OnRightButtonDown(), and SVTK_InteractorStyle::OnRightButtonUp().
|
protected |
SVTK_KeyFreeInteractorStyle::vtkTypeMacro | ( | SVTK_KeyFreeInteractorStyle | , |
SVTK_InteractorStyle | |||
) |
|
protected |
|
protected |