Spectral power distribution based on Planck's black body law. More...
#include <mitsuba/core/spectrum.h>
Public Member Functions | |
BlackBodySpectrum (Float temperature) | |
Construct a new black body spectrum given the emitter's temperature in Kelvin. More... | |
virtual | ~BlackBodySpectrum () |
virtual Float | eval (Float lambda) const |
Return the value of the spectral power distribution at the given wavelength. More... | |
std::string | toString () const |
Return a string representation. More... | |
Public Member Functions inherited from mitsuba::ContinuousSpectrum | |
virtual Float | average (Float lambdaMin, Float lambdaMax) const |
Integrate the spectral power distribution over a given interval and return the average value. More... | |
virtual | ~ContinuousSpectrum () |
Virtual destructor. More... | |
Spectral power distribution based on Planck's black body law.
Computes the spectral power distribution of a black body of the specified temperature.
|
inline |
Construct a new black body spectrum given the emitter's temperature in Kelvin.
|
inlinevirtual |
Return the value of the spectral power distribution at the given wavelength.
The units are Watts per unit surface area (m^-2) per unit wavelength (nm^-1) per steradian (sr^-1)
Implements mitsuba::ContinuousSpectrum.
|
virtual |
Return a string representation.
Implements mitsuba::ContinuousSpectrum.