Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::TIRayEstimator< EstimationType > Class Template Referenceabstract

#include <TIRayEstimator.h>

Public Member Functions

virtual ~TIRayEstimator ()=default
 
virtual void update (const Integrand &integrand)=0
 
virtual void estimate (const Ray &ray, const Integrand &integrand, SampleFlow &sampleFlow, TEstimationArray< EstimationType > &out_estimation) const =0
 
virtual void mapAttributeToEstimation (std::size_t attributeId, std::size_t estimationIndex)
 
virtual std::string toString () const
 

Constructor & Destructor Documentation

◆ ~TIRayEstimator()

template<typename EstimationType >
virtual ph::TIRayEstimator< EstimationType >::~TIRayEstimator ( )
virtualdefault

Member Function Documentation

◆ estimate()

template<typename EstimationType >
virtual void ph::TIRayEstimator< EstimationType >::estimate ( const Ray & ray,
const Integrand & integrand,
SampleFlow & sampleFlow,
TEstimationArray< EstimationType > & out_estimation ) const
pure virtual

◆ mapAttributeToEstimation()

template<typename EstimationType >
void ph::TIRayEstimator< EstimationType >::mapAttributeToEstimation ( std::size_t attributeId,
std::size_t estimationIndex )
inlinevirtual

◆ toString()

template<typename EstimationType >
std::string ph::TIRayEstimator< EstimationType >::toString ( ) const
inlinevirtual

◆ update()

template<typename EstimationType >
virtual void ph::TIRayEstimator< EstimationType >::update ( const Integrand & integrand)
pure virtual

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