VR-Forces 5.0.1 Developer's Guide
 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. This object is intended to be...
Definition: MyObject.h:24
void createModel()
Create an OpenSceneGraph geometry. The geometry is added to the core VRV DtOsgRenderer class to handl...
void setRotationAngle(double rotationAngleInDegrees)
Set the rotation angle which gets called every tick.
MyObject(makVrv::DtDe &de, makVrv::DtUniqueID id)
CTOR. DtDe and DtUniqueId are not used by this class.
virtual ~MyObject()
DTOR.
Contains makVrv::DtUniqueID type.
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: MyObject.h:46
makVrv::DtDe & myDe
Definition: MyObject.h:45

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)