Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

toxic::LambertianEDF Class Reference

#include <lambertianedf.h>

Inheritance diagram for toxic::LambertianEDF:

toxic::IEDF sheep::IClonable< IEDF > List of all members.

Public Member Functions

virtual ~LambertianEDF ()
virtual LambertianEDFClone () const
virtual sheep::Real Evaluate (const Context &context, const sheep::Vector3 &direction) const
 Evaluates the function. The emission direction is expressed in local space.

virtual void Sample (const Context &context, sheep::Vector3 *direction, sheep::Real *prob) const

Constructor & Destructor Documentation

virtual toxic::LambertianEDF::~LambertianEDF  )  [inline, virtual]
 

Definition at line 39 of file lambertianedf.h.


Member Function Documentation

LambertianEDF * LambertianEDF::Clone  )  const [virtual]
 

Implements sheep::IClonable< IEDF >.

Definition at line 27 of file lambertianedf.cpp.

sheep::Real LambertianEDF::Evaluate const Context context,
const sheep::Vector3 direction
const [inline, virtual]
 

Evaluates the function. The emission direction is expressed in local space.

Implements toxic::IEDF.

Definition at line 80 of file lambertianedf.h.

void LambertianEDF::Sample const Context context,
sheep::Vector3 direction,
sheep::Real prob
const [inline, virtual]
 

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.

Implements toxic::IEDF.

Definition at line 90 of file lambertianedf.h.


The documentation for this class was generated from the following files:
Generated on Tue May 11 01:31:57 2004 for toxic by doxygen 1.3.6