|
Allolib
1.0
C++ Components For Interactive Multimedia
|
Public Member Functions | |
| Luv (float l=1, float u=1, float v=1) | |
| template<class T > | |
| Luv (const T *Luv) | |
| Luv (const Color &w) | |
| Luv (const Colori &w) | |
| Luv (const RGB &w) | |
| Luv (const HSV &w) | |
| Luv (const CIE_XYZ &w) | |
| Luv (const HCLuv &w) | |
| float & | operator[] (int i) |
| Set color component at index with no bounds checking. | |
| const float & | operator[] (int i) const |
| Get color component at index with no bounds checking. | |
| Luv & | operator= (const Color &w) |
| Set from RGBA color. | |
| Luv & | operator= (const Colori &w) |
| Set from RGBA color. | |
| Luv & | operator= (const CIE_XYZ &w) |
| Set from CIE_XYZ color. | |
| Luv & | operator= (const HCLuv &w) |
| Set from HCLuv color. | |
| Luv & | operator= (const RGB &w) |
| Set from RGB color. | |
| Luv & | operator= (const HSV &w) |
| Set from HSV color. | |
| Luv | operator* (float a) const |
| Get new Luv with value component multiplied by a scalar. | |
| Luv & | operator*= (float a) |
| Multiply lightness component by a scalar. | |
Public Attributes | |
| union { | |
| struct { | |
| float l | |
| float u | |
| < Lightness component in [0, 100] | |
| float v | |
| } | |
| float components [3] | |
| }; | |
Color represented by L* (lightness), u*, v*
Definition at line 891 of file al_Color.hpp.
|
inline |
| [in] | l | Lightness |
| [in] | u | u |
| [in] | v | v |
Definition at line 909 of file al_Color.hpp.
|
inline |
| [in] | hsv | 3-vector of Luv components |
Definition at line 913 of file al_Color.hpp.
|
inline |
| [in] | w | RGB color to convert from |
Definition at line 916 of file al_Color.hpp.
|
inline |
| [in] | w | RGB color to convert from |
Definition at line 919 of file al_Color.hpp.
|
inline |
| [in] | w | RGB color to convert from |
Definition at line 922 of file al_Color.hpp.
|
inline |
| [in] | w | HSV color to convert from |
Definition at line 925 of file al_Color.hpp.
|
inline |
| [in] | w | CIE_XYZ color to convert from |
Definition at line 928 of file al_Color.hpp.
|
inline |
| [in] | w | HCLuv color to convert from |
Definition at line 931 of file al_Color.hpp.
| float al::Luv::v |
< red-green axis (red is positive, green is negative) range in [-82.7886, 174.378] (8-bit rgb gamut)
Definition at line 897 of file al_Color.hpp.