Color in XYZ space.
More...
#include <color.h>
|
| Xyz (const double &, const double &, const double &) |
| Create a color in XYZ space. More...
|
|
| Xyz (const Color &) |
| Create a color in XYZ space from an input RGB color. More...
|
|
Color | ToColor () const |
| Convert to RGB space.
|
|
|
double | z = 0.0 |
| Color xyz coefficients.
|
|
◆ Xyz() [1/2]
Xyz::Xyz |
( |
const double & |
x, |
|
|
const double & |
y, |
|
|
const double & |
z |
|
) |
| |
|
explicit |
Create a color in XYZ space.
- Parameters
-
◆ Xyz() [2/2]
Xyz::Xyz |
( |
const Color & |
c | ) |
|
|
explicit |
Create a color in XYZ space from an input RGB color.
- Parameters
-