VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
22  {
23 
24  public:
25 
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 
44 
45  };
46 }
void loadModel(const std::string &filename)
Called to load an image model into the scene from file.
void removeModel()
Called to remove the current image model from the scene.
Contains makVrv::DtDe class.
void setRotationAngle(double rotationAngleInDegrees)
Called to rotate the current image model on the scene.
ExampleSimulationObject(DtDe &de, DtUniqueID id)
The Constructor for a distributed object must take a DtIg and a Unique Id.
Definition: ExampleSimulationObject.h:21
Contains makVrv::DtUniqueID type.
DtDe & myDe
Definition: ExampleSimulationObject.h:42
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::PositionAttitudeTransform > myPat
Definition: ExampleSimulationObject.h:43

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)