39 #ifndef vtkInteractorStyleUser_h 40 #define vtkInteractorStyleUser_h 42 #include "vtkInteractionStyleModule.h" 46 #define VTKIS_USERINTERACTION 8 62 vtkGetVector2Macro(LastPos,
int);
71 vtkGetVector2Macro(OldPos,
int);
79 vtkGetMacro(ShiftKey,
int);
80 vtkGetMacro(CtrlKey,
int);
87 vtkGetMacro(Char,
int);
95 vtkGetStringMacro(KeySym);
103 vtkGetMacro(Button,
int);
virtual void OnLeftButtonDown()
virtual void OnMiddleButtonDown()
virtual void OnRightButtonDown()
void OnChar() override
OnChar is triggered when an ASCII key is pressed.
virtual void OnLeftButtonUp()
static vtkInteractorStyle * New()
This class must be supplied with a vtkRenderWindowInteractor wrapper or parent.
virtual void OnMiddleButtonUp()
virtual void OnMouseWheelForward()
virtual void OnKeyRelease()
virtual void OnKeyPress()
virtual void OnTimer()
OnTimer calls Rotate, Rotate etc which should be overridden by style subclasses.
virtual void OnRightButtonUp()
virtual void OnExpose()
These are more esoteric events, but are useful in some cases.
virtual void OnConfigure()
a simple class to control print indentation
virtual void OnMouseWheelBackward()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
provide event-driven interface to the rendering window (defines trackball mode)
provides customizable interaction routines
virtual void OnMouseMove()
Generic event bindings can be overridden in subclasses.