#include <blackbodyspd.h>
Public Member Functions | |
BlackbodySPD () | |
BlackbodySPD (float t) | |
virtual | ~BlackbodySPD () |
void | init (float t) |
Protected Attributes | |
float | temp |
Definition at line 38 of file blackbodyspd.h.
lux::BlackbodySPD::BlackbodySPD | ( | ) | [inline] |
Definition at line 40 of file blackbodyspd.h.
References init().
lux::BlackbodySPD::BlackbodySPD | ( | float | t | ) | [inline] |
Definition at line 44 of file blackbodyspd.h.
References init().
virtual lux::BlackbodySPD::~BlackbodySPD | ( | ) | [inline, virtual] |
Definition at line 48 of file blackbodyspd.h.
void BlackbodySPD::init | ( | float | t | ) |
Definition at line 28 of file blackbodyspd.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 54 of file blackbodyspd.h.
Referenced by init().