#include <blackbody.h>
Public Member Functions | |
BlackBodySpectrumTexture (const float &t) | |
virtual | ~BlackBodySpectrumTexture () |
virtual T | Evaluate (const TsPack *tspack, const DifferentialGeometry &) const |
virtual void | SetPower (float power, float area) |
Private Attributes | |
BlackbodySPD * | BBSPD |
Definition at line 47 of file blackbody.h.
lux::BlackBodySpectrumTexture< T >::BlackBodySpectrumTexture | ( | const float & | t | ) | [inline] |
Definition at line 50 of file blackbody.h.
References lux::BlackBodySpectrumTexture< T >::BBSPD.
virtual lux::BlackBodySpectrumTexture< T >::~BlackBodySpectrumTexture | ( | ) | [inline, virtual] |
Definition at line 53 of file blackbody.h.
References lux::BlackBodySpectrumTexture< T >::BBSPD.
virtual T lux::BlackBodySpectrumTexture< T >::Evaluate | ( | const TsPack * | tspack, | |
const DifferentialGeometry & | ||||
) | const [inline, virtual] |
Implements lux::Texture< T >.
Definition at line 54 of file blackbody.h.
References lux::BlackBodySpectrumTexture< T >::BBSPD.
virtual void lux::BlackBodySpectrumTexture< T >::SetPower | ( | float | power, | |
float | area | |||
) | [inline, virtual] |
Reimplemented from lux::Texture< T >.
Definition at line 57 of file blackbody.h.
References lux::BlackBodySpectrumTexture< T >::BBSPD, M_PI, lux::SPD::Scale(), and lux::SPD::Y().
BlackbodySPD* lux::BlackBodySpectrumTexture< T >::BBSPD [private] |