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

#include <HenyeyGreenstein.h>

Inheritance diagram for ph::HenyeyGreenstein:
ph::ScatterFunction

Public Member Functions

 HenyeyGreenstein (real g)
 
 HenyeyGreenstein (const std::shared_ptr< TTexture< real > > &g)
 
 ~HenyeyGreenstein () override
 
void evalPhaseFunc (const SurfaceHit &X, const math::Vector3R &I, const math::Vector3R &O, real *out_pf) const override
 
- Public Member Functions inherited from ph::ScatterFunction
virtual ~ScatterFunction ()=0
 

Constructor & Destructor Documentation

◆ HenyeyGreenstein() [1/2]

ph::HenyeyGreenstein::HenyeyGreenstein ( real g)

◆ HenyeyGreenstein() [2/2]

ph::HenyeyGreenstein::HenyeyGreenstein ( const std::shared_ptr< TTexture< real > > & g)

◆ ~HenyeyGreenstein()

ph::HenyeyGreenstein::~HenyeyGreenstein ( )
overridedefault

Member Function Documentation

◆ evalPhaseFunc()

void ph::HenyeyGreenstein::evalPhaseFunc ( const SurfaceHit & X,
const math::Vector3R & I,
const math::Vector3R & O,
real * out_pf ) const
overridevirtual

Implements ph::ScatterFunction.


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