28 #ifndef vtkContextInteractorStyle_h
29 #define vtkContextInteractorStyle_h
33 #include "vtkViewsContext2DModule.h"
63 virtual void OnSceneModified();
141 virtual void OnSelection(
unsigned int rect[5]);
162 static void ProcessSceneEvents(
163 vtkObject*
object,
unsigned long event,
void* clientdata,
void* calldata);
165 static void ProcessInteractorEvents(
166 vtkObject*
object,
unsigned long event,
void* clientdata,
void* calldata);
168 virtual void RenderNow();
175 void BeginProcessingEvent();
182 void EndProcessingEvent();
virtual void OnLeftButtonDoubleClick()
virtual void OnLeftButtonDown()
virtual void OnMiddleButtonDown()
virtual void OnRightButtonDown()
abstract base class for most VTK objects
void OnChar() override
OnChar is triggered when an ASCII key is pressed.
vtkTypeUInt32 vtkMTimeType
virtual void OnLeftButtonUp()
static vtkInteractorStyle * New()
This class must be supplied with a vtkRenderWindowInteractor wrapper or parent.
virtual void OnMiddleButtonUp()
vtkNew< vtkCallbackCommand > SceneCallbackCommand
virtual void OnMouseWheelForward()
virtual void OnKeyRelease()
vtkMTimeType LastSceneRepaintMTime
bool TimerCallbackInitialized
virtual void OnKeyPress()
virtual void OnRightButtonUp()
virtual void OnMiddleButtonDoubleClick()
An interactor for chart views.
Provides a 2D scene for vtkContextItem objects.
data structure to represent mouse events.
virtual void OnRightButtonDoubleClick()
a simple class to control print indentation
virtual void OnMouseWheelBackward()
vtkNew< vtkCallbackCommand > InteractorCallbackCommand
vtkWeakPointer< vtkContextScene > Scene
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)
virtual void OnMouseMove()
Generic event bindings can be overridden in subclasses.