Frapper  1.0a
Public Types | Public Member Functions | Protected Attributes | List of all members
S3DGameNode::Path Class Reference

#include <S3DGamePaths.h>

Inheritance diagram for S3DGameNode::Path:
Inheritance graph
[legend]

Public Types

enum  PathType {
  BASE, STILL, SPHERE, JUMP,
  LINE, SLING, FALL
}
 

Public Member Functions

 Path ()
 
 Path (Vec3 position, Quat orientation)
 
 Path (Vec3 startPosition, Vec3 endPosition)
 
 Path (Vec3 startPosition, Vec3 endPosition, Quat orientation)
 
virtual ~Path ()
 
virtual Quat GetOrientation (const float &alpha)
 
virtual Vec3 GetPosition (const float &alpha)
 
virtual Vec3 GetStartPos () const
 
virtual Vec3 GetEndPos () const
 
virtual float GetNormalizedLength ()
 
virtual void SetNormalizedLength (float val)
 
virtual PathType GetPathType ()
 
QList< GameEvent * > & Events ()
 
QString Name () const
 
void Name (QString val)
 

Protected Attributes

Vec3 mPosition
 
Vec3 mStartPos
 
Vec3 mEndPos
 
Quat mOrientation
 
float mLength
 
QString mName
 
QList< GameEvent * > mEvents
 

Member Enumeration Documentation

Enumerator:
BASE 
STILL 
SPHERE 
JUMP 
LINE 
SLING 
FALL 

Constructor & Destructor Documentation

S3DGameNode::Path::Path ( )
inline
S3DGameNode::Path::Path ( Vec3  position,
Quat  orientation 
)
inline
S3DGameNode::Path::Path ( Vec3  startPosition,
Vec3  endPosition 
)
inline
S3DGameNode::Path::Path ( Vec3  startPosition,
Vec3  endPosition,
Quat  orientation 
)
inline
virtual S3DGameNode::Path::~Path ( )
inlinevirtual

Member Function Documentation

virtual Quat S3DGameNode::Path::GetOrientation ( const float &  alpha)
inlinevirtual
virtual Vec3 S3DGameNode::Path::GetPosition ( const float &  alpha)
inlinevirtual
virtual Vec3 S3DGameNode::Path::GetStartPos ( ) const
inlinevirtual
virtual Vec3 S3DGameNode::Path::GetEndPos ( ) const
inlinevirtual
virtual float S3DGameNode::Path::GetNormalizedLength ( )
inlinevirtual
virtual void S3DGameNode::Path::SetNormalizedLength ( float  val)
inlinevirtual
virtual PathType S3DGameNode::Path::GetPathType ( )
inlinevirtual
QList<GameEvent*>& S3DGameNode::Path::Events ( )
inline
QString S3DGameNode::Path::Name ( ) const
inline
void S3DGameNode::Path::Name ( QString  val)
inline

Member Data Documentation

Vec3 S3DGameNode::Path::mPosition
protected
Vec3 S3DGameNode::Path::mStartPos
protected
Vec3 S3DGameNode::Path::mEndPos
protected
Quat S3DGameNode::Path::mOrientation
protected
float S3DGameNode::Path::mLength
protected
QString S3DGameNode::Path::mName
protected
QList<GameEvent*> S3DGameNode::Path::mEvents
protected

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