OpenCOVER
vruiButtonProvider.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_BUTTON_PROVIDER_H
9#define VRUI_BUTTON_PROVIDER_H
10
12
13#include <OpenVRUI/util/vruiLog.h>
14
15namespace vrui
16{
17
18class vruiTransformNode;
19
20class OPENVRUIEXPORT vruiButtonProvider
21{
22
23public:
25 {
26 this->element = element;
27 }
28
30
32
33 virtual void createGeometry() = 0;
34 virtual void resizeGeometry() = 0;
35
36 virtual float getWidth() const = 0;
37 virtual float getHeight() const = 0;
38
39 virtual void setRotation(float /*angle*/)
40 {
41 VRUILOG("vruiButtonProvider::setRotation warn: stub called")
42 }
43
44 virtual vruiTransformNode *getDCS() = 0;
45
46protected:
48};
49}
50#endif
collaborative interface manager
Definition: coVRCommunication.h:41
Definition: coButtonGeometry.h:27
ActiveGeometry
Definition: coButtonGeometry.h:33
Definition: vruiButtonProvider.h:21
virtual float getWidth() const =0
virtual vruiTransformNode * getDCS()=0
virtual void switchGeometry(coButtonGeometry::ActiveGeometry active)=0
vruiButtonProvider(coButtonGeometry *element)
Definition: vruiButtonProvider.h:24
virtual void resizeGeometry()=0
virtual void createGeometry()=0
coButtonGeometry * element
Definition: vruiButtonProvider.h:47
virtual float getHeight() const =0
virtual void setRotation(float)
Definition: vruiButtonProvider.h:39
Definition: vruiTransformNode.h:18