VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Attributes
makVrv::DtExampleDrawObject Class Reference

This is the implementation of the distributed draw object. More...

List of all members.

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

DtDemyDe
osg::ref_ptr< osg::Node > myNode

Detailed Description

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.


Constructor & Destructor Documentation

The Constructor for a distributed object must take a DtDe and a Unique Id.

DTOR.


Member Function Documentation

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.


Member Data Documentation

osg::ref_ptr<osg::Node> makVrv::DtExampleDrawObject::myNode [protected]

The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)