Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::BfConstant Class Referencefinal

#include <BfConstant.h>

Inheritance diagram for ph::BfConstant:
ph::BlockFunction

Public Member Functions

 BfConstant ()
 
 BfConstant (const math::Spectrum &coeff)
 
virtual ~BfConstant () override=default
 
virtual void evalAbsorptionCoeff (const SurfaceHit &, math::Spectrum *const out_coeff) const override
 
math::Spectrum calcTransmittance (const real dist) const
 
- Public Member Functions inherited from ph::BlockFunction
virtual ~BlockFunction ()=0
 

Constructor & Destructor Documentation

◆ BfConstant() [1/2]

ph::BfConstant::BfConstant ( )
inline

◆ BfConstant() [2/2]

ph::BfConstant::BfConstant ( const math::Spectrum & coeff)
inline

◆ ~BfConstant()

virtual ph::BfConstant::~BfConstant ( )
inlineoverridevirtualdefault

Member Function Documentation

◆ calcTransmittance()

math::Spectrum ph::BfConstant::calcTransmittance ( const real dist) const
inline

◆ evalAbsorptionCoeff()

virtual void ph::BfConstant::evalAbsorptionCoeff ( const SurfaceHit & ,
math::Spectrum *const out_coeff ) const
inlineoverridevirtual

Implements ph::BlockFunction.


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