49 #ifndef vtkCameraInterpolator_h
50 #define vtkCameraInterpolator_h
52 #include "vtkRenderingCoreModule.h"
75 int GetNumberOfCameras();
97 void AddCamera(
double t,
vtkCamera *camera);
103 void RemoveCamera(
double t);
110 void InterpolateCamera(
double t,
vtkCamera *camera);
115 enum {INTERPOLATION_TYPE_LINEAR=0,
117 INTERPOLATION_TYPE_MANUAL
131 vtkSetClampMacro(InterpolationType,
int, INTERPOLATION_TYPE_LINEAR,
132 INTERPOLATION_TYPE_MANUAL);
133 vtkGetMacro(InterpolationType,
int);
135 {this->SetInterpolationType(INTERPOLATION_TYPE_LINEAR);}
137 {this->SetInterpolationType(INTERPOLATION_TYPE_SPLINE);}
139 {this->SetInterpolationType(INTERPOLATION_TYPE_MANUAL);}
216 ~vtkCameraInterpolator() VTK_OVERRIDE;
219 int InterpolationType;
232 void InitializeInterpolation();
235 vtkCameraList *CameraList;
238 vtkCameraInterpolator(const vtkCameraInterpolator&) VTK_DELETE_FUNCTION;
239 void operator=(const vtkCameraInterpolator&) VTK_DELETE_FUNCTION;
abstract base class for most VTK objects
interpolate a series of cameras to update a new camera
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTypeUInt32 vtkMTimeType
interpolate a tuple of arbitray size
record modification and/or execution time
void SetInterpolationTypeToLinear()
These are convenience methods to switch between linear and spline interpolation.
a simple class to control print indentation
a virtual camera for 3D rendering
virtual vtkMTimeType GetMTime()
Return this object's modified time.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
void SetInterpolationTypeToSpline()
These are convenience methods to switch between linear and spline interpolation.
void SetInterpolationTypeToManual()
These are convenience methods to switch between linear and spline interpolation.