#include <blackbody.h>
Public Member Functions | |
BlackbodySPD () | |
BlackbodySPD (float t) | |
~BlackbodySPD () | |
void | init (float t) |
Protected Attributes | |
float | temp |
Definition at line 37 of file blackbody.h.
lux::BlackbodySPD::BlackbodySPD | ( | ) | [inline] |
Definition at line 39 of file blackbody.h.
References init().
lux::BlackbodySPD::BlackbodySPD | ( | float | t | ) | [inline] |
Definition at line 43 of file blackbody.h.
References init().
lux::BlackbodySPD::~BlackbodySPD | ( | ) | [inline] |
Definition at line 47 of file blackbody.h.
void BlackbodySPD::init | ( | float | t | ) |
Definition at line 28 of file blackbody.cpp.
References lux::SPD::AllocateSamples(), BB_CACHE_END, BB_CACHE_SAMPLES, BB_CACHE_START, lux::SPD::Clamp(), lux::SPD::delta, lux::SPD::invDelta, lux::SPD::lambdaMax, lux::SPD::lambdaMin, lux::SPD::Normalize(), lux::SPD::nSamples, lux::SPD::samples, and temp.
Referenced by BlackbodySPD().
float lux::BlackbodySPD::temp [protected] |
Definition at line 52 of file blackbody.h.
Referenced by init().