#include <irregulardata.h>
Public Member Functions | |
| IrregularDataSpectrumTexture (const int &n, const float *wl, const float *data, float resolution=5) | |
| virtual | ~IrregularDataSpectrumTexture () |
| virtual T | Evaluate (const TsPack *tspack, const DifferentialGeometry &) const |
| virtual void | SetPower (float power, float area) |
Private Attributes | |
| IrregularSPD * | SPD |
Definition at line 47 of file irregulardata.h.
| lux::IrregularDataSpectrumTexture< T >::IrregularDataSpectrumTexture | ( | const int & | n, | |
| const float * | wl, | |||
| const float * | data, | |||
| float | resolution = 5 | |||
| ) | [inline] |
Definition at line 50 of file irregulardata.h.
| virtual lux::IrregularDataSpectrumTexture< T >::~IrregularDataSpectrumTexture | ( | ) | [inline, virtual] |
Definition at line 53 of file irregulardata.h.
| virtual T lux::IrregularDataSpectrumTexture< T >::Evaluate | ( | const TsPack * | tspack, | |
| const DifferentialGeometry & | ||||
| ) | const [inline, virtual] |
Implements lux::Texture< T >.
Definition at line 54 of file irregulardata.h.
| virtual void lux::IrregularDataSpectrumTexture< T >::SetPower | ( | float | power, | |
| float | area | |||
| ) | [inline, virtual] |
Reimplemented from lux::Texture< T >.
Definition at line 57 of file irregulardata.h.
References M_PI.
IrregularSPD* lux::IrregularDataSpectrumTexture< T >::SPD [private] |
Definition at line 61 of file irregulardata.h.
1.6.2-20100208