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

Public Types | |
| typedef boost::shared_ptr < SVTK_SelectionEvent > | PSelectionEvent |
Public Member Functions | |
| vtkTypeMacro (SVTK_KeyFreeInteractorStyle, SVTK_InteractorStyle) | |
| vtkTypeMacro (SVTK_InteractorStyle, vtkInteractorStyle) | |
| void | SetTDxStyle (vtkTDxInteractorStyle *) |
| virtual SVTK_SelectionEvent * | GetSelectionEvent () |
| Generate special SVTK_SelectionEvent. | |
| virtual SVTK_SelectionEvent * | GetSelectionEventFlipY () |
| Generate special SVTK_SelectionEvent with flipped Y coordinate. | |
| virtual void | SetInteractor (vtkRenderWindowInteractor *) |
| Redefined in order to add an observer (callback) for custom event (space mouse event) | |
| virtual void | Render () |
| To invoke #vtkRenderWindowInteractor::CreateTimer. | |
| virtual void | OnTimer () |
| To implement cached rendering. | |
| virtual void | OnConfigure () |
| To reset reset view. | |
| virtual void | OnMouseMove () |
| To handle mouse move event. | |
| virtual void | OnLeftButtonDown () |
| To handle left mouse button down event (reimplemented from vtkInteractorStyle) | |
| virtual void | OnLeftButtonUp () |
| To handle left mouse button up event (reimplemented from vtkInteractorStyle) | |
| virtual void | OnMiddleButtonDown () |
| To handle middle mouse button down event (reimplemented from vtkInteractorStyle) | |
| virtual void | OnMiddleButtonUp () |
| To handle middle mouse button up event (reimplemented from vtkInteractorStyle) | |
| virtual void | OnRightButtonDown () |
| To handle right mouse button down event (reimplemented from vtkInteractorStyle) | |
| virtual void | OnRightButtonUp () |
| To handle right mouse button up event (reimplemented from vtkInteractorStyle) | |
| virtual void | OnMouseWheelForward () |
| To handle mouse wheel forward event (reimplemented from vtkInteractorStyle) | |
| virtual void | OnMouseWheelBackward () |
| To handle mouse wheel backward event (reimplemented from vtkInteractorStyle) | |
| void | SetControllerIncrement (SVTK_ControllerIncrement *) |
| To set current increment controller. | |
| void | SetIncrementSpeed (const int, const int=0) |
| To modify current increment controller. | |
| SVTK_ControllerIncrement * | ControllerIncrement () |
| To get current increment controller. | |
| virtual void | OnKeyDown () |
| Redefine vtkInteractorStyle.OnKeyDown. | |
| void | ActionPicking () |
| Provide instructions for Picking. | |
| void | SetControllerOnKeyDown (SVTK_ControllerOnKeyDown *) |
| To set current OnKeyDown controller. | |
| SVTK_ControllerOnKeyDown * | ControllerOnKeyDown () |
| To get current OnKeyDown controller. | |
| SVTK_Selector * | GetSelector () |
| int | CurrentState () const |
| void | SetAdvancedZoomingEnabled (const bool theState) |
| bool | IsAdvancedZoomingEnabled () const |
Static Public Member Functions | |
| static SVTK_KeyFreeInteractorStyle * | New () |
Protected Member Functions | |
| SVTK_KeyFreeInteractorStyle () | |
| ~SVTK_KeyFreeInteractorStyle () | |
| SVTK_KeyFreeInteractorStyle (const SVTK_KeyFreeInteractorStyle &) | |
| void | operator= (const SVTK_KeyFreeInteractorStyle &) |
| virtual void | OnLeftButtonDown (int ctrl, int shift, int x, int y) |
| Redefine SVTK_InteractorStyle.OnLeftButtonDown. | |
| virtual void | OnMiddleButtonDown (int ctrl, int shift, int x, int y) |
| Redefine SVTK_InteractorStyle.OnMiddleButtonDown. | |
| virtual void | OnLeftButtonUp (int ctrl, int shift, int x, int y) |
| Redefine SVTK_InteractorStyle.OnLeftButtonUp. | |
| virtual void | OnMiddleButtonUp (int ctrl, int shift, int x, int y) |
| Redefine SVTK_InteractorStyle.OnMiddleButtonUp. | |
| virtual void | OnChar () |
| Redefine SVTK_InteractorStyle.OnChar. | |
| virtual void | OnMouseMove (int ctrl, int shift, int x, int y) |
| virtual void | OnRightButtonDown (int ctrl, int shift, int x, int y) |
| virtual void | OnRightButtonUp (int ctrl, int shift, int x, int y) |
| 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. | |
Static Protected Member Functions | |
| static void | ProcessEvents (vtkObject *object, unsigned long event, void *clientData, void *callData) |
Protected Attributes | |
| bool | myIsMidButtonDown |
| bool | myIsLeftButtonDown |
| 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 | |
| vtkSmartPointer < SVTK_ControllerOnKeyDown > | myControllerOnKeyDown |
| controls the behaviour of KeyDown event in SALOME way | |
| 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 |
| vtkFloatingPointType | myBBCenter [3] |
| bool | myBBFirstCheck |
| QRubberBand * | myRectBand |
| selection rectangle rubber band | |
| bool | myIsAdvancedZoomingEnabled |
typedef boost::shared_ptr<SVTK_SelectionEvent> SVTK_InteractorStyle.PSelectionEvent [inherited] |
| SVTK_KeyFreeInteractorStyle::SVTK_KeyFreeInteractorStyle | ( | ) | [protected] |
| SVTK_KeyFreeInteractorStyle::~SVTK_KeyFreeInteractorStyle | ( | ) | [protected] |
| SVTK_KeyFreeInteractorStyle.SVTK_KeyFreeInteractorStyle | ( | const SVTK_KeyFreeInteractorStyle & | ) | [protected] |
| static SVTK_KeyFreeInteractorStyle* SVTK_KeyFreeInteractorStyle.New | ( | ) | [static] |
Reimplemented from SVTK_InteractorStyle.
| SVTK_KeyFreeInteractorStyle.vtkTypeMacro | ( | SVTK_KeyFreeInteractorStyle | , |
| SVTK_InteractorStyle | |||
| ) |
| void SVTK_KeyFreeInteractorStyle.operator= | ( | const SVTK_KeyFreeInteractorStyle & | ) | [protected] |
| void SVTK_KeyFreeInteractorStyle::OnLeftButtonDown | ( | int | ctrl, |
| int | shift, | ||
| int | x, | ||
| int | y | ||
| ) | [protected, virtual] |
Reimplemented from SVTK_InteractorStyle.
References SVTK_InteractorStyle.ForcedState, myIsLeftButtonDown, myIsMidButtonDown, SVTK_InteractorStyle.myOtherPoint, SVTK_InteractorStyle.myPoint, SVTK_InteractorStyle.myShiftState, SVTK_InteractorStyle.onFinishOperation(), SVTK_InteractorStyle.startOperation(), VTK_INTERACTOR_STYLE_CAMERA_NONE, VTK_INTERACTOR_STYLE_CAMERA_ROTATE, and VTK_INTERACTOR_STYLE_CAMERA_ZOOM.
| void SVTK_KeyFreeInteractorStyle::OnMiddleButtonDown | ( | int | ctrl, |
| int | shift, | ||
| int | x, | ||
| int | y | ||
| ) | [protected, virtual] |
Reimplemented from SVTK_InteractorStyle.
References SVTK_InteractorStyle.ForcedState, myIsLeftButtonDown, myIsMidButtonDown, SVTK_InteractorStyle.myOtherPoint, SVTK_InteractorStyle.myPoint, SVTK_InteractorStyle.myShiftState, SVTK_InteractorStyle.onFinishOperation(), SVTK_InteractorStyle.startOperation(), VTK_INTERACTOR_STYLE_CAMERA_NONE, VTK_INTERACTOR_STYLE_CAMERA_PAN, and VTK_INTERACTOR_STYLE_CAMERA_ZOOM.
| void SVTK_KeyFreeInteractorStyle::OnLeftButtonUp | ( | int | ctrl, |
| int | shift, | ||
| int | x, | ||
| int | y | ||
| ) | [protected, virtual] |
Reimplemented from SVTK_InteractorStyle.
References myIsLeftButtonDown, myIsMidButtonDown, SVTK_InteractorStyle.OnLeftButtonUp(), and SVTK_InteractorStyle.OnMiddleButtonDown().
| void SVTK_KeyFreeInteractorStyle::OnMiddleButtonUp | ( | int | ctrl, |
| int | shift, | ||
| int | x, | ||
| int | y | ||
| ) | [protected, virtual] |
Reimplemented from SVTK_InteractorStyle.
References myIsLeftButtonDown, myIsMidButtonDown, SVTK_InteractorStyle.OnLeftButtonDown(), and SVTK_InteractorStyle.OnMiddleButtonUp().
| void SVTK_KeyFreeInteractorStyle::OnChar | ( | ) | [protected, virtual] |
Reimplemented from SVTK_InteractorStyle.
References SVTK_InteractorStyle.ActionPicking().
| SVTK_InteractorStyle.vtkTypeMacro | ( | SVTK_InteractorStyle | , |
| vtkInteractorStyle | |||
| ) | [inherited] |
| void SVTK_InteractorStyle.SetTDxStyle | ( | vtkTDxInteractorStyle * | ) | [inherited] |
| SVTK_SelectionEvent * SVTK_InteractorStyle::GetSelectionEvent | ( | ) | [virtual, inherited] |
Generate special SVTK_SelectionEvent
References SVTK_InteractorStyle.GetSelector(), SVTK_InteractorStyle.mySelectionEvent, and SVTK_Selector.SelectionMode().
| SVTK_SelectionEvent * SVTK_InteractorStyle::GetSelectionEventFlipY | ( | ) | [virtual, inherited] |
Generate special SVTK_SelectionEvent with flipped Y coordinate
References SVTK_InteractorStyle.GetSelector(), SVTK_InteractorStyle.mySelectionEvent, and SVTK_Selector.SelectionMode().
| void SVTK_InteractorStyle::SetInteractor | ( | vtkRenderWindowInteractor * | theInteractor | ) | [virtual, inherited] |
Redefined in order to add an observer (callback) for custorm event (space mouse event)
References SVTK.ChangeRotationPoint, SVTK.MinusSpeedIncrementEvent, SVTK_InteractorStyle.myInteractor, SVTK.PanDownEvent, SVTK.PanLeftEvent, SVTK.PanRightEvent, SVTK.PanUpEvent, SVTK.PlusSpeedIncrementEvent, SVTK.RotateDownEvent, SVTK.RotateLeftEvent, SVTK.RotateRightEvent, SVTK.RotateUpEvent, SVTK.SetFocalPointGravity, SVTK.SetFocalPointSelected, SVTK.SetRotateGravity, SVTK.SetSMDecreaseSpeedEvent, SVTK.SetSMDominantCombinedSwitchEvent, SVTK.SetSMIncreaseSpeedEvent, SVTK.SetSpeedIncrementEvent, SVTK.SpaceMouseButtonEvent, SVTK.SpaceMouseMoveEvent, SVTK.StartFitArea, SVTK.StartFocalPointSelection, SVTK.StartGlobalPan, SVTK.StartPan, SVTK.StartPointSelection, SVTK.StartRotate, SVTK.StartZoom, SVTK.ZoomInEvent, and SVTK.ZoomOutEvent.
| void SVTK_InteractorStyle::Render | ( | ) | [virtual, inherited] |
To invoke #vtkRenderWindowInteractor::CreateTimer
| void SVTK_InteractorStyle::OnTimer | ( | ) | [virtual, inherited] |
To implement cached rendering
References SVTK.BBCenterChanged, ComputeBBCenter(), SVTK_InteractorStyle.myBBCenter, and SVTK_InteractorStyle.myBBFirstCheck.
| void SVTK_InteractorStyle::OnConfigure | ( | ) | [virtual, inherited] |
To reset reset view
| void SVTK_InteractorStyle::OnMouseMove | ( | ) | [virtual, inherited] |
To handle mouse move event
| virtual void SVTK_InteractorStyle.OnMouseMove | ( | int | ctrl, |
| int | shift, | ||
| int | x, | ||
| int | y | ||
| ) | [protected, virtual, inherited] |
| void SVTK_InteractorStyle::OnLeftButtonDown | ( | ) | [virtual, inherited] |
To handle left mouse button down event (reimplemented from vtkInteractorStyle)
| void SVTK_InteractorStyle::OnLeftButtonUp | ( | ) | [virtual, inherited] |
To handle left mouse button up event (reimplemented from vtkInteractorStyle)
| void SVTK_InteractorStyle::OnMiddleButtonDown | ( | ) | [virtual, inherited] |
To handle middle mouse button down event (reimplemented from vtkInteractorStyle)
| void SVTK_InteractorStyle::OnMiddleButtonUp | ( | ) | [virtual, inherited] |
To handle middle mouse button up event (reimplemented from vtkInteractorStyle)
| void SVTK_InteractorStyle::OnRightButtonDown | ( | ) | [virtual, inherited] |
To handle right mouse button down event (reimplemented from vtkInteractorStyle)
| void SVTK_InteractorStyle::OnRightButtonDown | ( | int | ctrl, |
| int | shift, | ||
| int | x, | ||
| int | y | ||
| ) | [protected, virtual, inherited] |
To handle right mouse button down event (reimplemented from vtkInteractorStyle)
References SVTK_InteractorStyle.ForcedState, SVTK_InteractorStyle.myOtherPoint, SVTK_InteractorStyle.myPoint, SVTK_InteractorStyle.myShiftState, SVTK_InteractorStyle.onFinishOperation(), SVTK_InteractorStyle.startOperation(), VTK_INTERACTOR_STYLE_CAMERA_NONE, and VTK_INTERACTOR_STYLE_CAMERA_ROTATE.
| void SVTK_InteractorStyle::OnRightButtonUp | ( | ) | [virtual, inherited] |
To handle right mouse button up event (reimplemented from vtkInteractorStyle)
| virtual void SVTK_InteractorStyle.OnRightButtonUp | ( | int | ctrl, |
| int | shift, | ||
| int | x, | ||
| int | y | ||
| ) | [protected, virtual, inherited] |
| void SVTK_InteractorStyle::OnMouseWheelForward | ( | ) | [virtual, inherited] |
References SVTK_InteractorStyle.myOtherPoint.
| void SVTK_InteractorStyle::OnMouseWheelBackward | ( | ) | [virtual, inherited] |
References SVTK_InteractorStyle.myOtherPoint.
| void SVTK_InteractorStyle::SetControllerIncrement | ( | SVTK_ControllerIncrement * | theController | ) | [inherited] |
To set current increment controller
References SVTK_InteractorStyle.myControllerIncrement.
| void SVTK_InteractorStyle::SetIncrementSpeed | ( | const int | theValue, |
| const int | theMode = 0 |
||
| ) | [inherited] |
To modify current increment controller
References test_table.c, SVTK_InteractorStyle.New(), SVTK_InteractorStyle.SetControllerIncrement(), and SVTK_ControllerIncrement.SetStartValue().
| SVTK_ControllerIncrement * SVTK_InteractorStyle::ControllerIncrement | ( | ) | [inherited] |
To get current increment controller
References SVTK_InteractorStyle.myControllerIncrement.
| void SVTK_InteractorStyle::OnKeyDown | ( | ) | [virtual, inherited] |
Redefined vtkInteractorStyle.OnKeyDown
References SVTK_InteractorStyle.myControllerOnKeyDown.
| void SVTK_InteractorStyle::ActionPicking | ( | ) | [inherited] |
Provide instructions for Picking
References SVTK_InteractorStyle.myOtherPoint, SVTK_InteractorStyle.myPoint, SVTK_InteractorStyle.onFinishOperation(), SVTK_InteractorStyle.startOperation(), VTK_INTERACTOR_STYLE_CAMERA_NONE, and VTK_INTERACTOR_STYLE_CAMERA_SELECT.
| void SVTK_InteractorStyle::SetControllerOnKeyDown | ( | SVTK_ControllerOnKeyDown * | theController | ) | [inherited] |
To set current increment controller
References SVTK_InteractorStyle.myControllerOnKeyDown.
| SVTK_ControllerOnKeyDown * SVTK_InteractorStyle::ControllerOnKeyDown | ( | ) | [inherited] |
To get current OnKeyDown controller
References SVTK_InteractorStyle.myControllerOnKeyDown.
| SVTK_Selector * SVTK_InteractorStyle::GetSelector | ( | ) | [inherited] |
References SVTK_InteractorStyle.myInteractor.
| int SVTK_InteractorStyle.CurrentState | ( | ) | const [inherited] |
| void SVTK_InteractorStyle.SetAdvancedZoomingEnabled | ( | const bool | theState | ) | [inherited] |
| bool SVTK_InteractorStyle.IsAdvancedZoomingEnabled | ( | ) | const [inherited] |
| QWidget * SVTK_InteractorStyle::GetRenderWidget | ( | ) | [protected, inherited] |
References SVTK_InteractorStyle.myInteractor.
| void SVTK_InteractorStyle::RotateXY | ( | int | dx, |
| int | dy | ||
| ) | [protected, inherited] |
References ComputeBBCenter(), SVTK_InteractorStyle.MotionFactor, SVTK_InteractorStyle.myCurrRotationPointType, SVTK_InteractorStyle.myRotationPointX, SVTK_InteractorStyle.myRotationPointY, SVTK_InteractorStyle.myRotationPointZ, SVTK_InteractorStyle.New(), SVTK_InteractorStyle.Render(), and SVTK.SetRotateGravity.
| void SVTK_InteractorStyle::PanXY | ( | int | x, |
| int | y, | ||
| int | oldX, | ||
| int | oldY | ||
| ) | [protected, inherited] |
References SVTK_InteractorStyle.Render(), and SVTK_InteractorStyle.TranslateView().
| void SVTK_InteractorStyle::DollyXY | ( | int | dx, |
| int | dy | ||
| ) | [protected, inherited] |
| void SVTK_InteractorStyle::SpinXY | ( | int | dx, |
| int | dy, | ||
| int | oldX, | ||
| int | oldY | ||
| ) | [protected, inherited] |
References SVTK_InteractorStyle.RadianToDegree, and SVTK_InteractorStyle.Render().
| void SVTK_InteractorStyle::fitRect | ( | const int | left, |
| const int | top, | ||
| const int | right, | ||
| const int | bottom | ||
| ) | [protected, inherited] |
Fits viewer contents to rect
References SVTK_InteractorStyle.Render(), and SVTK_InteractorStyle.TranslateView().
| void SVTK_InteractorStyle::Place | ( | const int | theX, |
| const int | theY | ||
| ) | [protected, inherited] |
Called on finsh GlobalPan operation
References SVTK_InteractorStyle.myScale, SVTK_InteractorStyle.Render(), and SVTK_InteractorStyle.TranslateView().
| void SVTK_InteractorStyle::TranslateView | ( | int | toX, |
| int | toY, | ||
| int | fromX, | ||
| int | fromY | ||
| ) | [protected, inherited] |
Translates view from Point to Point
| void SVTK_InteractorStyle::IncrementalPan | ( | const int | incrX, |
| const int | incrY | ||
| ) | [protected, inherited] |
References SVTK_InteractorStyle.PanXY().
| void SVTK_InteractorStyle::IncrementalZoom | ( | const int | incr | ) | [protected, inherited] |
References SVTK_InteractorStyle.DollyXY().
| void SVTK_InteractorStyle::IncrementalRotate | ( | const int | incrX, |
| const int | incrY | ||
| ) | [protected, inherited] |
References SVTK_InteractorStyle.RotateXY().
| void SVTK_InteractorStyle::ProcessEvents | ( | vtkObject * | object, |
| unsigned long | event, | ||
| void * | clientData, | ||
| void * | callData | ||
| ) | [static, protected, inherited] |
Main process event method (reimplemented from vtkInteractorStyle)
References SVTK.BBCenterChanged, SVTK.ChangeRotationPoint, ComputeBBCenter(), SVTK_InteractorStyle.ControllerIncrement(), SVTK_ControllerIncrement.Current(), SVTK.FocalPointChanged, SVTK.MinusSpeedIncrementEvent, SVTK.PanDownEvent, SVTK.PanLeftEvent, SVTK.PanRightEvent, SVTK.PanUpEvent, SVTK.PlusSpeedIncrementEvent, SVTK.RotateDownEvent, SVTK.RotateLeftEvent, SVTK.RotateRightEvent, SVTK.RotateUpEvent, SVTK.SetFocalPointGravity, SVTK.SetFocalPointSelected, SVTK.SetRotateGravity, SVTK.SetRotateSelected, SVTK.SetSMDecreaseSpeedEvent, SVTK.SetSMDominantCombinedSwitchEvent, SVTK.SetSMIncreaseSpeedEvent, SVTK.SetSpeedIncrementEvent, SVTK.SpaceMouseButtonEvent, SVTK.SpaceMouseMoveEvent, SVTK.StartFitArea, SVTK.StartFocalPointSelection, SVTK.StartGlobalPan, SVTK.StartPan, SVTK.StartPointSelection, SVTK.StartRotate, SVTK.StartZoom, SVTK.ZoomInEvent, and SVTK.ZoomOutEvent.
| void SVTK_InteractorStyle::startZoom | ( | ) | [protected, inherited] |
Starts Zoom operation (e.g. through menu command)
References SVTK_InteractorStyle.ForcedState, SVTK_InteractorStyle.onFinishOperation(), SVTK_InteractorStyle.setCursor(), SVTK_InteractorStyle.startOperation(), VTK_INTERACTOR_STYLE_CAMERA_NONE, and VTK_INTERACTOR_STYLE_CAMERA_ZOOM.
| void SVTK_InteractorStyle::startPan | ( | ) | [protected, inherited] |
Starts Pan operation (e.g. through menu command)
References SVTK_InteractorStyle.ForcedState, SVTK_InteractorStyle.onFinishOperation(), SVTK_InteractorStyle.setCursor(), SVTK_InteractorStyle.startOperation(), VTK_INTERACTOR_STYLE_CAMERA_NONE, and VTK_INTERACTOR_STYLE_CAMERA_PAN.
| void SVTK_InteractorStyle::startGlobalPan | ( | ) | [protected, inherited] |
Starts Global Panning operation (e.g. through menu command)
References SVTK_InteractorStyle.ForcedState, SVTK_InteractorStyle.myScale, SVTK_InteractorStyle.onFinishOperation(), SVTK_InteractorStyle.Render(), SVTK_InteractorStyle.setCursor(), SVTK_InteractorStyle.startOperation(), VTK_INTERACTOR_STYLE_CAMERA_GLOBAL_PAN, and VTK_INTERACTOR_STYLE_CAMERA_NONE.
| void SVTK_InteractorStyle::startRotate | ( | ) | [protected, inherited] |
Starts Rotate operation (e.g. through menu command)
References SVTK_InteractorStyle.ForcedState, SVTK_InteractorStyle.onFinishOperation(), SVTK_InteractorStyle.setCursor(), SVTK_InteractorStyle.startOperation(), VTK_INTERACTOR_STYLE_CAMERA_NONE, and VTK_INTERACTOR_STYLE_CAMERA_ROTATE.
| void SVTK_InteractorStyle::startFitArea | ( | ) | [protected, inherited] |
Starts Fit Area operation (e.g. through menu command)
References SVTK_InteractorStyle.ForcedState, SVTK_InteractorStyle.onFinishOperation(), SVTK_InteractorStyle.setCursor(), SVTK_InteractorStyle.startOperation(), VTK_INTERACTOR_STYLE_CAMERA_FIT, and VTK_INTERACTOR_STYLE_CAMERA_NONE.
| void SVTK_InteractorStyle::startSpin | ( | ) | [protected, inherited] |
Starts Spin operation (e.g. through menu command)
References SVTK_InteractorStyle.ForcedState, SVTK_InteractorStyle.onFinishOperation(), SVTK_InteractorStyle.setCursor(), SVTK_InteractorStyle.startOperation(), VTK_INTERACTOR_STYLE_CAMERA_NONE, and VTK_INTERACTOR_STYLE_CAMERA_SPIN.
| void SVTK_InteractorStyle::startPointSelection | ( | ) | [protected, inherited] |
Set rotation point selected by user
References SVTK_InteractorStyle.myCurrRotationPointType, SVTK_InteractorStyle.myHighlightSelectionPointActor, SVTK_InteractorStyle.setCursor(), SVTK.StartPointSelection, and VTK_INTERACTOR_STYLE_CAMERA_NONE.
| void SVTK_InteractorStyle::startFocalPointSelection | ( | ) | [protected, inherited] |
Set focal point selected by user
References SVTK_InteractorStyle.myCurrFocalPointType, SVTK_InteractorStyle.myHighlightSelectionPointActor, SVTK_InteractorStyle.setCursor(), SVTK.StartFocalPointSelection, and VTK_INTERACTOR_STYLE_CAMERA_NONE.
| void SVTK_InteractorStyle::loadCursors | ( | ) | [protected, inherited] |
loads cursors for viewer operations - zoom, pan, etc...
References imageRotateCursor, imageZoomCursor, SVTK_InteractorStyle.myCursorState, SVTK_InteractorStyle.myDefCursor, SVTK_InteractorStyle.myGlobalPanCursor, SVTK_InteractorStyle.myHandCursor, SVTK_InteractorStyle.myPanCursor, SVTK_InteractorStyle.myRotateCursor, SVTK_InteractorStyle.mySpinCursor, and SVTK_InteractorStyle.myZoomCursor.
| void SVTK_InteractorStyle::startOperation | ( | int | operation | ) | [protected, inherited] |
Starts viewer operation (!internal usage!)
References SVTK_InteractorStyle.ForcedState, SVTK_InteractorStyle.onStartOperation(), SVTK_InteractorStyle.setCursor(), VTK_INTERACTOR_STYLE_CAMERA_FIT, VTK_INTERACTOR_STYLE_CAMERA_GLOBAL_PAN, VTK_INTERACTOR_STYLE_CAMERA_NONE, VTK_INTERACTOR_STYLE_CAMERA_PAN, VTK_INTERACTOR_STYLE_CAMERA_ROTATE, VTK_INTERACTOR_STYLE_CAMERA_SELECT, VTK_INTERACTOR_STYLE_CAMERA_SPIN, and VTK_INTERACTOR_STYLE_CAMERA_ZOOM.
| void SVTK_InteractorStyle::onStartOperation | ( | ) | [protected, inherited] |
Called when viewer operation started (!put necessary initialization here!)
References SVTK_InteractorStyle.drawRect(), SVTK_InteractorStyle.GetRenderWidget(), VTK_INTERACTOR_STYLE_CAMERA_FIT, VTK_INTERACTOR_STYLE_CAMERA_GLOBAL_PAN, VTK_INTERACTOR_STYLE_CAMERA_PAN, VTK_INTERACTOR_STYLE_CAMERA_ROTATE, VTK_INTERACTOR_STYLE_CAMERA_SELECT, VTK_INTERACTOR_STYLE_CAMERA_SPIN, and VTK_INTERACTOR_STYLE_CAMERA_ZOOM.
| void SVTK_InteractorStyle::onFinishOperation | ( | ) | [protected, virtual, inherited] |
Called when viewer operation finished (!put necessary post-processing here!)
References SVTK_Selector.ClearIObjects(), SVTK_InteractorStyle.endDrawRect(), SVTK_Selector.EndPickCallback(), SVTK_InteractorStyle.fitRect(), VTK.ActorCollectionCopy.GetActors(), SVTK_InteractorStyle.GetRenderWidget(), SVTK_InteractorStyle.GetSelectionEventFlipY(), SVTK_InteractorStyle.GetSelector(), SVTK_SelectionEvent.myIsRectangle, SVTK_InteractorStyle.myLastHighlitedActor, SVTK_InteractorStyle.myOtherPoint, SVTK_InteractorStyle.myPoint, SVTK_InteractorStyle.myShiftState, SVTK_SelectionEvent.myX, SVTK_SelectionEvent.myY, SVTK_Selector.Pick(), SVTK_InteractorStyle.Place(), SVTK_InteractorStyle.Render(), SVTK_Selector.StartPickCallback(), VTK_INTERACTOR_STYLE_CAMERA_FIT, VTK_INTERACTOR_STYLE_CAMERA_GLOBAL_PAN, VTK_INTERACTOR_STYLE_CAMERA_PAN, VTK_INTERACTOR_STYLE_CAMERA_ROTATE, VTK_INTERACTOR_STYLE_CAMERA_SELECT, VTK_INTERACTOR_STYLE_CAMERA_SPIN, and VTK_INTERACTOR_STYLE_CAMERA_ZOOM.
| void SVTK_InteractorStyle::onOperation | ( | QPoint | mousePos | ) | [protected, inherited] |
Called during viewer operation when user moves mouse (!put necessary processing here!)
References SVTK_InteractorStyle.DollyXY(), SVTK_InteractorStyle.drawRect(), SVTK_InteractorStyle.GetRenderWidget(), SVTK_InteractorStyle.myCursorState, SVTK_InteractorStyle.myOtherPoint, SVTK_InteractorStyle.myPoint, SVTK_InteractorStyle.PanXY(), SVTK_InteractorStyle.RotateXY(), SVTK_InteractorStyle.setCursor(), SVTK_InteractorStyle.SpinXY(), VTK_INTERACTOR_STYLE_CAMERA_FIT, VTK_INTERACTOR_STYLE_CAMERA_GLOBAL_PAN, VTK_INTERACTOR_STYLE_CAMERA_PAN, VTK_INTERACTOR_STYLE_CAMERA_ROTATE, VTK_INTERACTOR_STYLE_CAMERA_SELECT, VTK_INTERACTOR_STYLE_CAMERA_SPIN, and VTK_INTERACTOR_STYLE_CAMERA_ZOOM.
| void SVTK_InteractorStyle::onCursorMove | ( | QPoint | mousePos | ) | [protected, inherited] |
Called when user moves mouse inside viewer window and there is no active viewer operation (!put necessary processing here!)
References SVTK_InteractorStyle.GetSelectionEventFlipY(), SVTK_InteractorStyle.GetSelector(), SVTK_InteractorStyle.myCurrFocalPointType, SVTK_InteractorStyle.myCurrRotationPointType, SVTK_InteractorStyle.myHighlightSelectionPointActor, SVTK_InteractorStyle.myLastPreHighlitedActor, SVTK_InteractorStyle.myPointPicker, SVTK_SelectionEvent.myX, SVTK_SelectionEvent.myY, SVTK_Selector.Pick(), SVTK_InteractorStyle.Render(), SVTK.StartFocalPointSelection, and SVTK.StartPointSelection.
| void SVTK_InteractorStyle::setCursor | ( | const int | operation | ) | [protected, inherited] |
Sets proper cursor for window when viewer operation is activated
References SVTK_InteractorStyle.GetRenderWidget(), SVTK_InteractorStyle.myCurrFocalPointType, SVTK_InteractorStyle.myCurrRotationPointType, SVTK_InteractorStyle.myCursorState, SVTK_InteractorStyle.myDefCursor, SVTK_InteractorStyle.myGlobalPanCursor, SVTK_InteractorStyle.myHandCursor, SVTK_InteractorStyle.myPanCursor, SVTK_InteractorStyle.myRotateCursor, SVTK_InteractorStyle.mySpinCursor, SVTK_InteractorStyle.myZoomCursor, SVTK.StartFocalPointSelection, SVTK.StartPointSelection, VTK_INTERACTOR_STYLE_CAMERA_FIT, VTK_INTERACTOR_STYLE_CAMERA_GLOBAL_PAN, VTK_INTERACTOR_STYLE_CAMERA_NONE, VTK_INTERACTOR_STYLE_CAMERA_PAN, VTK_INTERACTOR_STYLE_CAMERA_ROTATE, VTK_INTERACTOR_STYLE_CAMERA_SELECT, VTK_INTERACTOR_STYLE_CAMERA_SPIN, and VTK_INTERACTOR_STYLE_CAMERA_ZOOM.
| void SVTK_InteractorStyle::onSpaceMouseMove | ( | double * | data | ) | [protected, inherited] |
| void SVTK_InteractorStyle::onSpaceMouseButton | ( | int | button | ) | [protected, virtual, inherited] |
References SVTK_InteractorStyle.ControllerIncrement(), SVTK_ControllerIncrement.Decrease(), SVTK_InteractorStyle.DominantCombinedSwitch(), SVTK_ControllerIncrement.Increase(), SVTK_InteractorStyle.mySMDecreaseSpeedBtn, SVTK_InteractorStyle.mySMDominantCombinedSwitchBtn, and SVTK_InteractorStyle.mySMIncreaseSpeedBtn.
| void SVTK_InteractorStyle::DominantCombinedSwitch | ( | ) | [protected, inherited] |
| void SVTK_InteractorStyle::drawRect | ( | ) | [protected, inherited] |
Draws rectangle by starting and current points
References SVTK_InteractorStyle.GetRenderWidget(), SUIT_Tools.makeRect(), SVTK_InteractorStyle.myOtherPoint, SVTK_InteractorStyle.myPoint, SVTK_InteractorStyle.myRectBand, and Plot2d.Rectangle.
| void SVTK_InteractorStyle::endDrawRect | ( | ) | [protected, inherited] |
References SVTK_InteractorStyle.myRectBand.
bool SVTK_KeyFreeInteractorStyle.myIsMidButtonDown [protected] |
bool SVTK_KeyFreeInteractorStyle.myIsLeftButtonDown [protected] |
float SVTK_InteractorStyle.MotionFactor [protected, inherited] |
float SVTK_InteractorStyle.RadianToDegree [protected, inherited] |
double SVTK_InteractorStyle.myScale [protected, inherited] |
QCursor SVTK_InteractorStyle.myDefCursor [protected, inherited] |
QCursor SVTK_InteractorStyle.myPanCursor [protected, inherited] |
QCursor SVTK_InteractorStyle.myZoomCursor [protected, inherited] |
QCursor SVTK_InteractorStyle.myRotateCursor [protected, inherited] |
QCursor SVTK_InteractorStyle.mySpinCursor [protected, inherited] |
QCursor SVTK_InteractorStyle.myHandCursor [protected, inherited] |
QCursor SVTK_InteractorStyle.myGlobalPanCursor [protected, inherited] |
QPoint SVTK_InteractorStyle.myPoint [protected, inherited] |
QPoint SVTK_InteractorStyle.myOtherPoint [protected, inherited] |
bool SVTK_InteractorStyle.myCursorState [protected, inherited] |
bool SVTK_InteractorStyle.myShiftState [protected, inherited] |
int SVTK_InteractorStyle.ForcedState [protected, inherited] |
vtkSmartPointer<SALOME_Actor> SVTK_InteractorStyle.myLastHighlitedActor [protected, inherited] |
vtkSmartPointer<SALOME_Actor> SVTK_InteractorStyle.myLastPreHighlitedActor [protected, inherited] |
vtkSmartPointer<SVTK_ControllerIncrement> SVTK_InteractorStyle.myControllerIncrement [protected, inherited] |
vtkSmartPointer<SVTK_ControllerOnKeyDown> SVTK_InteractorStyle.myControllerOnKeyDown [protected, inherited] |
int SVTK_InteractorStyle.mySMDecreaseSpeedBtn [protected, inherited] |
int SVTK_InteractorStyle.mySMIncreaseSpeedBtn [protected, inherited] |
int SVTK_InteractorStyle.mySMDominantCombinedSwitchBtn [protected, inherited] |
vtkSmartPointer<SVTK_GenericRenderWindowInteractor> SVTK_InteractorStyle.myInteractor [protected, inherited] |
PSelectionEvent SVTK_InteractorStyle.mySelectionEvent [protected, inherited] |
unsigned long SVTK_InteractorStyle.myCurrRotationPointType [protected, inherited] |
unsigned long SVTK_InteractorStyle.myPrevRotationPointType [protected, inherited] |
unsigned long SVTK_InteractorStyle.myCurrFocalPointType [protected, inherited] |
unsigned long SVTK_InteractorStyle.myPrevFocalPointType [protected, inherited] |
double SVTK_InteractorStyle.myRotationPointX [protected, inherited] |
double SVTK_InteractorStyle.myRotationPointY [protected, inherited] |
double SVTK_InteractorStyle.myRotationPointZ [protected, inherited] |
vtkSmartPointer<SVTK_Actor> SVTK_InteractorStyle.myHighlightSelectionPointActor [protected, inherited] |
vtkSmartPointer<vtkPointPicker> SVTK_InteractorStyle.myPointPicker [protected, inherited] |
vtkFloatingPointType SVTK_InteractorStyle.myBBCenter[3] [protected, inherited] |
bool SVTK_InteractorStyle.myBBFirstCheck [protected, inherited] |
QRubberBand* SVTK_InteractorStyle.myRectBand [protected, inherited] |
bool SVTK_InteractorStyle.myIsAdvancedZoomingEnabled [protected, inherited] |