Pyrogenesis  trunk
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
RNSpline Class Reference

Rounded Nonuniform Spline for describing spatial curves or paths with constant speed. More...

#include <NUSpline.h>

Inheritance diagram for RNSpline:
Inheritance graph
[legend]
Collaboration diagram for RNSpline:
Collaboration graph
[legend]

Public Member Functions

 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
 

Public Attributes

fixed MaxDistance
 
int NodeCount
 

Protected Member Functions

CVector3D GetStartVelocity (int index)
 
CVector3D GetEndVelocity (int index)
 

Protected Attributes

std::vector< SplineDataNode
 

Detailed Description

Rounded Nonuniform Spline for describing spatial curves or paths with constant speed.

Constructor & Destructor Documentation

RNSpline::RNSpline ( )
RNSpline::~RNSpline ( )
virtualdefault

Member Function Documentation

void RNSpline::AddNode ( const CFixedVector3D pos)
void RNSpline::BuildSpline ( )
const std::vector< SplineData > & RNSpline::GetAllNodes ( ) const
CVector3D RNSpline::GetEndVelocity ( int  index)
protected
CVector3D RNSpline::GetPosition ( float  time) const
CVector3D RNSpline::GetRotation ( float  time) const
CVector3D RNSpline::GetStartVelocity ( int  index)
protected

Member Data Documentation

fixed RNSpline::MaxDistance
std::vector<SplineData> RNSpline::Node
protected
int RNSpline::NodeCount

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