VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
MyObject.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2019 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/DtDe.h>
13 #include <vrvCore/DtUniqueID.h>
14 
15 #include <osg/PositionAttitudeTransform>
16 
17 #include <string>
18 
24 class MyObject
25 {
26 
27 public:
28 
32 
34  virtual ~MyObject();
35 
38  void createModel();
39 
41  void setRotationAngle(double rotationAngleInDegrees);
42 
43 protected:
44 
47 
48 };
Contains makVrv::DtDe class.
Declaration of a custom object that manages a model and its properties.
Definition: MyObject.h:24
void createModel()
Create an OpenSceneGraph geometry.
void setRotationAngle(double rotationAngleInDegrees)
Set the rotation angle which gets called every tick.
unsigned long long DtUniqueID
Definition: DtUniqueID.h:22
MyObject(makVrv::DtDe &de, makVrv::DtUniqueID id)
CTOR.
virtual ~MyObject()
DTOR.
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: MyObject.h:46
makVrv::DtDe & myDe
Definition: MyObject.h:45

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)