Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
Timed Nonuniform Spline for paths with different time intervals between nodes. More...
#include <NUSpline.h>
Public Member Functions | |
virtual | ~TNSpline () |
void | AddNode (const CFixedVector3D &pos, const CFixedVector3D &rotation, fixed timePeriod) |
void | InsertNode (const int index, const CFixedVector3D &pos, const CFixedVector3D &rotation, fixed timePeriod) |
void | RemoveNode (const int index) |
void | UpdateNodePos (const int index, const CFixedVector3D &pos) |
void | UpdateNodeTime (const int index, fixed time) |
void | BuildSpline () |
void | Smooth () |
void | Constrain () |
Public Member Functions inherited from SNSpline | |
virtual | ~SNSpline () |
void | BuildSpline () |
void | Smooth () |
Public Member Functions inherited from RNSpline | |
RNSpline () | |
virtual | ~RNSpline () |
void | AddNode (const CFixedVector3D &pos) |
void | BuildSpline () |
CVector3D | GetPosition (float time) const |
CVector3D | GetRotation (float time) const |
const std::vector< SplineData > & | GetAllNodes () const |
Additional Inherited Members | |
Public Attributes inherited from RNSpline | |
fixed | MaxDistance |
int | NodeCount |
Protected Member Functions inherited from RNSpline | |
CVector3D | GetStartVelocity (int index) |
CVector3D | GetEndVelocity (int index) |
Protected Attributes inherited from RNSpline | |
std::vector< SplineData > | Node |
Timed Nonuniform Spline for paths with different time intervals between nodes.
|
virtualdefault |
void TNSpline::AddNode | ( | const CFixedVector3D & | pos, |
const CFixedVector3D & | rotation, | ||
fixed | timePeriod | ||
) |
void TNSpline::BuildSpline | ( | ) |
void TNSpline::Constrain | ( | ) |
void TNSpline::InsertNode | ( | const int | index, |
const CFixedVector3D & | pos, | ||
const CFixedVector3D & | rotation, | ||
fixed | timePeriod | ||
) |
void TNSpline::RemoveNode | ( | const int | index | ) |
void TNSpline::Smooth | ( | ) |
void TNSpline::UpdateNodePos | ( | const int | index, |
const CFixedVector3D & | pos | ||
) |
void TNSpline::UpdateNodeTime | ( | const int | index, |
fixed | time | ||
) |