![]() |
Slicer 5.9
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 |
![]() | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual bool | DelegateInteractionEventToDisplayableManagers (unsigned long event) |
bool | DelegateInteractionEventToDisplayableManagers (vtkEventData *inputEventData) override |
virtual vtkMRMLCameraNode * | GetCameraNode () |
Get/Set the CameraNode. | |
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 | SetDisplayableManagers (vtkMRMLDisplayableManagerGroup *displayableManagers) override |
void | SetInteractor (vtkRenderWindowInteractor *interactor) override |
Reimplemented to set the default interactive update rate. | |
![]() | |
virtual bool | DelegateInteractionEventDataToDisplayableManagers (vtkMRMLInteractionEventData *eventData) |
virtual vtkRenderWindowInteractor * | GetInteractor () |
virtual void | OnButton3D (vtkEventData *eventData) |
3D event bindings | |
virtual void | OnChar () |
Keyboard functions. | |
virtual void | OnConfigure () |
virtual void | OnEndPan () |
virtual void | OnEndPinch () |
virtual void | OnEndRotate () |
virtual void | OnEnter () |
virtual void | OnExpose () |
virtual void | OnKeyPress () |
virtual void | OnKeyRelease () |
virtual void | OnLeftButtonDoubleClick () |
virtual void | OnLeftButtonDown () |
virtual void | OnLeftButtonUp () |
virtual void | OnLongTap () |
virtual void | OnMiddleButtonDoubleClick () |
virtual void | OnMiddleButtonDown () |
virtual void | OnMiddleButtonUp () |
virtual void | OnMouseMove () |
Mouse functions. | |
virtual void | OnMouseWheelBackward () |
virtual void | OnMouseWheelForward () |
virtual void | OnMove3D (vtkEventData *eventData) |
virtual void | OnPan () |
virtual void | OnPinch () |
virtual void | OnRightButtonDoubleClick () |
virtual void | OnRightButtonDown () |
virtual void | OnRightButtonUp () |
virtual void | OnRotate () |
virtual void | OnStartPan () |
virtual void | OnStartPinch () |
virtual void | OnStartRotate () |
virtual void | OnTap () |
void | PrintSelf (ostream &os, vtkIndent indent) override |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkMRMLThreeDViewInteractorStyle * | New () |
static vtkMRMLThreeDViewInteractorStyle * | SafeDownCast (vtkObject *o) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkMRMLViewInteractorStyle * | New () |
static vtkMRMLViewInteractorStyle * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
void | ProcessDisplayableManagerEvents (vtkMRMLAbstractDisplayableManager *displayableManager, unsigned long event, void *callData) override |
bool | QuickPick (int x, int y, double pickPoint[3]) |
vtkMRMLThreeDViewInteractorStyle () | |
~vtkMRMLThreeDViewInteractorStyle () override | |
![]() | |
vtkInteractorStyle * | GetInteractorStyle () |
void | SetMouseCursor (int cursor) |
vtkMRMLViewInteractorStyle () | |
~vtkMRMLViewInteractorStyle () override | |
Protected Attributes | |
vtkSmartPointer< vtkCellPicker > | AccuratePicker |
vtkMRMLCameraNode * | CameraNode |
vtkSmartPointer< vtkWorldPointPicker > | QuickPicker |
vtkSmartPointer< vtkVolumePicker > | QuickVolumePicker |
![]() | |
vtkCallbackCommand * | DisplayableManagerCallbackCommand |
vtkWeakPointer< vtkMRMLDisplayableManagerGroup > | DisplayableManagers |
vtkCallbackCommand * | EventCallbackCommand |
vtkMRMLAbstractDisplayableManager * | FocusedDisplayableManager |
vtkRenderWindowInteractor * | Interactor {nullptr} |
bool | MouseMovedSinceButtonDown |
Additional Inherited Members | |
![]() | |
static void | CustomProcessEvents (vtkObject *object, unsigned long event, void *clientdata, void *calldata) |
static void | DisplayableManagerCallback (vtkObject *object, unsigned long event, void *clientData, void *callData) |
static void | ProcessEvents (vtkObject *object, unsigned long event, void *clientdata, void *calldata) |
Process events not already delegated to displayable managers by CustomProcessEvents(). | |
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 |
Give a chance to displayable managers to process the event. Return true if the event is processed.
Reimplemented from vtkMRMLViewInteractorStyle.
|
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 |
|
overridevirtual |
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
Reimplemented from vtkMRMLViewInteractorStyle.
|
override |
|
overrideprotectedvirtual |
Reimplemented from vtkMRMLViewInteractorStyle.
|
protected |
|
static |
|
virtual |
|
overridevirtual |
Reimplemented from vtkMRMLViewInteractorStyle.
|
overridevirtual |
Reimplemented to set the default interactive update rate.
Reimplemented from vtkMRMLViewInteractorStyle.
|
protected |
Definition at line 93 of file vtkMRMLThreeDViewInteractorStyle.h.
|
protected |
Definition at line 89 of file vtkMRMLThreeDViewInteractorStyle.h.
|
protected |
Definition at line 95 of file vtkMRMLThreeDViewInteractorStyle.h.
|
protected |
Definition at line 97 of file vtkMRMLThreeDViewInteractorStyle.h.