OpenCOVER
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
vruiPanelGeometryProvider.h
Go to the documentation of this file.
1 /* This file is part of COVISE.
2 
3  You can use it under the terms of the GNU Lesser General Public License
4  version 2.1 or later, see lgpl-2.1.txt.
5 
6  * License: LGPL 2+ */
7 
8 #ifndef VRUI_PANEL_GEOMETRY_H
9 #define VRUI_PANEL_GEOMETRY_H
10 
12 
13 namespace vrui
14 {
15 
16 class vruiTransformNode;
17 class coPanelGeometry;
18 
19 class OPENVRUIEXPORT vruiPanelGeometryProvider
20 {
21 public:
23  {
24  this->geometry = geometry;
25  }
26  virtual ~vruiPanelGeometryProvider();
27  virtual void attachGeode(vruiTransformNode *node) = 0;
28  virtual float getWidth() const = 0;
29  virtual float getHeight() const = 0;
30  virtual float getDepth() const = 0;
31 
32 private:
33  coPanelGeometry *geometry;
34 };
35 }
36 #endif
Definition: vruiTransformNode.h:17
vruiPanelGeometryProvider(coPanelGeometry *geometry)
Definition: vruiPanelGeometryProvider.h:22
Definition: vruiPanelGeometryProvider.h:19
Definition: coPanelGeometry.h:21