40 #ifndef vtkInteractorStyleRubberBand2D_h
41 #define vtkInteractorStyleRubberBand2D_h
43 #include "vtkInteractionStyleModule.h"
70 vtkGetMacro(RenderOnMouseMove,
bool);
87 vtkGetMacro(Interaction,
int);
104 vtkGetVector2Macro(StartPosition,
int);
105 vtkGetVector2Macro(EndPosition,
int);
116 void RedrawRubberBand();
119 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()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
virtual void OnMouseWheelBackward()
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.
virtual void OnMouseMove()
Generic event bindings can be overridden in subclasses.