28 #ifndef vtkContextInteractorStyle_h 29 #define vtkContextInteractorStyle_h 31 #include "vtkViewsContext2DModule.h" 63 virtual void OnSceneModified();
75 void OnLeftButtonDown() VTK_OVERRIDE;
81 void OnLeftButtonUp() VTK_OVERRIDE;
87 void OnMiddleButtonDown() VTK_OVERRIDE;
93 void OnMiddleButtonUp() VTK_OVERRIDE;
99 void OnRightButtonDown() VTK_OVERRIDE;
105 void OnRightButtonUp() VTK_OVERRIDE;
111 void OnMouseWheelForward() VTK_OVERRIDE;
117 void OnMouseWheelBackward() VTK_OVERRIDE;
123 virtual
void OnSelection(
unsigned int rect[5]);
128 void OnChar() VTK_OVERRIDE;
133 void OnKeyPress() VTK_OVERRIDE;
138 void OnKeyRelease() VTK_OVERRIDE;
142 ~vtkContextInteractorStyle() VTK_OVERRIDE;
144 static
void ProcessSceneEvents(
vtkObject*
object,
unsigned long event,
145 void* clientdata,
void* calldata);
147 static
void ProcessInteractorEvents(
vtkObject*
object,
unsigned long event,
148 void* clientdata,
void* calldata);
150 virtual
void RenderNow();
157 void BeginProcessingEvent();
164 void EndProcessingEvent();
169 int ProcessingEvents;
173 bool TimerCallbackInitialized;
176 vtkContextInteractorStyle(const vtkContextInteractorStyle&) VTK_DELETE_FUNCTION;
177 void operator=(const vtkContextInteractorStyle&) VTK_DELETE_FUNCTION;
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.