Go to the documentation of this file.
52 #ifndef vtkCameraInterpolator_h
53 #define vtkCameraInterpolator_h
55 #include "vtkRenderingCoreModule.h"
118 enum {INTERPOLATION_TYPE_LINEAR=0,
120 INTERPOLATION_TYPE_MANUAL
134 vtkSetClampMacro(InterpolationType,
int, INTERPOLATION_TYPE_LINEAR,
135 INTERPOLATION_TYPE_MANUAL);
136 vtkGetMacro(InterpolationType,
int);
138 {this->SetInterpolationType(INTERPOLATION_TYPE_LINEAR);}
140 {this->SetInterpolationType(INTERPOLATION_TYPE_SPLINE);}
142 {this->SetInterpolationType(INTERPOLATION_TYPE_MANUAL);}
static vtkCameraInterpolator * New()
Instantiate the class.
void RemoveCamera(double t)
Delete the camera at a particular parameter t.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
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
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
virtual void SetClippingRangeInterpolator(vtkTupleInterpolator *)
Set/Get the tuple interpolator used to interpolate the clipping range portion of the camera.
void SetInterpolationTypeToManual()
vtkMTimeType GetMTime() override
Override GetMTime() because we depend on the interpolators which may be modified outside of this clas...
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.
~vtkCameraInterpolator() override
a simple class to control print indentation
a virtual camera for 3D rendering
@ INTERPOLATION_TYPE_SPLINE
vtkTimeStamp InitializeTime
interpolate a tuple of arbitrary size
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.
vtkTypeUInt32 vtkMTimeType