In file NsgCAVENavCmd.hxx:

class NsgCAVENavCmd : public NsgCmd

This command class derived from NsgCmd handles the CAVE navigation

Inheritance:


Public Methods

NsgCAVENavCmd (NsgInterface* cmdInterface)
Constructor that calls with NsgCmd with its identifier string("NSGCAVENAV") and the NsgInterface
virtual ~NsgCAVENavCmd ()
destructor
virtual int parseStream ( const char* instr )
called by NsgInterpreter
virtual void execute ()
Calls the doCAVENav command of NsgInterface
virtual void toStream ( ostrstream& obuf )
Serialises this command by putting the command name and the 16 float transform into the given stream
inline void setTransform (float* xform)
Sets the CAVE transform matrix

Inherited from NsgCmd:

Public Methods

inline string getToken()

Documentation

This command class derived from NsgCmd handles the CAVE navigation. This is just a temporary hack as the distributed CAVElib should be used. It stores the CAVE transformation as an array of 16 floats.
virtual int parseStream( const char* instr )
called by NsgInterpreter. Double checks that its correct command and parses the input string for 16 float CAVEtransform returns 1 if succesful, if its the wrong command returns 0
Parameters:
cmdString - string of the form "NSGCAVENAV m[0] ... m[15]"

virtual void toStream( ostrstream& obuf )
Serialises this command by putting the command name and the 16 float transform into the given stream
Parameters:
obuf - output string stream

inline void setTransform(float* xform)
Sets the CAVE transform matrix
Parameters:
xform - array of 16 floats (dangerous!)


This class has no child classes.
Author:
Chris Scharver, Shalini Venkataraman

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