35#ifndef vtkInteractorStyleRubberBandZoom_h
36#define vtkInteractorStyleRubberBandZoom_h
38#include "vtkInteractionStyleModule.h"
43VTK_ABI_NAMESPACE_BEGIN
59 vtkSetMacro(LockAspectToViewport,
bool);
60 vtkGetMacro(LockAspectToViewport,
bool);
61 vtkBooleanMacro(LockAspectToViewport,
bool);
75 vtkSetMacro(CenterAtStartPosition,
bool);
76 vtkGetMacro(CenterAtStartPosition,
bool);
77 vtkBooleanMacro(CenterAtStartPosition,
bool);
90 vtkSetMacro(UseDollyForPerspectiveProjection,
bool);
91 vtkGetMacro(UseDollyForPerspectiveProjection,
bool);
92 vtkBooleanMacro(UseDollyForPerspectiveProjection,
bool);
118 int StartPosition[2];
135 void AdjustBox(
int startPosition[2],
int endPosition[2])
const;
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...
void OnLeftButtonUp() override
Event bindings.
~vtkInteractorStyleRubberBandZoom() override
vtkInteractorStyleRubberBandZoom()
bool CenterAtStartPosition
bool UseDollyForPerspectiveProjection
vtkUnsignedCharArray * PixelArray
void OnMouseMove() override
Event bindings.
static vtkInteractorStyleRubberBandZoom * New()
provide event-driven interface to the rendering window (defines trackball mode)
dynamic, self-adjusting array of unsigned char