OpenCOVER
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
15namespace vrui
16{
17
18class vruiTransformNode;
19class vruiPanelGeometryProvider;
20
21class OPENVRUIEXPORT coPanelGeometry
22{
23public:
24 coPanelGeometry(const std::string &textureName);
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
38protected:
40
41private:
42 std::string textureName;
43 mutable vruiPanelGeometryProvider *provider;
44};
45}
46#endif
collaborative interface manager
Definition: coVRCommunication.h:41
Definition: coPanelGeometry.h:22
virtual const char * getClassName() const
get the Element's classname
virtual ~coPanelGeometry()
virtual bool isOfClassName(const char *) const
check if the Element or any ancestor is this classname
virtual float getHeight()
const char * getTextureName() const
virtual float getDepth()
coPanelGeometry(const std::string &textureName)
virtual float getWidth()
virtual void attachGeode(vruiTransformNode *node)
Definition: vruiPanelGeometryProvider.h:20
Definition: vruiTransformNode.h:18