class CAVERN_perfCAVENavCollision_c

Performer CAVE Navigation and Collision detection class

Public Methods

virtual void init (pfScene *scene, pfDCS *navDCS, int backCull=0)
Initialize
virtual void navigate ()
Perform navigation.
inline float getCurrentCAVETurn ()
Retrieve the current CAVE turn angle about the vertical axis
inline void setGravity (bool grav)
Turn gravity on or off
inline void lockToFloor (bool lock)
Lock navigation to the minimum height
inline void checkCollisions (bool collision)
Check collisions against geometry

Documentation

Performer CAVE Navigation and Collision detection class. This class is used to navigate through a performer scene. Collision detection is applied to the floor as well as walls so that you can't walk through objects.
virtual void init(pfScene *scene, pfDCS *navDCS, int backCull=0)
Initialize
Parameters:
scene - Performer scene.
navDCS - Performer navigational DCS (ie DCS underwhich the world is kept).
backCull - Turn backface culling on or off during collision detect. By default culling is turned off (set to zero).

inline float getCurrentCAVETurn()
Retrieve the current CAVE turn angle about the vertical axis. This value is usually given to the CAVERN_perfAvatar_c class to show the direction the avatar's body is facing.

inline void setGravity(bool grav)
Turn gravity on or off
Parameters:
grav - true = on, false = off

inline void lockToFloor(bool lock)
Lock navigation to the minimum height
Parameters:
lock - true = on, false = off

inline void checkCollisions(bool collision)
Check collisions against geometry
Parameters:
collision - true = on, false = off


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