29 #ifndef __SimpleSpline_H__
30 #define __SimpleSpline_H__
64 void addPoint(
const Vector3& p);
67 const Vector3& getPoint(
unsigned short index)
const;
70 unsigned short getNumPoints(
void)
const;
79 void updatePoint(
unsigned short index,
const Vector3& value);
93 Vector3 interpolate(
unsigned int fromIndex,
Real t)
const;
108 void setAutoCalculate(
bool autoCalc);
115 void recalcTangents(
void);
Class encapsulating a standard 4x4 homogeneous matrix.
vector< Vector3 >::type mPoints
float Real
Software floating point type.
Matrix4 mCoeffs
Matrix of coefficients.
Standard 3-dimensional vector.
vector< Vector3 >::type mTangents
A very simple spline class which implements the Catmull-Rom class of splines.