|
SPH
|
#include "gui/renderers/Spectrum.h"#include "objects/wrappers/Lut.h"#include "physics/Constants.h"Go to the source code of this file.
Classes | |
| class | Xyz |
Functions | |
| Rgba | xyzToRgb (const Xyz &c) |
| float | getMaxEmissionWavelength (const float temperature) |
| Returns wavelength of maximum emission for given temperature, according to Wien's law. More... | |
| float | spectralRadiance (const float wavelength, const float temperature) |
| Planck law. More... | |
| Xyz | getBlackBodyColor (const float temperature) |
| Palette | getBlackBodyPalette (const Interval range) |
| Returns palette with colors for black body emission for given temperature. More... | |
| Palette | getEmissionPalette (const Interval range) |
|
inline |
Definition at line 184 of file Spectrum.cpp.
Returns palette with colors for black body emission for given temperature.
The temperature is specified in Kelvins.
| range | Range of input temperatures. |
Definition at line 198 of file Spectrum.cpp.
Definition at line 212 of file Spectrum.cpp.
|
inline |
Returns wavelength of maximum emission for given temperature, according to Wien's law.
Definition at line 163 of file Spectrum.cpp.
|
inline |
Planck law.
| wavelength | Wavelength in nanometers |
| temperature | Temperature in Kelvins |
Definition at line 172 of file Spectrum.cpp.
Definition at line 70 of file Spectrum.cpp.