49 #ifndef vtkCameraOrientationWidget_h
50 #define vtkCameraOrientationWidget_h
53 #include "vtkInteractionWidgetsModule.h"
57 VTK_ABI_NAMESPACE_BEGIN
75 vtkSetMacro(Animate,
bool);
76 vtkGetMacro(Animate,
bool);
77 vtkBooleanMacro(Animate,
bool);
84 vtkSetClampMacro(AnimatorTotalFrames,
int, 2,
VTK_INT_MAX);
85 vtkGetMacro(AnimatorTotalFrames,
int);
129 vtkSetMacro(ShouldResetCamera,
bool);
130 vtkGetMacro(ShouldResetCamera,
bool);
131 vtkBooleanMacro(ShouldResetCamera,
bool);
141 vtkSetMacro(UseCenterOfRotation,
bool);
142 vtkGetMacro(UseCenterOfRotation,
bool);
143 vtkBooleanMacro(UseCenterOfRotation,
bool);
151 void ComputeWidgetState(
int X,
int Y,
int modify = 0);
157 void OrientParentCamera(
double back[3],
double up[3]);
158 void OrientWidgetRepresentation();
159 void InterpolateCamera(
int t);
161 void StartAnimation();
162 void PlayAnimationSingleFrame(
vtkObject* caller,
unsigned long event,
void* callData);
163 void StopAnimation();
180 bool ShouldResetCamera =
true;
181 bool UseCenterOfRotation =
false;
182 int AnimatorTotalFrames = 20;
183 int AnimatorCurrentFrame = 0;
184 int AnimationTimerId = -1;
186 int ResizeObserverTag = -1;
187 int ReorientObserverTag = -1;
188 int AnimationTimerObserverTag = -1;
195 VTK_ABI_NAMESPACE_END
abstract base class for most VTK objects
interpolate a series of cameras to update a new camera
abstract specification for renderers
virtual void SetDefaultRenderer(vtkRenderer *)
Set/Get the default renderer to use when activating the interactor observer.
a simple class to control print indentation
A 3D representation for vtkCameraOrientationWidget.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...