Fermat
Public Methods | List of all members
Edf Struct Reference

Detailed description

EDF class

#include <edf.h>

Inheritance diagram for Edf:
cugar::LambertEdf

Public Methods

FERMAT_HOST_DEVICE Edf (const MeshMaterial material)
 
FERMAT_HOST_DEVICE Edf (const cugar::Vector3f emission)
 
- Public Methods inherited from cugar::LambertEdf
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE LambertEdf (const Vector3f _color)
 
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE Vector3f f (const DifferentialGeometry &geometry, const Vector3f in, const Vector3f out) const
 
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE Vector3f f_over_p (const DifferentialGeometry &geometry, const Vector3f in, const Vector3f out) const
 
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE float p (const DifferentialGeometry &geometry, const Vector3f in, const Vector3f out, const SphericalMeasure measure=kProjectedSolidAngle) const
 
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE void sample (const Vector2f u, const DifferentialGeometry &geometry, const Vector3f in, Vector3f &out, Vector3f &g, float &p, float &p_proj) const
 
template<typename RandomGeneratorT >
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE bool invert (const DifferentialGeometry &geometry, const Vector3f V, const Vector3f L, RandomGeneratorT &random, Vector3f &z, float &p, float &p_proj) const
 
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE void inverse_pdf (const DifferentialGeometry &geometry, const Vector3f V, const Vector3f L, const Vector3f u, float &p, float &p_proj) const
 

Additional Inherited Members

- Public Members inherited from cugar::LambertEdf
Vector3f color
 

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