16 #ifndef vtkContextInteractorStyle_h
17 #define vtkContextInteractorStyle_h
21 #include "vtkViewsContext2DModule.h"
24 VTK_ABI_NAMESPACE_BEGIN
52 virtual void OnSceneModified();
130 virtual void OnSelection(
unsigned int rect[5]);
151 static void ProcessSceneEvents(
152 vtkObject*
object,
unsigned long event,
void* clientdata,
void* calldata);
154 static void ProcessInteractorEvents(
155 vtkObject*
object,
unsigned long event,
void* clientdata,
void* calldata);
157 virtual void RenderNow();
164 void BeginProcessingEvent();
171 void EndProcessingEvent();
190 VTK_ABI_NAMESPACE_END
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.