class pfNetDCS : public pfDCS, public CAVERNdb_sharedState_c Networked dynamic coordinate system class
| | pfNetDCS ( CAVERNdb_client_c *dbclient, const char *dbpath, const char *name ) Class constructor creates the DCS and its shared state |
|
| ~pfNetDCS () Class destructor. |
|
| getPath () const Return the database path string for this node |
|
| getName () const Return the database key name string for this node |
|
| netMat ( pfMatrix &m ) Set the transformation matrix for the coordinate system across the network. |
| | netRot ( const float &h, const float &p, const float &r ) Set a rotation across the network |
| | netTrans ( const float &x, const float &y, const float &z ) Set a translation across the network |
|
| netScale ( const float &s ) Set a scalar transformation across the network. |
| | netScale ( const float &xs, const float &ys, const float &zs ) Set a scalar transformation across the network |
|
| MATRIX_DATASIZE run-time determined size of 16 floating point values |
Networked dynamic coordinate system class. Dynamic coordinate systems are vital elements of manipulative elements of virtual environments. Modifying the coordinate system allows for easy methods to program changes in position, rotation, scaling, or appling other transformations. When used in a collaborative environment, a coordiante system should share its transformation state between connected users.This networked coordinate system class derives its transformation information from the pfDCS class and its sharing information from the CAVERN database shared state class. The matrix is transmitted to all connected clients whenever there is a modification.
Note that any local changes will need to explicitly call the pfDCS methods, as otherwise the overloaded methods will take precedent.
void netRot( const float &h, const float &p, const float &r )
p - pitch (rotation about x)
r - roll (rotation about y)
void netTrans( const float &x, const float &y, const float &z )
y - depth translation
z - vertical translation
void netScale( const float &xs, const float &ys, const float &zs )
ys - y scaling
zs - z scaling
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