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

This spectral power distribution is defined as the product of two other continuous spectra. More...

#include <mitsuba/core/spectrum.h>

+ Inheritance diagram for mitsuba::ProductSpectrum:

Public Member Functions

 ProductSpectrum (const ContinuousSpectrum &s1, const ContinuousSpectrum &s2)
 Return the value of the spectral power distribution at the given wavelength. More...
 
virtual Float eval (Float lambda) const
 Return the value of the spectral power distribution at the given wavelength. More...
 
virtual ~ProductSpectrum ()
 Virtual destructor. 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

This spectral power distribution is defined as the product of two other continuous spectra.

Constructor & Destructor Documentation

mitsuba::ProductSpectrum::ProductSpectrum ( const ContinuousSpectrum s1,
const ContinuousSpectrum s2 
)
inline

Return the value of the spectral power distribution at the given wavelength.

virtual mitsuba::ProductSpectrum::~ProductSpectrum ( )
inlinevirtual

Virtual destructor.

Member Function Documentation

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

Return the value of the spectral power distribution at the given wavelength.

Implements mitsuba::ContinuousSpectrum.

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

Return a string representation.

Implements mitsuba::ContinuousSpectrum.


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