#include <color.h>
Public Member Functions | |
RGBColor (float v=0.f) | |
RGBColor (float cs[3]) | |
RGBColor (XYZColor xyz) | |
RGBColor (const Color &color) | |
void | ToXYZ (float &x, float &y, float &z) const |
void | ToXYZ (float xyz[3]) const |
void | ToXYZ (XYZColor xyz) const |
XYZColor | ToXYZ () const |
void | FromXYZ (float x, float y, float z) |
void | FromXYZ (float xyz[3]) |
void | FromXYZ (XYZColor xyz) |
float | y () const |
Definition at line 178 of file color.h.
lux::RGBColor::RGBColor | ( | float | v = 0.f |
) | [inline] |
Definition at line 181 of file color.h.
References lux::Color::c.
lux::RGBColor::RGBColor | ( | float | cs[3] | ) | [inline] |
Definition at line 184 of file color.h.
References lux::Color::c.
lux::RGBColor::RGBColor | ( | XYZColor | xyz | ) | [inline] |
Definition at line 314 of file color.h.
References lux::Color::c, and ToXYZ().
lux::RGBColor::RGBColor | ( | const Color & | color | ) | [inline] |
Definition at line 188 of file color.h.
References lux::Color::c.
void lux::RGBColor::FromXYZ | ( | XYZColor | xyz | ) | [inline] |
Definition at line 327 of file color.h.
References lux::Color::c, and FromXYZ().
void lux::RGBColor::FromXYZ | ( | float | xyz[3] | ) | [inline] |
void lux::RGBColor::FromXYZ | ( | float | x, | |
float | y, | |||
float | z | |||
) | [inline] |
XYZColor lux::RGBColor::ToXYZ | ( | ) | const [inline] |
Definition at line 321 of file color.h.
References lux::Color::c.
Referenced by RGBColor(), and ToXYZ().
void lux::RGBColor::ToXYZ | ( | XYZColor | xyz | ) | const [inline] |
Definition at line 318 of file color.h.
References lux::Color::c, and ToXYZ().
void lux::RGBColor::ToXYZ | ( | float | xyz[3] | ) | const [inline] |
void lux::RGBColor::ToXYZ | ( | float & | x, | |
float & | y, | |||
float & | z | |||
) | const [inline] |
Definition at line 193 of file color.h.
References lux::Color::c.
float lux::RGBColor::y | ( | ) | const [inline] |