#include <iedf.h>
Inheritance diagram for toxic::IEDF:

Public Member Functions | |
| virtual | ~IEDF () |
| virtual sheep::Real | Evaluate (const Context &context, const sheep::Vector3 &direction) const=0 |
| Evaluates the function. The emission direction is expressed in local space. | |
| virtual void | Sample (const Context &context, sheep::Vector3 *direction, sheep::Real *prob) const=0 |
| sheep::Real | GetEmittedRadiance (const Context &context, const sheep::Vector3 &normal, const sheep::Vector3 &direction) const |
| Utility function. | |
|
|
|
|
||||||||||||
|
Evaluates the function. The emission direction is expressed in local space.
Implemented in toxic::LambertianEDF. |
|
||||||||||||||||
|
Utility function.
Definition at line 88 of file iedf.h. Referenced by toxic::Sphere::ComputeIrradiance(), and toxic::IAreaLight::ComputeIrradiance(). |
|
||||||||||||||||
|
Samples the function in order to obtain an emission direction. The probability with which the direction has been chosen is also computed. The emission direction is expressed in local space. Implemented in toxic::LambertianEDF. Referenced by toxic::IAreaLight::GeneratePhotonRay(). |
1.3.6