27 #ifndef vtkInteractorStyleRubberBand2D_h
28 #define vtkInteractorStyleRubberBand2D_h
30 #include "vtkInteractionStyleModule.h"
33 VTK_ABI_NAMESPACE_BEGIN
57 vtkSetMacro(RenderOnMouseMove,
bool);
58 vtkGetMacro(RenderOnMouseMove,
bool);
59 vtkBooleanMacro(RenderOnMouseMove,
bool);
75 vtkGetMacro(Interaction,
int);
92 vtkGetVector2Macro(StartPosition,
int);
93 vtkGetVector2Macro(EndPosition,
int);
104 void RedrawRubberBand();
107 int StartPosition[2];
123 VTK_ABI_NAMESPACE_END
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.