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

toxic::LambertianBRDF Class Reference

#include <lambertianbrdf.h>

Inheritance diagram for toxic::LambertianBRDF:

toxic::IBRDF toxic::IBDF sheep::IClonable< IBDF > List of all members.

Public Member Functions

virtual ~LambertianBRDF ()
virtual LambertianBRDFClone () const
virtual sheep::Real Evaluate (const Context &context, const sheep::Vector3 &incoming, const sheep::Vector3 &outgoing) const
virtual sheep::Real ComputeReflectance (const Context &context) const
 Computes and returns the hemispherical hemispherical reflectance.

virtual sheep::Real ComputeReflectance (const Context &context, const sheep::Vector3 &incoming) const

Constructor & Destructor Documentation

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

Incoming and outgoing directions are both always expressed in the upper part of the unit hemisphere, and they are always unit-length.

Definition at line 42 of file lambertianbrdf.h.


Member Function Documentation

LambertianBRDF * LambertianBRDF::Clone  )  const [virtual]
 

Implements sheep::IClonable< IBDF >.

Definition at line 27 of file lambertianbrdf.cpp.

sheep::Real LambertianBRDF::ComputeReflectance const Context context,
const sheep::Vector3 incoming
const [inline, virtual]
 

Computes and returns the directional hemispherical reflectance. The incoming direction is expressed in local space.

Reimplemented from toxic::IBDF.

Definition at line 104 of file lambertianbrdf.h.

sheep::Real LambertianBRDF::ComputeReflectance const Context context  )  const [inline, virtual]
 

Computes and returns the hemispherical hemispherical reflectance.

Reimplemented from toxic::IBDF.

Definition at line 99 of file lambertianbrdf.h.

sheep::Real LambertianBRDF::Evaluate const Context context,
const sheep::Vector3 incoming,
const sheep::Vector3 outgoing
const [inline, virtual]
 

Evaluates the function. Both the incoming and outgoing directions are expressed in local space.

Implements toxic::IBDF.

Definition at line 86 of file lambertianbrdf.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