struct that represents the color value triplet and an identifier
More...
#include <ColorValue.h>
|
| ColorValue () |
| empty constructor All values are initialized to 0; type is set to RGB
|
|
| ColorValue (double r, double g, double b, ColorType myType=TYPE_RGB) |
| constructor More...
|
|
void | SetColorValue (double r, double g, double b, ColorType myType) |
| empty constructor All values are initialized to 0; type is set to RGB
|
|
ColorValue & | operator= (const ColorValue &r) |
| assignment operator More...
|
|
double | GetMax () |
| gets the largest of the three color components
|
|
double | GetAverage () |
| gets the average of the three color components
|
|
double | GetMin () |
| gets the smallest of the three color components
|
|
|
double | c [3] |
| array containing three color components
|
|
ColorType | type |
| specifier which color space is used
|
|
struct that represents the color value triplet and an identifier
stira::imagedata::ColorValue::ColorValue |
( |
double |
r, |
|
|
double |
g, |
|
|
double |
b, |
|
|
ColorType |
myType = TYPE_RGB |
|
) |
| |
constructor
- Parameters
-
r | first color component |
g | second color component |
b | third color component |
myType | type of color (colorspace); default is RGB |
References c, and type.
assignment operator
- Parameters
-
r | color to assign to this color |
References c, ColorValue(), and type.
The documentation for this class was generated from the following files:
- imagedata/color/ColorValue.h
- imagedata/color/ColorValue.cpp