28 #ifndef vtkContextInteractorStyle_h 29 #define vtkContextInteractorStyle_h 31 #include "vtkViewsContext2DModule.h" 63 virtual void OnSceneModified();
123 virtual void OnSelection(
unsigned int rect[5]);
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();
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()
An interactor for chart views.
Provides a 2D scene for vtkContextItem objects.
data structure to represent mouse events.
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.