class TcTravelScheme

TcTravelScheme class

Public Methods

TcTravelScheme(TcGfxComponent *navComp)
Constructor.
virtual ~TcTravelScheme()
Destructor.
virtual void travel()
Perform a travel update.
float compute_nav_height()
Computes the navigation height.
int checkForWall(float xvec, float yvec, float zvec)
Ensures the user isn't walking through a wll.
int checkCaveWalk()
Moves the world back if a user physically tried to walk through a wall.
void setMaxHeight(const float &height)
Sets the maximum height the user can jump.

Protected Methods

TcTravelScheme()
Default constructor called by derived classes.

Documentation

TcTravelScheme class. This class encapsulates the algorithm used to define travel in a VE. Clients can inherit from this class and override the travel method to define their own algorithms. By default a simple walk scheme with collision detection is provided as the default travel scheme. This scheme is automatically instantiated by default.
TcTravelScheme(TcGfxComponent *navComp)
Constructor.

virtual ~TcTravelScheme()
Destructor.

virtual void travel()
Perform a travel update.

float compute_nav_height()
Computes the navigation height.

int checkForWall(float xvec, float yvec, float zvec)
Ensures the user isn't walking through a wll.

int checkCaveWalk()
Moves the world back if a user physically tried to walk through a wall.

void setMaxHeight(const float &height)
Sets the maximum height the user can jump.

TcTravelScheme()
Default constructor called by derived classes.


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de