46#ifndef vtkQuaternionInterpolator_h 
   47#define vtkQuaternionInterpolator_h 
   49#include "vtkCommonMathModule.h"  
   52VTK_ABI_NAMESPACE_BEGIN
 
   54class vtkQuaternionList;
 
  139    INTERPOLATION_TYPE_LINEAR = 0,
 
  140    INTERPOLATION_TYPE_SPLINE
 
  152  vtkSetClampMacro(InterpolationType, 
int, INTERPOLATION_TYPE_LINEAR, INTERPOLATION_TYPE_SPLINE);
 
  153  vtkGetMacro(InterpolationType, 
int);
 
a simple class to control print indentation
 
abstract base class for most VTK objects
 
vtkQuaternionList * QuaternionList
 
double GetMaximumT()
Obtain some information about the interpolation range.
 
void InterpolateQuaternion(double t, vtkQuaterniond &q)
Interpolate the list of quaternions and determine a new quaternion (i.e., fill in the quaternion prov...
 
void AddQuaternion(double t, const vtkQuaterniond &q)
Add another quaternion to the list of quaternions to be interpolated.
 
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
 
void SetInterpolationTypeToLinear()
Specify which type of function to use for interpolation.
 
void Initialize()
Reset the class so that it contains no data; i.e., the array of (t,q[4]) information is discarded.
 
void RemoveQuaternion(double t)
Delete the quaternion at a particular parameter t.
 
double GetMinimumT()
Obtain some information about the interpolation range.
 
int GetSearchMethod()
Set / Get the search type method.
 
vtkQuaternionInterpolator()
 
void AddQuaternion(double t, double q[4])
Add another quaternion to the list of quaternions to be interpolated.
 
static vtkQuaternionInterpolator * New()
Instantiate the class.
 
vtkQuaternionInterpolationSearchMethod
 
void SetInterpolationTypeToSpline()
Specify which type of function to use for interpolation.
 
int GetNumberOfQuaternions()
Return the number of quaternions in the list of quaternions to be interpolated.
 
~vtkQuaternionInterpolator() override
 
void SetSearchMethod(int type)
Set / Get the search type method.
 
void InterpolateQuaternion(double t, double q[4])
Interpolate the list of quaternions and determine a new quaternion (i.e., fill in the quaternion prov...