25 #ifndef vtkContextInteractorStyle_h 26 #define vtkContextInteractorStyle_h 28 #include "vtkViewsContext2DModule.h" 60 virtual void OnSceneModified();
72 void OnLeftButtonDown() VTK_OVERRIDE;
78 void OnLeftButtonUp() VTK_OVERRIDE;
84 void OnMiddleButtonDown() VTK_OVERRIDE;
90 void OnMiddleButtonUp() VTK_OVERRIDE;
96 void OnRightButtonDown() VTK_OVERRIDE;
102 void OnRightButtonUp() VTK_OVERRIDE;
108 void OnMouseWheelForward() VTK_OVERRIDE;
114 void OnMouseWheelBackward() VTK_OVERRIDE;
120 virtual
void OnSelection(
unsigned int rect[5]);
125 void OnChar() VTK_OVERRIDE;
130 void OnKeyPress() VTK_OVERRIDE;
135 void OnKeyRelease() VTK_OVERRIDE;
141 static
void ProcessSceneEvents(
vtkObject*
object,
unsigned long event,
142 void* clientdata,
void* calldata);
144 static
void ProcessInteractorEvents(
vtkObject*
object,
unsigned long event,
145 void* clientdata,
void* calldata);
147 virtual
void RenderNow();
154 void BeginProcessingEvent();
161 void EndProcessingEvent();
166 int ProcessingEvents;
170 bool TimerCallbackInitialized;
abstract base class for most VTK objects
vtkTypeUInt32 vtkMTimeType
static vtkInteractorStyle * New()
This class must be supplied with a vtkRenderWindowInteractor wrapper or parent.
An interactor for chart views.
supports function callbacks
Provides a 2D scene for vtkContextItem objects.
data structure to represent mouse events.
a simple class to control print indentation
a weak reference to a vtkObject.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Allocate and hold a VTK object.
provide event-driven interface to the rendering window (defines trackball mode)
virtual void OnMouseMove()
Generic event bindings can be overridden in subclasses.