48       public: 
void SetTension(
double _t);
    52       public: 
double GetTension() 
const;
    56       public: 
void AddPoint(
const Vector3 &_pt);
    62       public: 
Vector3 GetPoint(
unsigned int _index) 
const;
    66       public: 
unsigned int GetPointCount() 
const;
    70       public: 
Vector3 GetTangent(
unsigned int _index) 
const;
    80       public: 
void UpdatePoint(
unsigned int _index, 
const Vector3 &_value);
    85       public: 
Vector3 Interpolate(
double _t) 
const;
    92       public: 
Vector3 Interpolate(
unsigned int _fromIndex, 
double _t) 
const;
   109       public: 
void SetAutoCalculate(
bool _autoCalc);
   115       public: 
void RecalcTangents();
 bool autoCalc
when true, the tangents are recalculated when the control point change 
Definition: Spline.hh:119
 
Forward declarations for the common classes. 
Definition: Animation.hh:33
 
The Vector3 class represents the generic vector containing 3 elements. 
Definition: Vector3.hh:39
 
A 3x3 matrix class. 
Definition: Matrix4.hh:40
 
Splines. 
Definition: Spline.hh:37
 
std::vector< Vector3 > tangents
tangents 
Definition: Spline.hh:125
 
double tension
Tension of 0 = Catmull-Rom spline, otherwise a Cardinal spline. 
Definition: Spline.hh:131
 
std::vector< Vector3 > points
control points 
Definition: Spline.hh:122
 
Matrix4 coeffs
Matrix of coefficients. 
Definition: Spline.hh:128