54 #ifndef __vtkQuaternionInterpolator_h
55 #define __vtkQuaternionInterpolator_h
57 #include "vtkCommonMathModule.h"
58 #include "vtkObject.h"
61 class vtkQuaternionList;
67 void PrintSelf(ostream& os, vtkIndent indent);
74 int GetNumberOfQuaternions();
95 void AddQuaternion(
double t,
double q[4]);
100 void RemoveQuaternion(
double t);
107 void InterpolateQuaternion(
double t,
double q[4]);
113 enum {INTERPOLATION_TYPE_LINEAR=0,
114 INTERPOLATION_TYPE_SPLINE
125 vtkSetClampMacro(InterpolationType,
int,INTERPOLATION_TYPE_LINEAR,
126 INTERPOLATION_TYPE_SPLINE);
127 vtkGetMacro(InterpolationType,
int);
129 {this->SetInterpolationType(INTERPOLATION_TYPE_LINEAR);}
131 {this->SetInterpolationType(INTERPOLATION_TYPE_SPLINE);}
void SetInterpolationTypeToSpline()
void SetInterpolationTypeToLinear()
vtkQuaternionList * QuaternionList
VTKWRAPPINGJAVA_EXPORT jlong q(JNIEnv *env, jobject obj)