16 #ifndef vtkInteractorStyleRubberBandZoom_h
17 #define vtkInteractorStyleRubberBandZoom_h
19 #include "vtkInteractionStyleModule.h"
23 VTK_ABI_NAMESPACE_BEGIN
38 vtkSetMacro(LockAspectToViewport,
bool);
39 vtkGetMacro(LockAspectToViewport,
bool);
40 vtkBooleanMacro(LockAspectToViewport,
bool);
54 vtkSetMacro(CenterAtStartPosition,
bool);
55 vtkGetMacro(CenterAtStartPosition,
bool);
56 vtkBooleanMacro(CenterAtStartPosition,
bool);
69 vtkSetMacro(UseDollyForPerspectiveProjection,
bool);
70 vtkGetMacro(UseDollyForPerspectiveProjection,
bool);
71 vtkBooleanMacro(UseDollyForPerspectiveProjection,
bool);
89 virtual void ZoomTraditional(
const vtkRecti& box);
114 void AdjustBox(
int startPosition[2],
int endPosition[2])
const;
117 VTK_ABI_NAMESPACE_END
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.