VR-Vantage API Documentation
MyObjectClasses.hpp
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2007 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
7 
8 #ifndef MyObjectClasses_H_
9 #define MyObjectClasses_H_
10 
11 #include <vrvCore/DtAgent.h>
12 #include <../examples/exampleSimpleAgent/MyObjectAgent.hpp>
13 
14 
15 
18 {
19 public:
22 
25  // Load geometry and add it to the scene root.
26  virtual void createModel();
27 
28  // Rotate model by degrees.
29  virtual void setRotationAngle(double rotationAngleInDegrees);
30 
31 
32 protected:
33  virtual MyObject* findObjectAsMyObject();
34 
35 };
36 
37 
38 
40 #include "MyObject.h"
41 
42 
43 
46 {
47 public:
49  MyObjectClassDefinition(const std::string& className = "MyObject");
50 
52  virtual ~MyObjectClassDefinition();
53 
56  {
60  };
61 
62 };
63 
64 
65 #include <vrvCore/DtAgentCreator.h>
66 #include <vrvCore/DtAgentFactory.h>
67 
68 
69 
71 
74 {
75 public:
76 
79 
81  virtual ~MyObjectClassesCreator();
82 
84 
87 
90 
91 protected:
93 
94  static bool theRegisteredFlag;
96 };
97 
98 
99 
100 #endif
101 


Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)