vtkSlicerViewerInteractorStyle Class Reference
#include <vtkSlicerViewerInteractorStyle.h>
List of all members.
Public Types |
| enum | { PickEvent,
PlaceEvent,
SelectRegionEvent,
PlotEvent
} |
Public Member Functions |
| virtual void | Dolly (double factor) |
| virtual void | Dolly () |
| virtual void | OnEnter () |
| virtual void | OnExpose () |
| virtual void | OnLeave () |
| virtual void | OnLeftButtonDown () |
| virtual void | OnLeftButtonUp () |
| virtual void | OnMiddleButtonDown () |
| virtual void | OnMiddleButtonUp () |
| virtual void | OnMouseMove () |
| virtual void | OnMouseWheelBackward () |
| virtual void | OnMouseWheelForward () |
| virtual void | OnRightButtonDown () |
| virtual void | OnRightButtonUp () |
| virtual void | Pan () |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| virtual void | Rotate () |
| virtual void | SetViewerWidget (vtkSlicerViewerWidget *viewerWidget) |
| virtual void | Spin () |
| | vtkGetMacro (NumberOfTransientPlaces, int) |
| | vtkGetMacro (NumberOfPlaces, int) |
| | vtkGetMacro (NumberOfTransientPicks, int) |
| | vtkGetMacro (NumberOfPicks, int) |
| | vtkGetObjectMacro (ViewerWidget, vtkSlicerViewerWidget) |
| | vtkGetObjectMacro (CameraNode, vtkMRMLCameraNode) |
| | vtkGetObjectMacro (ApplicationLogic, vtkSlicerApplicationLogic) |
| | vtkSetObjectMacro (CameraNode, vtkMRMLCameraNode) |
| | vtkSetObjectMacro (ApplicationLogic, vtkSlicerApplicationLogic) |
| | vtkTypeRevisionMacro (vtkSlicerViewerInteractorStyle, vtkInteractorStyle) |
Static Public Member Functions |
static
vtkSlicerViewerInteractorStyle * | New () |
Protected Member Functions |
| | vtkSlicerViewerInteractorStyle () |
| | ~vtkSlicerViewerInteractorStyle () |
Protected Attributes |
| vtkSlicerApplicationLogic * | ApplicationLogic |
| vtkMRMLCameraNode * | CameraNode |
| double | MotionFactor |
| int | NumberOfPicks |
| int | NumberOfPlaces |
| int | NumberOfTransientPicks |
| int | NumberOfTransientPlaces |
| vtkSlicerViewerWidget * | ViewerWidget |
Private Member Functions |
| void | operator= (const vtkSlicerViewerInteractorStyle &) |
| | Not implemented.
|
| | vtkSlicerViewerInteractorStyle (const vtkSlicerViewerInteractorStyle &) |
Member Enumeration Documentation
Events
- Enumerator:
| PickEvent |
|
| PlaceEvent |
|
| SelectRegionEvent |
|
| PlotEvent |
|
Constructor & Destructor Documentation
| vtkSlicerViewerInteractorStyle::vtkSlicerViewerInteractorStyle |
( |
|
) |
[protected] |
| vtkSlicerViewerInteractorStyle::~vtkSlicerViewerInteractorStyle |
( |
|
) |
[protected] |
Member Function Documentation
| void vtkSlicerViewerInteractorStyle::Dolly |
( |
double |
factor |
) |
[virtual] |
| void vtkSlicerViewerInteractorStyle::Dolly |
( |
|
) |
[virtual] |
| void vtkSlicerViewerInteractorStyle::OnEnter |
( |
|
) |
[virtual] |
| void vtkSlicerViewerInteractorStyle::OnExpose |
( |
|
) |
[virtual] |
| void vtkSlicerViewerInteractorStyle::OnLeave |
( |
|
) |
[virtual] |
| void vtkSlicerViewerInteractorStyle::OnLeftButtonDown |
( |
|
) |
[virtual] |
| void vtkSlicerViewerInteractorStyle::OnLeftButtonUp |
( |
|
) |
[virtual] |
| void vtkSlicerViewerInteractorStyle::OnMiddleButtonDown |
( |
|
) |
[virtual] |
| void vtkSlicerViewerInteractorStyle::OnMiddleButtonUp |
( |
|
) |
[virtual] |
| void vtkSlicerViewerInteractorStyle::OnMouseMove |
( |
|
) |
[virtual] |
| void vtkSlicerViewerInteractorStyle::OnMouseWheelBackward |
( |
|
) |
[virtual] |
| void vtkSlicerViewerInteractorStyle::OnMouseWheelForward |
( |
|
) |
[virtual] |
| void vtkSlicerViewerInteractorStyle::OnRightButtonDown |
( |
|
) |
[virtual] |
| void vtkSlicerViewerInteractorStyle::OnRightButtonUp |
( |
|
) |
[virtual] |
| void vtkSlicerViewerInteractorStyle::Pan |
( |
|
) |
[virtual] |
| void vtkSlicerViewerInteractorStyle::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent | |
|
) |
| | |
| void vtkSlicerViewerInteractorStyle::Rotate |
( |
|
) |
[virtual] |
These methods for the different interactions in different modes are overridden in subclasses to perform the correct motion. Since they are called by OnTimer, they do not have mouse coord parameters (use interactor's GetEventPosition and GetLastEventPosition)
References CameraNode, double(), MotionFactor, and slicerget::size.
Referenced by OnMouseMove().
| void vtkSlicerViewerInteractorStyle::Spin |
( |
|
) |
[virtual] |
Get/Set the main slicer viewer widget, for picking
Member Data Documentation
A pointer back to the viewer widget, useful for picking
Referenced by SetViewerWidget().
The documentation for this class was generated from the following files: