40 #ifndef vtkInteractorStyleRubberBand2D_h 41 #define vtkInteractorStyleRubberBand2D_h 43 #include "vtkInteractionStyleModule.h" 56 void OnLeftButtonUp() VTK_OVERRIDE;
57 void OnMiddleButtonDown() VTK_OVERRIDE;
58 void OnMiddleButtonUp() VTK_OVERRIDE;
59 void OnRightButtonDown() VTK_OVERRIDE;
60 void OnRightButtonUp() VTK_OVERRIDE;
61 void OnMouseMove() VTK_OVERRIDE;
62 void OnMouseWheelForward() VTK_OVERRIDE;
63 void OnMouseWheelBackward() VTK_OVERRIDE;
70 vtkGetMacro(RenderOnMouseMove,
bool);
87 vtkGetMacro(Interaction,
int);
104 vtkGetVector2Macro(StartPosition,
int);
105 vtkGetVector2Macro(EndPosition,
int);
116 void RedrawRubberBand();
119 int StartPosition[2];
128 bool RenderOnMouseMove;
virtual void OnLeftButtonDown()
static vtkInteractorStyle * New()
This class must be supplied with a vtkRenderWindowInteractor wrapper or parent.
A rubber band interactor for a 2D view.
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
dynamic, self-adjusting array of unsigned char
provide event-driven interface to the rendering window (defines trackball mode)
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.