VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtExampleDrawObject.h
Go to the documentation of this file.
1 // /******************************************************************************
2 // ** Copyright (c) 2019 MAK Technologies, Inc.
3 // ** All rights reserved.
4 // ******************************************************************************/
5 
8 
9 #ifndef DtExampleDrawObject_H_
10 #define DtExampleDrawObject_H_
11 
12 #include <vrvCore/DtDe.h>
13 #include <vrvCore/DtUniqueID.h>
14 
15 #include <osg/Node>
16 
17 #include <string>
18 
19 namespace makVrv
20 {
24  {
25 
26  public:
27 
30 
32  virtual ~DtExampleDrawObject();
33 
35  void drawSphere(double x, double y, double z, double r);
36 
39 
40  protected:
41 
43 
44  // Keep track of the node drawSphere creates so that it will be cleaned up properly
46 
47  };
48 
49 }
50 
51 #endif
This is the implementation of the distributed draw object. When a DtExampleDrawObjectAgent is created...
Definition: DtExampleDrawObject.h:23
DtExampleDrawObject(DtDe &de, DtUniqueID id)
The Constructor for a distributed object must take a DtDe and a Unique Id.
DtDe & myDe
Definition: DtExampleDrawObject.h:42
void removeChildFromAllRoots()
Removes the child from all model set roots.
Contains makVrv::DtDe class.
void drawSphere(double x, double y, double z, double r)
Draw a sphere centered at x,y,z with radius r.
virtual ~DtExampleDrawObject()
DTOR.
Contains makVrv::DtUniqueID type.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
osg::ref_ptr< osg::Node > myNode
Definition: DtExampleDrawObject.h:45

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)