 |
VTK
9.1.0
|
Go to the documentation of this file.
55 #ifndef vtkQuaternionInterpolator_h
56 #define vtkQuaternionInterpolator_h
58 #include "vtkCommonMathModule.h"
62 class vtkQuaternionList;
147 INTERPOLATION_TYPE_LINEAR = 0,
148 INTERPOLATION_TYPE_SPLINE
160 vtkSetClampMacro(InterpolationType,
int, INTERPOLATION_TYPE_LINEAR, INTERPOLATION_TYPE_SPLINE);
161 vtkGetMacro(InterpolationType,
int);
vtkQuaternionInterpolationSearchMethod
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...
abstract base class for most VTK objects
void SetInterpolationTypeToSpline()
Specify which type of function to use for interpolation.
void AddQuaternion(double t, const vtkQuaterniond &q)
Add another quaternion to the list of quaternions to be interpolated.
void SetSearchMethod(int type)
Set / Get the search type method.
void RemoveQuaternion(double t)
Delete the quaternion at a particular parameter t.
void Initialize()
Reset the class so that it contains no data; i.e., the array of (t,q[4]) information is discarded.
a simple class to control print indentation
static vtkQuaternionInterpolator * New()
Instantiate the class.
~vtkQuaternionInterpolator() override
void InterpolateQuaternion(double t, double q[4])
Interpolate the list of quaternions and determine a new quaternion (i.e., fill in the quaternion prov...
void SetInterpolationTypeToLinear()
Specify which type of function to use for interpolation.
vtkQuaternionList * QuaternionList
void AddQuaternion(double t, double q[4])
Add another quaternion to the list of quaternions to be interpolated.
vtkQuaternionInterpolator()
double GetMinimumT()
Obtain some information about the interpolation range.
int GetNumberOfQuaternions()
Return the number of quaternions in the list of quaternions to be interpolated.
int GetSearchMethod()
Set / Get the search type method.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.