28 #ifndef vtkInteractorStyleRubberBandZoom_h 29 #define vtkInteractorStyleRubberBandZoom_h 31 #include "vtkInteractionStyleModule.h" 49 vtkSetMacro(LockAspectToViewport,
bool);
50 vtkGetMacro(LockAspectToViewport,
bool);
51 vtkBooleanMacro(LockAspectToViewport,
bool);
60 vtkSetMacro(CenterAtStartPosition,
bool);
61 vtkGetMacro(CenterAtStartPosition,
bool);
62 vtkBooleanMacro(CenterAtStartPosition,
bool);
75 vtkSetMacro(UseDollyForPerspectiveProjection,
bool);
76 vtkGetMacro(UseDollyForPerspectiveProjection,
bool);
77 vtkBooleanMacro(UseDollyForPerspectiveProjection,
bool);
111 void AdjustBox(
int startPosition[2],
int endPosition[2])
const;
113 void ZoomTraditional(
const vtkRecti& box);
114 void ZoomPerspectiveProjectionUsingViewAngle(
const vtkRecti& box);
virtual void OnLeftButtonDown()
bool UseDollyForPerspectiveProjection
virtual void OnLeftButtonUp()
static vtkInteractorStyle * New()
This class must be supplied with a vtkRenderWindowInteractor wrapper or parent.
a simple class to control print indentation
vtkUnsignedCharArray * PixelArray
bool CenterAtStartPosition
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)
bool LockAspectToViewport
zoom in by amount indicated by rubber band box
virtual void OnMouseMove()
Generic event bindings can be overridden in subclasses.