VR-Vantage API Documentation
DtWidgetClasses.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 DtWidgetClasses_H_
9 #define DtWidgetClasses_H_
10 
11 #include <vrvCore/vrvCore.h>
12 
13 #include <vrvCore/DtAgent.h>
15 
16 namespace makVrv
17 {
18 
21 {
22 public:
25 
27  virtual ~DtWidgetAgentImplementation();
29  virtual void setColor(float r,float g,float b,float a);
30 
32  virtual void setSize(float width,float height);
33 
36  virtual void setOverlay(unsigned int overlayId);
37 
39  virtual void setBackgroundImage(const std::string& filename);
40 
42  virtual void setModelDefinition(const std::string& str);
43 
45  virtual void setEventsEnabled(bool enabled);
46 
48  virtual void setVisible(bool visible);
49 
52  virtual void setOrigin(float originX,float originY);
53 
55  virtual void setPadding(float paddingX,float paddingY);
56 
58  virtual void setPosition(float x,float y,float z,float w);
59 
61  virtual void setOrderGroup(unsigned int group);
62 
63 
64 protected:
65  virtual DtWidget* findObjectAsDtWidget();
66 
67 };
68 
69 }
70 
72 #include <vrvCore/DtWidget.h>
73 
74 namespace makVrv
75 {
76 
79 {
80 public:
82  DtWidgetClassDefinition(const std::string& className = "DtWidget");
83 
85  virtual ~DtWidgetClassDefinition();
86 
89  {
101  end_FunctionIds
102  };
103 
104 };
105 
106 }
107 #include <vrvCore/DtAgentCreator.h>
108 #include <vrvCore/DtAgentFactory.h>
109 
110 namespace makVrv
111 {
112 
113 class DtWidgetClassDefinition;
114 
117 {
118 public:
119 
122 
124  virtual ~DtWidgetClassesCreator();
125 
126  static makVrv::DtAgentCreator* create();
127 
129  virtual makVrv::DtAgent* createAgent(makVrv::DtAgentManagerInterface& sceneInterface);
130 
133 
134 protected:
136 
137  static bool theRegisteredFlag;
139 };
140 
141 }
142 
143 #endif
144 


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