VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
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 Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)