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]);
130 INTERPOLATION_TYPE_LINEAR = 0,
131 INTERPOLATION_TYPE_SPLINE
142 vtkSetClampMacro(InterpolationType,
int, INTERPOLATION_TYPE_LINEAR, INTERPOLATION_TYPE_SPLINE);
143 vtkGetMacro(InterpolationType,
int);
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.
vtkQuaternionList * QuaternionList
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...