VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtExampleObject.h
Go to the documentation of this file.
1 // /******************************************************************************
2 // ** Copyright (c) 2019 MAK Technologies, Inc.
3 // ** All rights reserved.
4 // ******************************************************************************/
5 #ifndef DtExampleObject_H_
6 #define DtExampleObject_H_
7 
8 #include <vrvCore/DtDe.h>
9 #include <vrvCore/DtUniqueID.h>
10 
11 #include <osg/PositionAttitudeTransform>
12 
13 #include <string>
14 
15 namespace makVrv
16 {
18  {
19 
20  public:
21 
24 
26  virtual ~DtExampleObject();
27 
29  void loadModel(const std::string& filename);
30 
32  void setRotationAngle(double rotationAngleInDegrees);
33 
34  protected:
35 
38 
39  };
40 
41 }
42 
43 #endif
DtExampleObject(DtDe &de, DtUniqueID id)
The Constructor for a distributed object must take a DtDe and a Unique Id.
Contains makVrv::DtDe class.
virtual ~DtExampleObject()
Virtual DTOR.
Definition: DtExampleObject.h:17
void loadModel(const std::string &filename)
Load the provided model.
unsigned long long DtUniqueID
Definition: DtUniqueID.h:22
void setRotationAngle(double rotationAngleInDegrees)
Set the new rotation angle of the model.
Contains makVrv::DtUniqueID type.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
osg::ref_ptr< osg::PositionAttitudeTransform > myPat
Definition: DtExampleObject.h:37
DtDe & myDe
Definition: DtExampleObject.h:36

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)