COVISE Core
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
14class WSColorParameter : public WSParameter
15{
16public:
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
92private:
93 QString red;
94 QString green;
95 QString blue;
96 QString alpha;
97};
98
99#endif // WSCOLORPARAMETER_H
GLfloat green
Definition: khronos-glext.h:6341
GLfloat GLfloat GLfloat alpha
Definition: khronos-glext.h:6341
GLfloat GLfloat blue
Definition: khronos-glext.h:6341
Definition: WSColorParameter.h:15
QString blue
Definition: WSColorParameter.h:95
void setValue(QString inValue)
Definition: WSColorParameter.h:24
QString getBlue()
Definition: WSColorParameter.h:69
QString getRed()
Definition: WSColorParameter.h:33
void setAlpha(QString inValue)
Definition: WSColorParameter.h:78
void setGreen(QString inValue)
Definition: WSColorParameter.h:42
QString red
Definition: WSColorParameter.h:93
QString alpha
Definition: WSColorParameter.h:96
QString getAlpha()
Definition: WSColorParameter.h:87
void setBlue(QString inValue)
Definition: WSColorParameter.h:60
QString getGreen()
Definition: WSColorParameter.h:51
QString green
Definition: WSColorParameter.h:94