17 #ifndef _IGNITION_ROTATIONSPLINE_HH_
18 #define _IGNITION_ROTATIONSPLINE_HH_
48 public:
const Quaterniond &Point(
unsigned int _index)
const;
52 public:
unsigned int PointCount()
const;
62 public:
void UpdatePoint(
unsigned int _index,
const Quaterniond &_value);
73 public:
Quaterniond Interpolate(
double _t,
bool _useShortestPath =
true);
84 public:
Quaterniond Interpolate(
unsigned int _fromIndex,
double _t,
85 bool _useShortestPath =
true);
101 public:
void AutoCalculate(
bool _autoCalc);
107 public:
void RecalcTangents();
114 protected: std::vector<Quaterniond>
points;
#define IGNITION_VISIBLE
Use to represent "symbol visible" if supported.
Definition: Helpers.hh:346
Spline for rotations.
Definition: RotationSpline.hh:31
std::vector< Quaterniond > points
the control points
Definition: RotationSpline.hh:114
std::vector< Quaterniond > tangents
the tangents
Definition: RotationSpline.hh:117
A quaternion class.
Definition: Quaternion.hh:31
bool autoCalc
Automatic recalcultation of tangeants when control points are updated.
Definition: RotationSpline.hh:111