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

#include <FullRayEnergyEstimator.h>

Inheritance diagram for ph::FullRayEnergyEstimator:
ph::IRayEnergyEstimator ph::TIRayEstimator< math::Spectrum > ph::BNEEPTEstimator ph::BVPTEstimator

Public Member Functions

void update (const Integrand &integrand) override=0
 
void estimate (const Ray &ray, const Integrand &integrand, SampleFlow &sampleFlow, EnergyEstimation &out_estimation) const override=0
 
void mapAttributeToEstimation (std::size_t attributeId, std::size_t estimationIndex) override
 
void setEstimationIndex (std::size_t index)
 
std::string toString () const override
 
- Public Member Functions inherited from ph::IRayEnergyEstimator
std::string toString () const override
 
- Public Member Functions inherited from ph::TIRayEstimator< math::Spectrum >
virtual ~TIRayEstimator ()=default
 
virtual void estimate (const Ray &ray, const Integrand &integrand, SampleFlow &sampleFlow, TEstimationArray< math::Spectrum > &out_estimation) const=0
 

Protected Attributes

std::size_t m_estimationIndex
 

Additional Inherited Members

- Public Types inherited from ph::IRayEnergyEstimator
using EnergyEstimation = TEstimationArray<math::Spectrum>
 

Member Function Documentation

◆ estimate()

void ph::FullRayEnergyEstimator::estimate ( const Ray & ray,
const Integrand & integrand,
SampleFlow & sampleFlow,
EnergyEstimation & out_estimation ) const
overridepure virtual

◆ mapAttributeToEstimation()

void ph::FullRayEnergyEstimator::mapAttributeToEstimation ( std::size_t attributeId,
std::size_t estimationIndex )
inlineoverridevirtual

◆ setEstimationIndex()

void ph::FullRayEnergyEstimator::setEstimationIndex ( std::size_t index)
inline

◆ toString()

std::string ph::FullRayEnergyEstimator::toString ( ) const
inlineoverridevirtual

◆ update()

void ph::FullRayEnergyEstimator::update ( const Integrand & integrand)
overridepure virtual

Member Data Documentation

◆ m_estimationIndex

std::size_t ph::FullRayEnergyEstimator::m_estimationIndex
protected

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