#include <vuColourXYZa.h>
Inheritance diagram for vuColourXYZa:
Public Member Functions | |
vuColourXYZa () | |
default constructor | |
vuColourXYZa (const vuColourXYZa &inst) | |
copy constructor | |
vuColourXYZa (const vuColour< 4 > &inst) | |
copy constructor | |
vuColourXYZa (const float *f) | |
copy the contents of the array f to the components | |
vuColourXYZa (const float f) | |
set all components to value of f | |
vuColourXYZa (const float x, const float y, const float z, const float a) | |
construct by the given components | |
vuColourXYZa (const vuColourRGBa &inst) | |
create an XYZa representation of the given colour | |
vuColourXYZa (const vuColour7a &inst) | |
create an XYZa representation of the given colour | |
vuColourXYZa (const vuColour31a &inst) | |
create an XYZa representation of the given colour | |
void | from (const vuColourRGBa &rgba) |
create an XYZa representation of the given colour | |
void | from (const vuColour7a &c7a) |
create an XYZa representation of the given colour | |
void | from (const vuColour31a &c31a) |
create an XYZa representation of the given colour | |
float | setNormalSpectrum (const vuColour31a &s) |
calculates a normalization coefficient This is done according to the luminance (Y-component) of the spectrum of the given light source. | |
float | setNormalSpectrum (const vuColour7a &s) |
calculates a normalization coefficient This is done according to the luminance (Y-component) of the spectrum of the given light source. | |
void | normalize (void) |
Divides by the normalization coefficient. | |
Protected Attributes | |
float | m_Normal |
this is the normal of the colour |
Derived from vuColour general colour template class. With conversion functions from other colour models.
Definition at line 64 of file vuColourXYZa.h.
|
default constructor
Definition at line 68 of file vuColourXYZa.h. References D65_NORMAL, and m_Normal. |
|
copy constructor
Definition at line 70 of file vuColourXYZa.h. References D65_NORMAL, and m_Normal. |
|
copy constructor
Definition at line 72 of file vuColourXYZa.h. References D65_NORMAL, and m_Normal. |
|
copy the contents of the array f to the components
Definition at line 74 of file vuColourXYZa.h. References D65_NORMAL, and m_Normal. |
|
set all components to value of f
Definition at line 76 of file vuColourXYZa.h. References D65_NORMAL, and m_Normal. |
|
construct by the given components
Definition at line 78 of file vuColourXYZa.h. References D65_NORMAL, and m_Normal. |
|
create an XYZa representation of the given colour
Definition at line 84 of file vuColourXYZa.h. References from(). |
Here is the call graph for this function:
|
create an XYZa representation of the given colour
Definition at line 86 of file vuColourXYZa.h. References from(). |
Here is the call graph for this function:
|
create an XYZa representation of the given colour
Definition at line 88 of file vuColourXYZa.h. References from(). |
Here is the call graph for this function:
|
create an XYZa representation of the given colour
Definition at line 103 of file vuColourXYZa.h. References CXF31toXYZ, and vuColour< 4 >::fromColourN(). |
Here is the call graph for this function:
|
create an XYZa representation of the given colour
Definition at line 97 of file vuColourXYZa.h. References CXF7toXYZ, and vuColour< 4 >::fromColourN(). |
Here is the call graph for this function:
|
create an XYZa representation of the given colour
Definition at line 91 of file vuColourXYZa.h. References CXFRGBtoXYZ, and vuColour< 4 >::fromColourN(). Referenced by pow(), ns_vu1112112::vu1112112::shootRays(), and vuColourXYZa(). |
Here is the call graph for this function:
|
Divides by the normalization coefficient. This leads to a luminance of one for a 100% illuminating light source. Definition at line 138 of file vuColourXYZa.h. |
|
calculates a normalization coefficient This is done according to the luminance (Y-component) of the spectrum of the given light source. This version is for the reduced spectrum.
Definition at line 127 of file vuColourXYZa.h. |
|
calculates a normalization coefficient This is done according to the luminance (Y-component) of the spectrum of the given light source.
Definition at line 113 of file vuColourXYZa.h. References CXF31toXYZ, dword, and m_Normal. |
|
this is the normal of the colour
Definition at line 146 of file vuColourXYZa.h. Referenced by setNormalSpectrum(), and vuColourXYZa(). |