#include <vuColour31a.h>
Inheritance diagram for vuColour31a:
Public Member Functions | |
vuColour31a () | |
default constructor | |
vuColour31a (const vuColour31a &inst) | |
copy constructor | |
vuColour31a (const vuColour< 32 > &inst) | |
copy constructor | |
vuColour31a (const float *f) | |
cunstruct from an array of floats. | |
vuColour31a (const double *f) | |
cunstruct from an array of doubles. | |
vuColour31a (const float f) | |
Sets all components (including the alpha value) to f. | |
vuColour31a (const vuColourRGBa &rgba) | |
construct a spectrum from RGBa colour. | |
void | from (const vuColourRGBa &rgba) |
sets up a spectrum from an vuColourRGBa. | |
vuColour31a & | planckian (const float T) |
generates the spectrum for a planckian black body radiator of temerature T (Kelvin) |
It has 31 components plus alpha channel. Derived from vuColour. With conversion functions from other colour models.
Definition at line 30 of file vuColour31a.h.
|
default constructor
Definition at line 34 of file vuColour31a.h. |
|
copy constructor
Definition at line 36 of file vuColour31a.h. |
|
copy constructor
Definition at line 38 of file vuColour31a.h. |
|
cunstruct from an array of floats. The alpha value is taken from the N+1st position. Definition at line 41 of file vuColour31a.h. |
|
cunstruct from an array of doubles. The alpha value is taken from the N+1st position. Definition at line 44 of file vuColour31a.h. |
|
Sets all components (including the alpha value) to f.
Definition at line 46 of file vuColour31a.h. |
|
construct a spectrum from RGBa colour. Calls from() Definition at line 49 of file vuColour31a.h. References from(). |
Here is the call graph for this function:
|
sets up a spectrum from an vuColourRGBa. This is done using the pseudoinverse of the 31a -> RGBa transform. The resulting spectrum is one of many possible spectra. Definition at line 55 of file vuColour31a.h. References CXFRGBto31, and vuColour< 32 >::fromColourN(). Referenced by vuColour31a(). |
Here is the call graph for this function:
|
generates the spectrum for a planckian black body radiator of temerature T (Kelvin)
Definition at line 61 of file vuColour31a.h. References T. Referenced by vuSpecPalette::OnCreatePlanckian(). |