![]() |
VR-Forces 4.3 Class Documentation
|
This is the implementation of the distributed draw object. More...
Public Member Functions | |
| DtExampleDrawObject (DtDe &de, DtUniqueID id) | |
| The Constructor for a distributed object must take a DtDe and a Unique Id. | |
| virtual | ~DtExampleDrawObject () |
| DTOR. | |
| void | drawSphere (double x, double y, double z, double r) |
| Draw a sphere centered at x,y,z with radius r. | |
| void | removeChildFromAllRoots () |
| Removes the child from all model set roots. | |
Protected Attributes | |
| DtDe & | myDe |
| osg::ref_ptr< osg::Node > | myNode |
This is the implementation of the distributed draw object.
When a DtExampleDrawObjectAgent is created on the master, one of these will be created locally on each display engine.
| makVrv::DtExampleDrawObject::DtExampleDrawObject | ( | DtDe & | de, |
| DtUniqueID | id | ||
| ) |
The Constructor for a distributed object must take a DtDe and a Unique Id.
|
virtual |
DTOR.
| void makVrv::DtExampleDrawObject::drawSphere | ( | double | x, |
| double | y, | ||
| double | z, | ||
| double | r | ||
| ) |
Draw a sphere centered at x,y,z with radius r.
| void makVrv::DtExampleDrawObject::removeChildFromAllRoots | ( | ) |
Removes the child from all model set roots.
|
protected |
|
protected |