Go to the documentation of this file.
55 #ifndef vtkCameraInterpolator_h
56 #define vtkCameraInterpolator_h
58 #include "vtkRenderingCoreModule.h"
121 enum {INTERPOLATION_TYPE_LINEAR=0,
123 INTERPOLATION_TYPE_MANUAL
137 vtkSetClampMacro(InterpolationType,
int, INTERPOLATION_TYPE_LINEAR,
138 INTERPOLATION_TYPE_MANUAL);
139 vtkGetMacro(InterpolationType,
int);
141 {this->SetInterpolationType(INTERPOLATION_TYPE_LINEAR);}
143 {this->SetInterpolationType(INTERPOLATION_TYPE_SPLINE);}
145 {this->SetInterpolationType(INTERPOLATION_TYPE_MANUAL);}
static vtkCameraInterpolator * New()
Instantiate the class.
void RemoveCamera(double t)
Delete the camera at a particular parameter t.
virtual ~vtkCameraInterpolator()
virtual void SetViewUpInterpolator(vtkTupleInterpolator *)
Set/Get the tuple interpolator used to interpolate the view up portion of the camera.
vtkTupleInterpolator * FocalPointInterpolator
void SetInterpolationTypeToLinear()
void SetInterpolationTypeToSpline()
record modification and/or execution time
vtkMTimeType GetMTime()
Override GetMTime() because we depend on the interpolators which may be modified outside of this clas...
vtkTupleInterpolator * ParallelScaleInterpolator
abstract base class for most VTK objects
interpolate a series of cameras to update a new camera
void InitializeInterpolation()
int GetNumberOfCameras()
Return the number of cameras in the list of cameras.
virtual void SetPositionInterpolator(vtkTupleInterpolator *)
Set/Get the tuple interpolator used to interpolate the position portion of the camera.
vtkTupleInterpolator * ViewUpInterpolator
vtkTupleInterpolator * ViewAngleInterpolator
vtkTypeUInt64 vtkMTimeType
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void SetClippingRangeInterpolator(vtkTupleInterpolator *)
Set/Get the tuple interpolator used to interpolate the clipping range portion of the camera.
void SetInterpolationTypeToManual()
void AddCamera(double t, vtkCamera *camera)
Add another camera to the list of cameras defining the camera function.
virtual void SetFocalPointInterpolator(vtkTupleInterpolator *)
Set/Get the tuple interpolator used to interpolate the focal point portion of the camera.
vtkTupleInterpolator * PositionInterpolator
virtual void SetParallelScaleInterpolator(vtkTupleInterpolator *)
Set/Get the tuple interpolator used to interpolate the parallel scale portion of the camera.
a simple class to control print indentation
a virtual camera for 3D rendering
vtkTimeStamp InitializeTime
interpolate a tuple of arbitray size
@ INTERPOLATION_TYPE_SPLINE
vtkCameraList * CameraList
void InterpolateCamera(double t, vtkCamera *camera)
Interpolate the list of cameras and determine a new camera (i.e., fill in the camera provided).
vtkTupleInterpolator * ClippingRangeInterpolator
double GetMinimumT()
Obtain some information about the interpolation range.
void Initialize()
Clear the list of cameras.
virtual void SetViewAngleInterpolator(vtkTupleInterpolator *)
Set/Get the tuple interpolator used to interpolate the view angle portion of the camera.