#include <constant.h>
Public Member Functions | |
ConstantRGBColorTexture (const RGBColor &s) | |
virtual | ~ConstantRGBColorTexture () |
virtual T | Evaluate (const TsPack *tspack, const DifferentialGeometry &) const |
virtual void | SetPower (float power, float area) |
virtual void | SetIlluminant () |
Private Attributes | |
SPD * | RGBSPD |
RGBColor | color |
Definition at line 48 of file constant.h.
lux::ConstantRGBColorTexture< T >::ConstantRGBColorTexture | ( | const RGBColor & | s | ) | [inline] |
Definition at line 51 of file constant.h.
References lux::ConstantRGBColorTexture< T >::color, and lux::ConstantRGBColorTexture< T >::RGBSPD.
virtual lux::ConstantRGBColorTexture< T >::~ConstantRGBColorTexture | ( | ) | [inline, virtual] |
Definition at line 55 of file constant.h.
References lux::ConstantRGBColorTexture< T >::RGBSPD.
virtual T lux::ConstantRGBColorTexture< T >::Evaluate | ( | const TsPack * | tspack, | |
const DifferentialGeometry & | ||||
) | const [inline, virtual] |
Implements lux::Texture< T >.
Definition at line 56 of file constant.h.
References lux::ConstantRGBColorTexture< T >::RGBSPD.
virtual void lux::ConstantRGBColorTexture< T >::SetIlluminant | ( | ) | [inline, virtual] |
Reimplemented from lux::Texture< T >.
Definition at line 65 of file constant.h.
References lux::ConstantRGBColorTexture< T >::color, and lux::ConstantRGBColorTexture< T >::RGBSPD.
virtual void lux::ConstantRGBColorTexture< T >::SetPower | ( | float | power, | |
float | area | |||
) | [inline, virtual] |
Reimplemented from lux::Texture< T >.
Definition at line 59 of file constant.h.
References M_PI, lux::ConstantRGBColorTexture< T >::RGBSPD, lux::SPD::Scale(), and lux::SPD::Y().
RGBColor lux::ConstantRGBColorTexture< T >::color [private] |
Definition at line 71 of file constant.h.
Referenced by lux::ConstantRGBColorTexture< T >::ConstantRGBColorTexture(), and lux::ConstantRGBColorTexture< T >::SetIlluminant().
SPD* lux::ConstantRGBColorTexture< T >::RGBSPD [private] |
Definition at line 70 of file constant.h.
Referenced by lux::ConstantRGBColorTexture< T >::ConstantRGBColorTexture(), lux::ConstantRGBColorTexture< T >::Evaluate(), lux::ConstantRGBColorTexture< T >::SetIlluminant(), lux::ConstantRGBColorTexture< T >::SetPower(), and lux::ConstantRGBColorTexture< T >::~ConstantRGBColorTexture().