VR-Forces 4.7 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
exampleDistributedObject
DtExampleObject.h
Go to the documentation of this file.
1
// /******************************************************************************
2
// ** Copyright (c) 2008 MAK Technologies, Inc.
3
// ** All rights reserved.
4
// ******************************************************************************/
5
// /******************************************************************************
6
// ** $RCSfile: DtExampleObject.h,v $ $Revision: 1.4 $ $State: Exp $
7
// ******************************************************************************/
8
9
#ifndef DtExampleObject_H_
10
#define DtExampleObject_H_
11
12
#include <
vrvCore/DtDe.h
>
13
#include <
vrvCore/DtUniqueID.h
>
14
15
#include <osg/PositionAttitudeTransform>
16
17
#include <string>
18
19
namespace
makVrv
20
{
21
class
DtExampleObject
22
{
23
24
public
:
25
27
DtExampleObject
(
DtDe
& de,
DtUniqueID
id
);
28
29
virtual
~DtExampleObject
();
30
31
void
loadModel
(
const
std::string&
filename
);
32
33
void
setRotationAngle
(
double
rotationAngleInDegrees);
34
35
protected
:
36
37
DtDe
&
myDe
;
38
osg::ref_ptr<osg::PositionAttitudeTransform>
myPat
;
39
40
};
41
42
}
43
44
#endif
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)