|
Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
Common base class for processing interaction events in MRML views. More...
#include <Libs/MRML/DisplayableManager/vtkMRMLViewInteractorStyle.h>


Public Types | |
| typedef vtkObject | Superclass |
Public Member Functions | |
| virtual bool | DelegateInteractionEventDataToDisplayableManagers (vtkMRMLInteractionEventData *eventData) |
| virtual bool | DelegateInteractionEventToDisplayableManagers (unsigned long event) |
| virtual bool | DelegateInteractionEventToDisplayableManagers (vtkEventData *inputEventData) |
| virtual const char * | GetClassName () |
| virtual vtkRenderWindowInteractor * | GetInteractor () |
| virtual int | IsA (const char *type) |
| 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 | OnLeave () |
| 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 |
| virtual void | SetDisplayableManagers (vtkMRMLDisplayableManagerGroup *displayableManagers) |
| virtual void | SetInteractor (vtkRenderWindowInteractor *interactor) |
Static Public Member Functions | |
| static int | IsTypeOf (const char *type) |
| static vtkMRMLViewInteractorStyle * | New () |
| static vtkMRMLViewInteractorStyle * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
| vtkInteractorStyle * | GetInteractorStyle () |
| virtual void | ProcessDisplayableManagerEvents (vtkMRMLAbstractDisplayableManager *displayableManager, unsigned long event, void *callData) |
| void | SetMouseCursor (int cursor) |
| vtkMRMLViewInteractorStyle () | |
| ~vtkMRMLViewInteractorStyle () override | |
Static Protected Member Functions | |
| 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(). | |
Protected Attributes | |
| vtkCallbackCommand * | DisplayableManagerCallbackCommand |
| vtkWeakPointer< vtkMRMLDisplayableManagerGroup > | DisplayableManagers |
| vtkCallbackCommand * | EventCallbackCommand |
| vtkMRMLAbstractDisplayableManager * | FocusedDisplayableManager |
| vtkRenderWindowInteractor * | Interactor { nullptr } |
| bool | MouseMovedSinceButtonDown |
Common base class for processing interaction events in MRML views.
Events are converted to new-style VTK interaction events and forwarded to displayable managers for processing. Some additional high-level events (such as click and double-click) are generated here.
Definition at line 42 of file vtkMRMLViewInteractorStyle.h.
| typedef vtkObject vtkMRMLViewInteractorStyle::Superclass |
Definition at line 46 of file vtkMRMLViewInteractorStyle.h.
|
protected |
|
overrideprotected |
|
staticprotected |
Main process event method.
Set MouseMovedSinceButtonDown variable based on the mouse events.
Then, if calling DelegateInteractionEventToDisplayableManagers() returns false or if the current motion flag returned by vtkInteractorStyle::GetState() is VTKIS_NONE, call ProcessEvents().
|
virtual |
Give a chance to displayable managers to process the event. Return true if the event is processed.
|
virtual |
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 in vtkMRMLSliceViewInteractorStyle, and vtkMRMLThreeDViewInteractorStyle.
|
virtual |
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 in vtkMRMLSliceViewInteractorStyle, and vtkMRMLThreeDViewInteractorStyle.
|
staticprotected |
|
virtual |
Reimplemented in vtkMRMLSliceViewInteractorStyle, and vtkMRMLThreeDViewInteractorStyle.
|
virtual |
|
protected |
|
virtual |
Reimplemented in vtkMRMLSliceViewInteractorStyle, and vtkMRMLThreeDViewInteractorStyle.
|
static |
|
static |
|
virtual |
3D event bindings
|
virtual |
Keyboard functions.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Reimplemented in vtkMRMLThreeDViewInteractorStyle.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Mouse functions.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
override |
|
protectedvirtual |
Reimplemented in vtkMRMLThreeDViewInteractorStyle.
|
staticprotected |
Process events not already delegated to displayable managers by CustomProcessEvents().
|
static |
|
virtual |
Reimplemented in vtkMRMLThreeDViewInteractorStyle.
|
virtual |
Reimplemented in vtkMRMLThreeDViewInteractorStyle.
|
protected |
|
protected |
Definition at line 131 of file vtkMRMLViewInteractorStyle.h.
|
protected |
Definition at line 139 of file vtkMRMLViewInteractorStyle.h.
|
protected |
Definition at line 118 of file vtkMRMLViewInteractorStyle.h.
|
protected |
Definition at line 140 of file vtkMRMLViewInteractorStyle.h.
|
protected |
Definition at line 115 of file vtkMRMLViewInteractorStyle.h.
|
protected |
Definition at line 137 of file vtkMRMLViewInteractorStyle.h.