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

#include <NUSpline.h>

Inheritance diagram for RNSpline:
SNSpline TNSpline CCinemaPath

Public Member Functions

 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
 

Public Attributes

float MaxDistance
 
int NodeCount
 

Protected Member Functions

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

Protected Attributes

std::vector< SplineDataNode
 

Detailed Description

Definition at line 37 of file NUSpline.h.

Constructor & Destructor Documentation

RNSpline::RNSpline ( )
inline

Definition at line 41 of file NUSpline.h.

virtual RNSpline::~RNSpline ( )
inlinevirtual

Definition at line 42 of file NUSpline.h.

Member Function Documentation

void RNSpline::AddNode ( const CVector3D pos)

Definition at line 49 of file NUSpline.cpp.

void RNSpline::BuildSpline ( )

Definition at line 68 of file NUSpline.cpp.

const std::vector<SplineData>& RNSpline::GetAllNodes ( ) const
inline

Definition at line 48 of file NUSpline.h.

CVector3D RNSpline::GetEndVelocity ( int  index)
protected

Definition at line 132 of file NUSpline.cpp.

CVector3D RNSpline::GetPosition ( float  time) const

Definition at line 96 of file NUSpline.cpp.

CVector3D RNSpline::GetRotation ( float  time) const
CVector3D RNSpline::GetStartVelocity ( int  index)
protected

Definition at line 123 of file NUSpline.cpp.

Member Data Documentation

float RNSpline::MaxDistance

Definition at line 50 of file NUSpline.h.

std::vector<SplineData> RNSpline::Node
protected

Definition at line 54 of file NUSpline.h.

int RNSpline::NodeCount

Definition at line 51 of file NUSpline.h.


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