18 #ifndef __vtkMRMLViewInteractorStyle_h 19 #define __vtkMRMLViewInteractorStyle_h 22 #include "vtkInteractorStyle3D.h" 23 #include "vtkSmartPointer.h" 24 #include "vtkWeakPointer.h" 27 #include "vtkMRMLDisplayableManagerExport.h" 41 public vtkInteractorStyle3D
46 void PrintSelf(ostream& os, vtkIndent indent)
override;
48 void OnMouseMove()
override;
49 void OnEnter()
override;
50 void OnLeave()
override;
51 void OnLeftButtonDown()
override;
52 void OnLeftButtonUp()
override;
53 void OnMiddleButtonDown()
override;
54 void OnMiddleButtonUp()
override;
55 void OnRightButtonDown()
override;
56 void OnRightButtonUp()
override;
57 void OnMouseWheelForward()
override;
58 void OnMouseWheelBackward()
override;
61 void OnPinch()
override;
62 void OnRotate()
override;
63 void OnPan()
override;
64 void OnTap()
override;
65 void OnLongTap()
override;
68 void OnChar()
override;
69 void OnKeyPress()
override;
70 void OnKeyRelease()
override;
73 void OnButton3D(vtkEventData* eventData)
override;
74 void OnMove3D(vtkEventData* eventData)
override;
76 void OnExpose()
override;
77 void OnConfigure()
override;
85 virtual bool DelegateInteractionEventToDisplayableManagers(
unsigned long event);
91 virtual bool DelegateInteractionEventToDisplayableManagers(vtkEventData* inputEventData);
99 void SetInteractor(vtkRenderWindowInteractor *interactor)
override;
105 static void CustomProcessEvents(vtkObject*
object,
unsigned long event,
void* clientdata,
void* calldata);
107 void SetMouseCursor(
int cursor);
vtkMRMLAbstractDisplayableManager * FocusedDisplayableManager
Superclass for displayable manager classes.
vtkWeakPointer< vtkMRMLDisplayableManagerGroup > DisplayableManagers
double DoubleClickIntervalTimeSec
vtkSmartPointer< vtkTimerLog > ClickTimer
Measures time elapsed since first button press.
Common base class for processing interaction events in MRML views.
bool MouseMovedSinceButtonDown
DisplayableManagerGroup is a collection of DisplayableManager.