43 #ifndef vtkInteractorStyleRubberBand2D_h 44 #define vtkInteractorStyleRubberBand2D_h 46 #include "vtkInteractionStyleModule.h" 72 vtkSetMacro(RenderOnMouseMove,
bool);
73 vtkGetMacro(RenderOnMouseMove,
bool);
74 vtkBooleanMacro(RenderOnMouseMove,
bool);
90 vtkGetMacro(Interaction,
int);
107 vtkGetVector2Macro(StartPosition,
int);
108 vtkGetVector2Macro(EndPosition,
int);
119 void RedrawRubberBand();
122 int StartPosition[2];
virtual void OnLeftButtonDown()
virtual void OnMiddleButtonDown()
virtual void OnRightButtonDown()
virtual void OnLeftButtonUp()
vtkUnsignedCharArray * PixelArray
static vtkInteractorStyle * New()
This class must be supplied with a vtkRenderWindowInteractor wrapper or parent.
virtual void OnMiddleButtonUp()
A rubber band interactor for a 2D view.
virtual void OnMouseWheelForward()
virtual void OnRightButtonUp()
a simple class to control print indentation
virtual void OnMouseWheelBackward()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
dynamic, self-adjusting array of unsigned char
provide event-driven interface to the rendering window (defines trackball mode)
virtual void OnMouseMove()
Generic event bindings can be overridden in subclasses.