#include <color.h>
Public Member Functions | |
| XYZColor (float v=0.f) | |
| XYZColor (float cs[3]) | |
| XYZColor (RGBColor rgb) | |
| void | ToRGB (float &r, float &g, float &b) const |
| void | ToRGB (float rgb[3]) const |
| void | ToRGB (RGBColor rgb) const |
| RGBColor | ToRGB () const |
| void | FromRGB (float r, float g, float b) |
| void | FromRGB (float rgb[3]) |
| void | FromRGB (RGBColor rgb) |
| float | y () const |
Friends | |
| class | boost::serialization::access |
Definition at line 221 of file color.h.
| lux::XYZColor::XYZColor | ( | float | v = 0.f |
) | [inline] |
Definition at line 227 of file color.h.
References lux::Color::c.
| lux::XYZColor::XYZColor | ( | float | cs[3] | ) | [inline] |
Definition at line 230 of file color.h.
References lux::Color::c.
| lux::XYZColor::XYZColor | ( | RGBColor | rgb | ) | [inline] |
Definition at line 342 of file color.h.
References lux::Color::c, and ToRGB().
| void lux::XYZColor::FromRGB | ( | RGBColor | rgb | ) | [inline] |
Definition at line 355 of file color.h.
References lux::Color::c, and FromRGB().
| void lux::XYZColor::FromRGB | ( | float | rgb[3] | ) | [inline] |
| void lux::XYZColor::FromRGB | ( | float | r, | |
| float | g, | |||
| float | b | |||
| ) | [inline] |
| RGBColor lux::XYZColor::ToRGB | ( | ) | const [inline] |
Definition at line 349 of file color.h.
References lux::Color::c.
Referenced by ToRGB(), and XYZColor().
| void lux::XYZColor::ToRGB | ( | RGBColor | rgb | ) | const [inline] |
Definition at line 346 of file color.h.
References lux::Color::c, and ToRGB().
| void lux::XYZColor::ToRGB | ( | float | rgb[3] | ) | const [inline] |
| void lux::XYZColor::ToRGB | ( | float & | r, | |
| float & | g, | |||
| float & | b | |||
| ) | const [inline] |
Definition at line 236 of file color.h.
References lux::Color::c.
Referenced by lux::PerScreenNormalizedBuffer::GetData(), and lux::PerPixelNormalizedBuffer::GetData().
| float lux::XYZColor::y | ( | ) | const [inline] |
Reimplemented from lux::Color.
Definition at line 258 of file color.h.
References lux::Color::c.
Referenced by lux::Path2Integrator::Li(), and lux::FlexImageFilm::MergeSampleArray().
friend class boost::serialization::access [friend] |
Reimplemented from lux::Color.
1.6.1