Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
TNSpline Class Reference

#include <NUSpline.h>

Inheritance diagram for TNSpline:
SNSpline RNSpline CCinemaPath

Public Member Functions

virtual ~TNSpline ()
 
void AddNode (const CVector3D &pos, const CVector3D &rotation, float timePeriod)
 
void PushNode ()
 
void InsertNode (const int index, const CVector3D &pos, const CVector3D &rotation, float timePeriod)
 
void RemoveNode (const int index)
 
void UpdateNodeTime (const int index, float time)
 
void UpdateNodePos (const int index, const CVector3D &pos)
 
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 CVector3D &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
float MaxDistance
 
int NodeCount
 
- Protected Member Functions inherited from RNSpline
CVector3D GetStartVelocity (int index)
 
CVector3D GetEndVelocity (int index)
 
- Protected Attributes inherited from RNSpline
std::vector< SplineDataNode
 

Detailed Description

Definition at line 67 of file NUSpline.h.

Constructor & Destructor Documentation

virtual TNSpline::~TNSpline ( )
inlinevirtual

Definition at line 70 of file NUSpline.h.

Member Function Documentation

void TNSpline::AddNode ( const CVector3D pos,
const CVector3D rotation,
float  timePeriod 
)

Definition at line 166 of file NUSpline.cpp.

void TNSpline::BuildSpline ( )
inline

Definition at line 79 of file NUSpline.h.

void TNSpline::Constrain ( )

Definition at line 239 of file NUSpline.cpp.

void TNSpline::InsertNode ( const int  index,
const CVector3D pos,
const CVector3D rotation,
float  timePeriod 
)

Definition at line 190 of file NUSpline.cpp.

void TNSpline::PushNode ( )
inline

Definition at line 73 of file NUSpline.h.

void TNSpline::RemoveNode ( const int  index)

Definition at line 208 of file NUSpline.cpp.

void TNSpline::Smooth ( )
inline

Definition at line 80 of file NUSpline.h.

void TNSpline::UpdateNodePos ( const int  index,
const CVector3D pos 
)

Definition at line 231 of file NUSpline.cpp.

void TNSpline::UpdateNodeTime ( const int  index,
float  time 
)

Definition at line 223 of file NUSpline.cpp.


The documentation for this class was generated from the following files: