![]() |
VR-Forces 4.0.4 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.
The Constructor for a distributed object must take a DtDe and a Unique Id.
| virtual makVrv::DtExampleDrawObject::~DtExampleDrawObject | ( | ) | [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.
Removes the child from all model set roots.
DtDe& makVrv::DtExampleDrawObject::myDe [protected] |
osg::ref_ptr<osg::Node> makVrv::DtExampleDrawObject::myNode [protected] |