OpenCOVER
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
coPanelGeometry.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 CO_PANEL_GEOMETRY_H
9 #define CO_PANEL_GEOMETRY_H
10 
11 #include <util/coTypes.h>
12 
13 #include <string>
14 
15 namespace vrui
16 {
17 
18 class vruiTransformNode;
19 class vruiPanelGeometryProvider;
20 
21 class OPENVRUIEXPORT coPanelGeometry
22 {
23 public:
24  coPanelGeometry(const std::string &textureName);
25  virtual ~coPanelGeometry();
26  virtual void attachGeode(vruiTransformNode *node);
27  virtual float getWidth();
28  virtual float getHeight();
29  virtual float getDepth();
30 
31  const char *getTextureName() const;
32 
34  virtual const char *getClassName() const;
36  virtual bool isOfClassName(const char *) const;
37 
38 protected:
40 
41 private:
42  std::string textureName;
43  mutable vruiPanelGeometryProvider *provider;
44 };
45 }
46 #endif
Definition: vruiTransformNode.h:17
Definition: vruiPanelGeometryProvider.h:19
Definition: coPanelGeometry.h:21