25 #ifndef vtkInteractorStyleRubberBandZoom_h
26 #define vtkInteractorStyleRubberBandZoom_h
28 #include "vtkInteractionStyleModule.h"
32 VTK_ABI_NAMESPACE_BEGIN
47 vtkSetMacro(LockAspectToViewport,
bool);
48 vtkGetMacro(LockAspectToViewport,
bool);
49 vtkBooleanMacro(LockAspectToViewport,
bool);
63 vtkSetMacro(CenterAtStartPosition,
bool);
64 vtkGetMacro(CenterAtStartPosition,
bool);
65 vtkBooleanMacro(CenterAtStartPosition,
bool);
78 vtkSetMacro(UseDollyForPerspectiveProjection,
bool);
79 vtkGetMacro(UseDollyForPerspectiveProjection,
bool);
80 vtkBooleanMacro(UseDollyForPerspectiveProjection,
bool);
106 int StartPosition[2];
123 void AdjustBox(
int startPosition[2],
int endPosition[2])
const;
126 VTK_ABI_NAMESPACE_END
a simple class to control print indentation
zoom in by amount indicated by rubber band box
void OnLeftButtonDown() override
Event bindings.
bool LockAspectToViewport
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void ZoomTraditional(const vtkRecti &box)
virtual vtkVector3d CalculatePerspectiveZoomFocalPoint(const vtkRecti &box) const
Calculates the focal point to be used when zooming on perspective projection using the view angle bas...
static vtkInteractorStyleRubberBandZoom * New()
void OnLeftButtonUp() override
Event bindings.
~vtkInteractorStyleRubberBandZoom() override
vtkInteractorStyleRubberBandZoom()
bool CenterAtStartPosition
bool UseDollyForPerspectiveProjection
vtkUnsignedCharArray * PixelArray
void OnMouseMove() override
Event bindings.
provide event-driven interface to the rendering window (defines trackball mode)
dynamic, self-adjusting array of unsigned char