28 #ifndef vtkContextInteractorStyle_h
29 #define vtkContextInteractorStyle_h
31 #include "vtkViewsContext2DModule.h"
145 void* clientdata,
void* calldata);
148 void* clientdata,
void* calldata);
An interactor for chart views.
virtual void OnRightButtonUp()
Called when the user releases the mouse right button.
void EndProcessingEvent()
Inform the interactor style that an event is finished to be processed.
vtkNew< vtkCallbackCommand > InteractorCallbackCommand
virtual void OnSceneModified()
Called when the scene is modified.
virtual void OnKeyPress()
Called when the user presses a key.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void OnChar()
Handle key presses.
virtual void OnMouseWheelBackward()
Called when the user moves the mouse wheel backward.
virtual void OnKeyRelease()
Called when the user releases a key.
static vtkContextInteractorStyle * New()
void SetScene(vtkContextScene *scene)
Set the scene to forward user events to.
vtkNew< vtkCallbackCommand > SceneCallbackCommand
virtual void OnMiddleButtonDown()
Called when the user clicks the mouse middle button.
static void ProcessInteractorEvents(vtkObject *object, unsigned long event, void *clientdata, void *calldata)
vtkContextInteractorStyle()
static void ProcessSceneEvents(vtkObject *object, unsigned long event, void *clientdata, void *calldata)
virtual void OnSelection(unsigned int rect[5])
Place holder for future implementation.
virtual void OnMiddleButtonUp()
Called when the user releases the mouse middle button.
bool TimerCallbackInitialized
vtkWeakPointer< vtkContextScene > Scene
vtkContextScene * GetScene()
Return the observed scene.
virtual void OnMouseMove()
Called when the user moves the mouse Default behavior forwards the event to the observed scene.
virtual void OnLeftButtonUp()
Called when the user releases the mouse left button.
vtkMTimeType LastSceneRepaintMTime
~vtkContextInteractorStyle()
void BeginProcessingEvent()
Inform the interactor style that an event is being processed.
virtual void OnMouseWheelForward()
Called when the user moves the mouse wheel forward.
virtual void OnLeftButtonDown()
Called when the user clicks the mouse left button.
virtual void OnRightButtonDown()
Called when the user clicks the mouse right button.
data structure to represent mouse events.
Provides a 2D scene for vtkContextItem objects.
a simple class to control print indentation
provide event-driven interface to the rendering window (defines trackball mode)
abstract base class for most VTK objects
vtkTypeUInt64 vtkMTimeType