Slicer
5.3
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
Interactive manipulation of the camera. More...
#include <Libs/MRML/DisplayableManager/vtkMRMLThreeDViewInteractorStyle.h>
Public Types | |
typedef vtkMRMLViewInteractorStyle | Superclass |
Public Types inherited from vtkMRMLViewInteractorStyle | |
typedef vtkInteractorStyle3D | Superclass |
Public Member Functions | |
virtual bool | DelegateInteractionEventToDisplayableManagers (unsigned long event) |
virtual bool | DelegateInteractionEventToDisplayableManagers (vtkEventData *inputEventData) |
bool | DelegateInteractionEventToDisplayableManagers (vtkEventData *inputEventData) override |
virtual vtkMRMLCameraNode * | GetCameraNode () |
Get/Set the CameraNode More... | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | OnLeave () override |
void | PrintSelf (ostream &os, vtkIndent indent) override |
virtual void | SetCameraNode (vtkMRMLCameraNode *) |
void | SetInteractor (vtkRenderWindowInteractor *interactor) override |
Reimplemented to set the default interactive update rate More... | |
Public Member Functions inherited from vtkMRMLViewInteractorStyle | |
virtual bool | DelegateInteractionEventDataToDisplayableManagers (vtkMRMLInteractionEventData *eventData) |
virtual bool | DelegateInteractionEventToDisplayableManagers (unsigned long event) |
void | OnButton3D (vtkEventData *eventData) override |
3D event bindings More... | |
void | OnChar () override |
Keyboard functions. More... | |
void | OnConfigure () override |
void | OnEnter () override |
void | OnExpose () override |
void | OnKeyPress () override |
void | OnKeyRelease () override |
void | OnLeave () override |
void | OnLeftButtonDown () override |
void | OnLeftButtonUp () override |
void | OnLongTap () override |
void | OnMiddleButtonDown () override |
void | OnMiddleButtonUp () override |
void | OnMouseMove () override |
void | OnMouseWheelBackward () override |
void | OnMouseWheelForward () override |
void | OnMove3D (vtkEventData *eventData) override |
void | OnPan () override |
void | OnPinch () override |
void | OnRightButtonDown () override |
void | OnRightButtonUp () override |
void | OnRotate () override |
void | OnTap () override |
void | PrintSelf (ostream &os, vtkIndent indent) override |
void | SetDisplayableManagers (vtkMRMLDisplayableManagerGroup *displayableManagers) |
void | SetInteractor (vtkRenderWindowInteractor *interactor) override |
Reimplemented to set additional observers More... | |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkMRMLThreeDViewInteractorStyle * | New () |
static vtkMRMLThreeDViewInteractorStyle * | SafeDownCast (vtkObject *o) |
Static Public Member Functions inherited from vtkMRMLViewInteractorStyle | |
static int | IsTypeOf (const char *type) |
static vtkMRMLViewInteractorStyle * | New () |
static vtkMRMLViewInteractorStyle * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
bool | QuickPick (int x, int y, double pickPoint[3]) |
vtkMRMLThreeDViewInteractorStyle () | |
~vtkMRMLThreeDViewInteractorStyle () override | |
Protected Member Functions inherited from vtkMRMLViewInteractorStyle | |
void | SetMouseCursor (int cursor) |
vtkMRMLViewInteractorStyle () | |
~vtkMRMLViewInteractorStyle () override | |
Protected Attributes | |
vtkSmartPointer< vtkCellPicker > | AccuratePicker |
vtkMRMLCameraNode * | CameraNode |
vtkSmartPointer< vtkWorldPointPicker > | QuickPicker |
vtkSmartPointer< vtkVolumePicker > | QuickVolumePicker |
Protected Attributes inherited from vtkMRMLViewInteractorStyle | |
vtkSmartPointer< vtkTimerLog > | ClickTimer |
Measures time elapsed since first button press. More... | |
vtkWeakPointer< vtkMRMLDisplayableManagerGroup > | DisplayableManagers |
double | DoubleClickIntervalTimeSec |
vtkMRMLAbstractDisplayableManager * | FocusedDisplayableManager |
bool | MouseMovedSinceButtonDown |
int | NumberOfClicks |
Additional Inherited Members | |
Static Protected Member Functions inherited from vtkMRMLViewInteractorStyle | |
static void | CustomProcessEvents (vtkObject *object, unsigned long event, void *clientdata, void *calldata) |
Interactive manipulation of the camera.
This class is based on vtkInteractorStyleTrackballCamera, but includes extra features and event invocations to support extra features of slicer.
vtkInteractorStyleTrackballCamera allows the user to interactively manipulate (rotate, pan, etc.) the camera, the viewpoint of the scene. In trackball interaction, the magnitude of the mouse motion is proportional to the camera motion associated with a particular mouse binding. For example, small left-button motions cause small changes in the rotation of the camera around its focal point. For a 3-button mouse, the left button is for rotation, the right button for zooming, the middle button for panning, and ctrl + left button for spinning. (With fewer mouse buttons, ctrl + shift + left button is for zooming, and shift + left button is for panning.)
Definition at line 51 of file vtkMRMLThreeDViewInteractorStyle.h.
Definition at line 56 of file vtkMRMLThreeDViewInteractorStyle.h.
|
protected |
|
overrideprotected |
virtual bool vtkMRMLViewInteractorStyle::DelegateInteractionEventToDisplayableManagers |
Give a chance to displayable managers to process the event. Return true if the event is processed.
virtual bool vtkMRMLViewInteractorStyle::DelegateInteractionEventToDisplayableManagers |
Give a chance to displayable managers to process the event. Return true if the event is processed.
|
overridevirtual |
Give a chance to displayable managers to process the event. It just creates vtkMRMLInteractionEventData and calls DelegateInteractionEventDataToDisplayableManagers. Return true if the event is processed.
Reimplemented from vtkMRMLViewInteractorStyle.
|
virtual |
Get/Set the CameraNode
|
virtual |
Reimplemented from vtkMRMLViewInteractorStyle.
|
virtual |
Reimplemented from vtkMRMLViewInteractorStyle.
|
static |
|
static |
|
override |
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
|
override |
|
protected |
|
static |
|
virtual |
|
override |
Reimplemented to set the default interactive update rate
|
protected |
Definition at line 88 of file vtkMRMLThreeDViewInteractorStyle.h.
|
protected |
Definition at line 84 of file vtkMRMLThreeDViewInteractorStyle.h.
|
protected |
Definition at line 90 of file vtkMRMLThreeDViewInteractorStyle.h.
|
protected |
Definition at line 92 of file vtkMRMLThreeDViewInteractorStyle.h.