Go to the documentation of this file.
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 OnKeyRelease()
virtual void OnKeyPress()
void OnChar() override
OnChar is triggered when an ASCII key is pressed.
virtual void OnMiddleButtonUp()
virtual void OnMouseMove()
Generic event bindings can be overridden in subclasses.
virtual void OnMiddleButtonDown()
virtual void OnRightButtonDown()
virtual void OnMouseWheelForward()
virtual void OnLeftButtonDown()
a simple class to control print indentation
virtual void OnConfigure()
virtual void OnExpose()
These are more esoteric events, but are useful in some cases.
provide event-driven interface to the rendering window (defines trackball mode)
virtual void OnMouseWheelBackward()
virtual void OnLeftButtonUp()
static vtkInteractorStyle * New()
This class must be supplied with a vtkRenderWindowInteractor wrapper or parent.
provides customizable interaction routines
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void OnRightButtonUp()
virtual void OnTimer()
OnTimer calls Rotate, Rotate etc which should be overridden by style subclasses.