class limboSaber_c : public CAVERN_perfLimbo_c

Demonstration of a derived class which includes simple model manipulation

Inheritance:


Public Methods

limboSaber_c ()
Class constructor.
virtual ~limboSaber_c ()
Class destructor.
virtual void init ( int argc, char** argv )
Refines the original initialization by loading additional models.
virtual void initCustomPfClasses ()
Refines Performer initialization to include custom classes.
virtual void process ()
Refines by adding calls to the model client and checking for input.
virtual void exit ()
Refines by cleaning up additional data members.
void checkButtons ()
Check for user input

Protected Fields

CAVERNdb_client_c* modelClient
CAVERN database client handles transformations and manipulations
pfNetDCS* saber1
three light saber nodes

Inherited from CAVERN_perfLimbo_c:

Public Methods

void doOnePerformerCycle()
inline pfScene* getMainScene()
inline pfDCS* getMainNavDCS()
inline pfDCS* getMainLocalDCS()
inline pfDCS* getMainWandDCS()

Documentation

Demonstration of a derived class which includes simple model manipulation. Rather than hack into existing code to create new functionality, this second generation version of Limbo is intended to allow for extensibility through subclassing. This simple class is an example which uses a database client for sharing state information.

Three light sabers are loaded into the application, and each of the three CAVE Wand buttons will snap one of the wands into the user's hand. There is no protocol for blocking, but this is rather intended as a simple example.

void checkButtons()
Check for user input. Each of the CAVE Wand buttons is associated with one of the light sabers. This method checks to see which button was pressed. It snaps the appropriate saber to the user's hand position and orientation. That transformation matrix is sent transparently to other users through the use of the pfNetDCS class.


This class has no child classes.
Author:
Chris Scharver, Electronic Visualization Laboratory

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