46 #ifndef vtkQuaternionInterpolator_h
47 #define vtkQuaternionInterpolator_h
49 #include "vtkCommonMathModule.h"
52 VTK_ABI_NAMESPACE_BEGIN
54 class vtkQuaternionList;
78 int GetNumberOfQuaternions();
105 void AddQuaternion(
double t,
double q[4]);
112 void RemoveQuaternion(
double t);
121 void InterpolateQuaternion(
double t,
double q[4]);
130 int GetSearchMethod();
131 void SetSearchMethod(
int type);
139 INTERPOLATION_TYPE_LINEAR = 0,
140 INTERPOLATION_TYPE_SPLINE
152 vtkSetClampMacro(InterpolationType,
int, INTERPOLATION_TYPE_LINEAR, INTERPOLATION_TYPE_SPLINE);
153 vtkGetMacro(InterpolationType,
int);
174 VTK_ABI_NAMESPACE_END
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...