OpenCOVER
coDialog.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_DIALOG_H
9#define CO_DIALOG_H
10
12#include <string>
13
14namespace vrui
15{
16
17class coRowContainer;
18class coMenuItem;
19class coButton;
20class coTexturedBackground;
21class coPopupHandle;
22class coFrame;
23class coUIElement;
24class vruiTransformNode;
25class vruiMatrix;
26
27class OPENVRUIEXPORT coDialog : public coUpdateable
28{
29protected:
32
33public:
34 coDialog(const std::string &name);
35 virtual ~coDialog();
36
40 virtual void childResized(bool shrink = true);
41 virtual void resizeToParent(float, float, float, bool shrink = true);
42 void setEnabled(bool on);
43 void setHighlighted(bool on);
44 void setVisible(bool on);
47 void setTransformMatrix(vruiMatrix *matrix, float scale);
48 void setScale(float scale);
49 float getScale() const;
50 float getWidth() const;
51 float getHeight() const;
52 float getDepth() const;
53 float getXpos() const;
54 float getYpos() const;
55 float getZpos() const;
56 void setPos(float x, float y, float z);
57 void setSize(float width, float height, float depth);
58 void setSize(float size);
59 bool update();
60 void show();
61 void hide();
62};
63}
64#endif
collaborative interface manager
Definition: coVRCommunication.h:41
Definition: coDialog.h:28
void setEnabled(bool on)
void removeElement(coUIElement *)
void setVisible(bool on)
virtual ~coDialog()
float getWidth() const
void setSize(float size)
virtual void resizeToParent(float, float, float, bool shrink=true)
void setTransformMatrix(vruiMatrix *matrix, float scale)
float getHeight() const
vruiTransformNode * getDCS()
void showElement(coUIElement *)
float getXpos() const
void addElement(coUIElement *)
void setHighlighted(bool on)
void setTransformMatrix(vruiMatrix *matrix)
coFrame * itemsFrame
Definition: coDialog.h:30
float getDepth() const
void setSize(float width, float height, float depth)
void setPos(float x, float y, float z)
coDialog(const std::string &name)
virtual void childResized(bool shrink=true)
void setScale(float scale)
float getYpos() const
float getZpos() const
coPopupHandle * handle
Definition: coDialog.h:31
float getScale() const
Definition: coFrame.h:29
Popup Handler.
Definition: coPopupHandle.h:35
Definition: coUIElement.h:53
objects that are derived from this class are called once per frame
Definition: coUpdateManager.h:20
Definition: vruiMatrix.h:20
Definition: vruiTransformNode.h:18