58 #ifndef vtkQuaternionInterpolator_h
59 #define vtkQuaternionInterpolator_h
61 #include "vtkCommonMathModule.h"
65 class vtkQuaternionList;
89 int GetNumberOfQuaternions();
116 void AddQuaternion(
double t,
double q[4]);
123 void RemoveQuaternion(
double t);
132 void InterpolateQuaternion(
double t,
double q[4]);
141 int GetSearchMethod();
142 void SetSearchMethod(
int type);
150 INTERPOLATION_TYPE_LINEAR = 0,
151 INTERPOLATION_TYPE_SPLINE
163 vtkSetClampMacro(InterpolationType,
int, INTERPOLATION_TYPE_LINEAR, INTERPOLATION_TYPE_SPLINE);
164 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.
vtkQuaternionInterpolationSearchMethod
vtkQuaternionList * QuaternionList
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...