VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
examples
tutorialDistributedSimulation4C
ExampleSimulationObject.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2011 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
8
9
#pragma once
10
11
#include <vrvCore/DtDe.h>
12
#include <vrvCore/DtUniqueID.h>
13
14
#include <osg/PositionAttitudeTransform>
15
16
#include <string>
17
18
namespace
makVrv
19
{
20
21
class
ExampleSimulationObject
22
{
23
24
public
:
25
27
ExampleSimulationObject
(
DtDe
& de, DtUniqueID
id
);
28
29
virtual
~ExampleSimulationObject
();
30
32
void
loadModel
(
const
std::string& filename);
33
35
void
removeModel
();
36
38
void
setRotationAngle
(
double
rotationAngleInDegrees);
39
40
protected
:
41
42
DtDe
&
myDe
;
43
osg::ref_ptr<osg::PositionAttitudeTransform>
myPat
;
44
45
};
46
}
Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)