VR-Forces 4.6 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
examples
exampleDistributedDraw
DtExampleDrawObject.h
Go to the documentation of this file.
1
// /******************************************************************************
2
// ** Copyright (c) 2008 MAK Technologies, Inc.
3
// ** All rights reserved.
4
// ******************************************************************************/
5
// /******************************************************************************
6
// ** $RCSfile: DtExampleDrawObject.h,v $ $Revision: 1.1 $ $State: Exp $
7
// ******************************************************************************/
8
11
12
#ifndef DtExampleDrawObject_H_
13
#define DtExampleDrawObject_H_
14
15
#include <
vrvCore/DtDe.h
>
16
#include <
vrvCore/DtUniqueID.h
>
17
18
#include <osg/Node>
19
20
#include <string>
21
22
namespace
makVrv
23
{
26
class
DtExampleDrawObject
27
{
28
29
public
:
30
32
DtExampleDrawObject
(
DtDe
& de,
DtUniqueID
id
);
33
35
virtual
~DtExampleDrawObject
();
36
38
void
drawSphere
(
double
x,
double
y,
double
z,
double
r);
39
41
void
removeChildFromAllRoots
();
42
43
protected
:
44
45
DtDe
&
myDe
;
46
47
// Keep track of the node drawSphere creates so that it will be cleaned up properly
48
osg::ref_ptr<osg::Node>
myNode
;
49
50
};
51
52
}
53
54
#endif
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)