Mitsuba Renderer  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
mitsuba::BlackBodySpectrum Class Reference

Spectral power distribution based on Planck's black body law. More...

#include <mitsuba/core/spectrum.h>

+ Inheritance diagram for mitsuba::BlackBodySpectrum:

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...
 

Detailed Description

Spectral power distribution based on Planck's black body law.

Computes the spectral power distribution of a black body of the specified temperature.

Constructor & Destructor Documentation

mitsuba::BlackBodySpectrum::BlackBodySpectrum ( Float  temperature)
inline

Construct a new black body spectrum given the emitter's temperature in Kelvin.

virtual mitsuba::BlackBodySpectrum::~BlackBodySpectrum ( )
inlinevirtual

Member Function Documentation

virtual Float mitsuba::BlackBodySpectrum::eval ( Float  lambda) const
virtual

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.

std::string mitsuba::BlackBodySpectrum::toString ( ) const
virtual

Return a string representation.

Implements mitsuba::ContinuousSpectrum.


The documentation for this class was generated from the following file: