COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
WSColorParameter.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 WSCOLORPARAMETER_H
9 #define WSCOLORPARAMETER_H
10 
11 #include "WSExport.h"
12 #include "WSParameter.h"
13 
14 class WSColorParameter : public WSParameter
15 {
16 public:
19 
24  void setValue(QString inValue)
25  {
26  red = inValue;
27  }
28 
33  QString getRed()
34  {
35  return red;
36  }
37 
42  void setGreen(QString inValue)
43  {
44  green = inValue;
45  }
46 
51  QString getGreen()
52  {
53  return green;
54  }
55 
60  void setBlue(QString inValue)
61  {
62  blue = inValue;
63  }
64 
69  QString getBlue()
70  {
71  return blue;
72  }
73 
78  void setAlpha(QString inValue)
79  {
80  alpha = inValue;
81  }
82 
87  QString getAlpha()
88  {
89  return alpha;
90  }
91 
92 private:
93  QString red;
94  QString green;
95  QString blue;
96  QString alpha;
97 };
98 
99 #endif // WSCOLORPARAMETER_H
void setGreen(QString inValue)
Definition: WSColorParameter.h:42
void setBlue(QString inValue)
Definition: WSColorParameter.h:60
QString getRed()
Definition: WSColorParameter.h:33
QString getBlue()
Definition: WSColorParameter.h:69
void setAlpha(QString inValue)
Definition: WSColorParameter.h:78
Definition: WSColorParameter.h:14
GLfloat GLfloat GLfloat alpha
Definition: khronos-glext.h:6341
QString alpha
Definition: WSColorParameter.h:96
void setValue(QString inValue)
Definition: WSColorParameter.h:24
QString blue
Definition: WSColorParameter.h:95
QString getGreen()
Definition: WSColorParameter.h:51
GLfloat green
Definition: khronos-glext.h:6341
GLfloat GLfloat blue
Definition: khronos-glext.h:6341
QString getAlpha()
Definition: WSColorParameter.h:87
QString green
Definition: WSColorParameter.h:94
QString red
Definition: WSColorParameter.h:93