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);}