17 #ifndef _ROTATIONSPLINE_HH_
18 #define _ROTATIONSPLINE_HH_
49 public:
const Quaternion &GetPoint(
unsigned int _index)
const;
53 public:
unsigned int GetNumPoints()
const;
62 public:
void UpdatePoint(
unsigned int _index,
const Quaternion &_value);
73 public:
Quaternion Interpolate(
double _t,
bool _useShortestPath =
true);
83 public:
Quaternion Interpolate(
unsigned int _fromIndex,
double _t,
84 bool _useShortestPath =
true);
100 public:
void SetAutoCalculate(
bool _autoCalc);
106 public:
void RecalcTangents();
113 protected: std::vector<Quaternion>
points;
Spline for rotations.
Definition: RotationSpline.hh:33
std::vector< Quaternion > tangents
the tangents
Definition: RotationSpline.hh:116
std::vector< Quaternion > points
the control points
Definition: RotationSpline.hh:113
A quaternion class.
Definition: Quaternion.hh:42
bool autoCalc
Automatic recalcultation of tangeants when control points are updated.
Definition: RotationSpline.hh:110