Slicer
5.0
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 vtkInteractorStyle3D | 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 int | IsA (const char *type) |
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 vtkMRMLViewInteractorStyle * | New () |
static vtkMRMLViewInteractorStyle * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
void | SetMouseCursor (int cursor) |
vtkMRMLViewInteractorStyle () | |
~vtkMRMLViewInteractorStyle () override | |
Static Protected Member Functions | |
static void | CustomProcessEvents (vtkObject *object, unsigned long event, void *clientdata, void *calldata) |
Protected Attributes | |
vtkSmartPointer< vtkTimerLog > | ClickTimer |
Measures time elapsed since first button press. More... | |
vtkWeakPointer< vtkMRMLDisplayableManagerGroup > | DisplayableManagers |
double | DoubleClickIntervalTimeSec |
vtkMRMLAbstractDisplayableManager * | FocusedDisplayableManager |
bool | MouseMovedSinceButtonDown |
int | NumberOfClicks |
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 40 of file vtkMRMLViewInteractorStyle.h.
typedef vtkInteractorStyle3D vtkMRMLViewInteractorStyle::Superclass |
Definition at line 45 of file vtkMRMLViewInteractorStyle.h.
|
protected |
|
overrideprotected |
|
staticprotected |
|
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.
|
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 vtkMRMLThreeDViewInteractorStyle, and vtkMRMLSliceViewInteractorStyle.
|
virtual |
Reimplemented in vtkMRMLThreeDViewInteractorStyle, and vtkMRMLSliceViewInteractorStyle.
|
virtual |
Reimplemented in vtkMRMLThreeDViewInteractorStyle, and vtkMRMLSliceViewInteractorStyle.
|
static |
|
static |
|
override |
3D event bindings
|
override |
Keyboard functions.
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
override |
|
static |
void vtkMRMLViewInteractorStyle::SetDisplayableManagers | ( | vtkMRMLDisplayableManagerGroup * | displayableManagers | ) |
|
override |
Reimplemented to set additional observers
|
protected |
|
protected |
Measures time elapsed since first button press.
Definition at line 112 of file vtkMRMLViewInteractorStyle.h.
|
protected |
Definition at line 116 of file vtkMRMLViewInteractorStyle.h.
|
protected |
Definition at line 114 of file vtkMRMLViewInteractorStyle.h.
|
protected |
Definition at line 117 of file vtkMRMLViewInteractorStyle.h.
|
protected |
Definition at line 109 of file vtkMRMLViewInteractorStyle.h.
|
protected |
Definition at line 113 of file vtkMRMLViewInteractorStyle.h.