TrackControlObject Class Reference

#include <TrackControlObject.h>

Inheritance diagram for TrackControlObject:
SelectableObject GameObject

List of all members.

Public Member Functions

 TrackControlObject (int _val, Ogre::Vector3 _pos, Track *_track)
 ~TrackControlObject ()
bool move (Ogre::Real _time)
 Perform movement calculations. Generally overridden in inherited classes.
int getPointID () const
void setPointID (const int &_val)
TrackControlObjectgetLink () const
void setLink (TrackControlObject *_val)
TrackgetTrack () const
void setTrack (Track *_val)
Ogre::Vector3 getInitialPosition () const
void setInitialPosition (Ogre::Vector3 &_val)
Ogre::Real getControlRadius () const
Ogre::Real getControlRadiusSquared () const
void setControlRadius (Ogre::Real &_val)

Protected Member Functions

void setID ()

Protected Attributes

int m_pointID
TrackControlObjectm_link
Trackm_track
Ogre::Vector3 m_initialPosition
Ogre::Real m_controlRadius

Static Protected Attributes

static int s_nextID = 0

Detailed Description

TrackControlObject. Essentially, a wrapper to allow easy manipulation of the control points of a track.

Definition at line 20 of file TrackControlObject.h.


Constructor & Destructor Documentation

TrackControlObject::TrackControlObject ( int  _val,
Ogre::Vector3  _pos,
Track _track 
)

Definition at line 12 of file TrackControlObject.cpp.

TrackControlObject::~TrackControlObject (  )  [inline]

Definition at line 25 of file TrackControlObject.h.


Member Function Documentation

Ogre::Real TrackControlObject::getControlRadius (  )  const

Definition at line 104 of file TrackControlObject.cpp.

Ogre::Real TrackControlObject::getControlRadiusSquared (  )  const

Definition at line 109 of file TrackControlObject.cpp.

Ogre::Vector3 TrackControlObject::getInitialPosition (  )  const

Definition at line 94 of file TrackControlObject.cpp.

TrackControlObject * TrackControlObject::getLink (  )  const

Definition at line 47 of file TrackControlObject.cpp.

int TrackControlObject::getPointID (  )  const

Definition at line 37 of file TrackControlObject.cpp.

Track * TrackControlObject::getTrack (  )  const

Definition at line 84 of file TrackControlObject.cpp.

bool TrackControlObject::move ( Ogre::Real  _time  )  [virtual]

Perform movement calculations. Generally overridden in inherited classes.

Reimplemented from GameObject.

Definition at line 57 of file TrackControlObject.cpp.

void TrackControlObject::setControlRadius ( Ogre::Real &  _val  ) 

Definition at line 114 of file TrackControlObject.cpp.

void TrackControlObject::setID (  )  [protected, virtual]

Reimplemented from GameObject.

Definition at line 6 of file TrackControlObject.cpp.

void TrackControlObject::setInitialPosition ( Ogre::Vector3 &  _val  ) 

Definition at line 99 of file TrackControlObject.cpp.

void TrackControlObject::setLink ( TrackControlObject _val  ) 

Definition at line 52 of file TrackControlObject.cpp.

void TrackControlObject::setPointID ( const int &  _val  ) 

Definition at line 42 of file TrackControlObject.cpp.

void TrackControlObject::setTrack ( Track _val  ) 

Definition at line 89 of file TrackControlObject.cpp.


Member Data Documentation

Ogre::Real TrackControlObject::m_controlRadius [protected]

Definition at line 60 of file TrackControlObject.h.

Ogre::Vector3 TrackControlObject::m_initialPosition [protected]

Definition at line 59 of file TrackControlObject.h.

Definition at line 55 of file TrackControlObject.h.

Definition at line 53 of file TrackControlObject.h.

Definition at line 57 of file TrackControlObject.h.

int TrackControlObject::s_nextID = 0 [static, protected]

Reimplemented from SelectableObject.

Definition at line 51 of file TrackControlObject.h.


The documentation for this class was generated from the following files:
Generated on Fri Aug 20 08:28:49 2010 for VecTRacer by  doxygen 1.6.3