lux::OrenNayar Class Reference

#include <orennayar.h>

Inheritance diagram for lux::OrenNayar:

lux::BxDF

List of all members.

Public Member Functions

SWCSpectrum f (const Vector &wo, const Vector &wi) const
 OrenNayar (const SWCSpectrum &reflectance, float sig)

Private Attributes

SWCSpectrum R
float A
float B


Detailed Description

Definition at line 33 of file orennayar.h.


Constructor & Destructor Documentation

lux::OrenNayar::OrenNayar ( const SWCSpectrum reflectance,
float  sig 
) [inline]

Definition at line 37 of file orennayar.h.

References A, B, and Radians().


Member Function Documentation

SWCSpectrum OrenNayar::f ( const Vector wo,
const Vector wi 
) const [virtual]

Implements lux::BxDF.

Definition at line 33 of file orennayar.cpp.

References A, B, lux::CosPhi(), lux::CosTheta(), INV_PI, cimg_library::cimg::max(), R, lux::SinPhi(), and lux::SinTheta().


Member Data Documentation

float lux::OrenNayar::A [private]

Definition at line 48 of file orennayar.h.

Referenced by f(), and OrenNayar().

float lux::OrenNayar::B [private]

Definition at line 48 of file orennayar.h.

Referenced by f(), and OrenNayar().

Definition at line 47 of file orennayar.h.

Referenced by f().


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

Generated on Tue Nov 10 01:36:40 2009 for lux by  doxygen 1.5.9