Introduce new style of interaction (keyboard free) More...
#include <SVTK_KeyFreeInteractorStyle.h>

Public Member Functions | |
| vtkTypeMacro(SVTK_KeyFreeInteractorStyle, SVTK_InteractorStyle) protected | ~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... | |
Public Member Functions inherited from SVTK_InteractorStyle | |
| vtkTypeMacro(SVTK_InteractorStyle, vtkInteractorStyle) typedef boost 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 () |
Public Attributes | |
| bool | myIsLeftButtonDown |
| bool | myIsRightButtonDown |
Additional Inherited Members | |
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 | InteractiveSelection () |
| void | startZoom () |
| void | startPan () |
| void | startGlobalPan () |
| void | startRotate () |
| void | startFitArea () |
| void | startSpin () |
| void | startPointSelection () |
| void | startFocalPointSelection () |
| void | startInteractiveSelection () |
| 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... | |
Static Protected Member Functions inherited from SVTK_InteractorStyle | |
| static void | ProcessEvents (vtkObject *object, unsigned long event, void *clientData, void *callData) |
Protected Attributes inherited from SVTK_InteractorStyle | |
| float | MotionFactor |
| float | RadianToDegree |
| double | myScale |
| QCursor | myDefCursor |
| QCursor | myPanCursor |
| QCursor | myZoomCursor |
| QCursor | myRotateCursor |
| QCursor | mySpinCursor |
| QCursor | myHandCursor |
| QCursor | myGlobalPanCursor |
| QPoint | myPoint |
| QPoint | myOtherPoint |
| bool | myCursorState |
| bool | myShiftState |
| int | ForcedState |
| vtkSmartPointer< SALOME_Actor > | myLastHighlitedActor |
| vtkSmartPointer< SALOME_Actor > | myLastPreHighlitedActor |
| vtkSmartPointer< SVTK_ControllerIncrement > | myControllerIncrement |
| "Increment" controller for pan/rotate/zoom operations More... | |
| vtkSmartPointer< SVTK_ControllerOnKeyDown > | myControllerOnKeyDown |
| controls the behaviour of KeyDown event in SALOME way More... | |
| int | mySMDecreaseSpeedBtn |
| int | mySMIncreaseSpeedBtn |
| int | mySMDominantCombinedSwitchBtn |
| vtkSmartPointer< SVTK_GenericRenderWindowInteractor > | myInteractor |
| PSelectionEvent | mySelectionEvent |
| unsigned long | myCurrRotationPointType |
| unsigned long | myPrevRotationPointType |
| unsigned long | myCurrFocalPointType |
| unsigned long | myPrevFocalPointType |
| double | myRotationPointX |
| double | myRotationPointY |
| double | myRotationPointZ |
| vtkSmartPointer< SVTK_Actor > | myHighlightSelectionPointActor |
| vtkSmartPointer< vtkPointPicker > | myPointPicker |
| double | myBBCenter [3] |
| double | myInteractivePoint [3] |
| bool | myBBFirstCheck |
| QtxRectRubberBand * | myRectBand |
| selection rectangle rubber band More... | |
| QtxPolyRubberBand * | myPolygonBand |
| polygonal selection More... | |
| QVector< QPoint > | myPolygonPoints |
| PolygonState | myPoligonState |
| bool | myIsAdvancedZoomingEnabled |
Introduce new style of interaction (keyboard free)
| SVTK_KeyFreeInteractorStyle::~SVTK_KeyFreeInteractorStyle | ( | ) |
| SVTK_KeyFreeInteractorStyle::SVTK_KeyFreeInteractorStyle | ( | const SVTK_KeyFreeInteractorStyle & | ) |
|
static |
|
virtual |
Redefine SVTK_InteractorStyle::OnChar.
Reimplemented from SVTK_InteractorStyle.
References SVTK_InteractorStyle::ActionPicking(), and SVTK_InteractorStyle::OnChar().
|
virtual |
Redefine SVTK_InteractorStyle::OnLeftButtonDown.
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.
|
virtual |
Redefine SVTK_InteractorStyle::OnLeftButtonUp.
Reimplemented from SVTK_InteractorStyle.
References myIsLeftButtonDown, SVTK_InteractorStyle::OnLeftButtonDown(), and SVTK_InteractorStyle::OnLeftButtonUp().
|
virtual |
Redefine SVTK_InteractorStyle::OnMiddleButtonDown.
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.
|
virtual |
Redefine SVTK_InteractorStyle::OnMiddleButtonUp.
Reimplemented from SVTK_InteractorStyle.
References SVTK_InteractorStyle::OnMiddleButtonUp().
|
virtual |
Redefine SVTK_InteractorStyle::OnMouseMove.
Reimplemented from SVTK_InteractorStyle.
References myIsLeftButtonDown, myIsRightButtonDown, SVTK_InteractorStyle::OnLeftButtonDown(), SVTK_InteractorStyle::OnMouseMove(), and SVTK_InteractorStyle::OnRightButtonDown().
|
virtual |
Redefine SVTK_InteractorStyle::OnRightButtonDown.
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.
|
virtual |
Redefine SVTK_InteractorStyle::OnRightButtonUp.
Reimplemented from SVTK_InteractorStyle.
References myIsRightButtonDown, SVTK_InteractorStyle::OnRightButtonDown(), and SVTK_InteractorStyle::OnRightButtonUp().
| void SVTK_KeyFreeInteractorStyle::operator= | ( | const SVTK_KeyFreeInteractorStyle & | ) |
| bool SVTK_KeyFreeInteractorStyle::myIsLeftButtonDown |
| bool SVTK_KeyFreeInteractorStyle::myIsRightButtonDown |