VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
makVrv::DtExampleDrawObject Class Reference

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.

Public Member Functions

 DtExampleDrawObject (DtDe &de, DtUniqueID id)
 
virtual ~DtExampleDrawObject ()
 
void drawSphere (double x, double y, double z, double r)
 
void removeChildFromAllRoots ()
 

Protected Attributes

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

Constructor & Destructor Documentation

makVrv::DtExampleDrawObject::DtExampleDrawObject ( DtDe de,
DtUniqueID  id 
)

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

virtual makVrv::DtExampleDrawObject::~DtExampleDrawObject ( )
virtual

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.

void makVrv::DtExampleDrawObject::removeChildFromAllRoots ( )

Removes the child from all model set roots.

Member Data Documentation

DtDe& makVrv::DtExampleDrawObject::myDe
protected
osg::ref_ptr<osg::Node> makVrv::DtExampleDrawObject::myNode
protected

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

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)