55 #ifndef vtkQuaternionInterpolator_h
56 #define vtkQuaternionInterpolator_h
58 #include "vtkCommonMathModule.h"
62 class vtkQuaternionList;
79 int GetNumberOfQuaternions();
106 void AddQuaternion(
double t,
double q[4]);
113 void RemoveQuaternion(
double t);
122 void InterpolateQuaternion(
double t,
double q[4]);
128 enum {INTERPOLATION_TYPE_LINEAR=0,
129 INTERPOLATION_TYPE_SPLINE
140 vtkSetClampMacro(InterpolationType,
int,INTERPOLATION_TYPE_LINEAR,
141 INTERPOLATION_TYPE_SPLINE);
142 vtkGetMacro(InterpolationType,
int);
144 {this->SetInterpolationType(INTERPOLATION_TYPE_LINEAR);}
146 {this->SetInterpolationType(INTERPOLATION_TYPE_SPLINE);}
154 int InterpolationType;
157 vtkQuaternionList *QuaternionList;
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetInterpolationTypeToSpline()
Specify which type of function to use for interpolation.
a simple class to control print indentation
void SetInterpolationTypeToLinear()
Specify which type of function to use for interpolation.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...