|
Allolib
1.0
C++ Components For Interactive Multimedia
|
Public Member Functions | |
| CIE_XYZ (float x=0, float y=1, float z=1) | |
| template<class T > | |
| CIE_XYZ (const T *xyz) | |
| CIE_XYZ (const Color &v) | |
| CIE_XYZ (const Colori &v) | |
| CIE_XYZ (const RGB &v) | |
| CIE_XYZ (const HSV &v) | |
| CIE_XYZ (const Lab &v) | |
| CIE_XYZ (const Luv &v) | |
| 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. | |
| CIE_XYZ & | operator= (const Color &v) |
| Set from RGBA color. | |
| CIE_XYZ & | operator= (const Colori &v) |
| Set from RGBA color. | |
| CIE_XYZ & | operator= (const RGB &v) |
| Set from RGB color. | |
| CIE_XYZ & | operator= (const HSV &v) |
| Set from HSV color. | |
| CIE_XYZ & | operator= (const Lab &v) |
| Set from Lab color. | |
| CIE_XYZ & | operator= (const Luv &v) |
| Set from Luv color. | |
Public Attributes | |
| union { | |
| struct { | |
| float x | |
| float y | |
| < red component in [0, 1] | |
| float z | |
| < green component in [0, 1] | |
| } | |
| float components [3] | |
| CIE_XYZ component vector. | |
| }; | |
Definition at line 654 of file al_Color.hpp.
|
inline |
| [in] | x | CIE X |
| [in] | y | CIE Y |
| [in] | z | CIE Z |
Definition at line 667 of file al_Color.hpp.
|
inline |
| [in] | xyz | 3-vector of CIE_XYZ components |
Definition at line 671 of file al_Color.hpp.
|
inline |
| [in] | v | RGB color to convert from |
Definition at line 674 of file al_Color.hpp.
|
inline |
| [in] | v | RGB color to convert from |
Definition at line 677 of file al_Color.hpp.
|
inline |
| [in] | v | RGB color to convert from |
Definition at line 680 of file al_Color.hpp.
|
inline |
| [in] | v | HSV color to convert from |
Definition at line 683 of file al_Color.hpp.
|
inline |
| [in] | v | Lab color to convert from |
Definition at line 686 of file al_Color.hpp.
|
inline |
| [in] | v | Luv color to convert from |
Definition at line 689 of file al_Color.hpp.