Lambertian Class Reference

#include <reflection.h>

Inheritance diagram for Lambertian:

BxDF

List of all members.

Public Member Functions

 Lambertian (const Spectrum &reflectance)
Spectrum f (const Vector &wo, const Vector &wi) const
Spectrum rho (const Vector &, int, float *) const
Spectrum rho (int, float *) const

Private Attributes

Spectrum R
Spectrum RoverPI


Detailed Description

Definition at line 240 of file reflection.h.


Constructor & Destructor Documentation

Lambertian::Lambertian ( const Spectrum reflectance  )  [inline]

Definition at line 243 of file reflection.h.


Member Function Documentation

Spectrum Lambertian::f ( const Vector wo,
const Vector wi 
) const [virtual]

Implements BxDF.

Definition at line 128 of file reflection.cpp.

References RoverPI.

Spectrum Lambertian::rho ( const Vector ,
int  ,
float *   
) const [inline, virtual]

Reimplemented from BxDF.

Definition at line 248 of file reflection.h.

Spectrum Lambertian::rho ( int  ,
float *   
) const [inline, virtual]

Reimplemented from BxDF.

Definition at line 251 of file reflection.h.


Member Data Documentation

Definition at line 254 of file reflection.h.

Definition at line 254 of file reflection.h.

Referenced by f().


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

Generated on Mon Jul 20 17:31:55 2009 for pbrt by  doxygen 1.5.6