rcrt::Lambertian Class Reference

#include <Lambertian.h>

Inheritance diagram for rcrt::Lambertian:

Inheritance graph
[legend]
Collaboration diagram for rcrt::Lambertian:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Lambertian (const RGBColor &refl)
virtual ~Lambertian ()
virtual RGBColor eval (const Vec3D &wOut, const Vec3D &wInc, const Vec3D &normal) const
virtual RGBColor evalDiffuse (const Vec3D &wOut, const Vec3D &wInc, const Vec3D &normal) const
virtual RGBColor evalSpecular (const Vec3D &wOut, const Vec3D &wInc, const Vec3D &normal) const
virtual bool specular () const
virtual bool glossy () const
virtual bool diffuse () const
virtual bool fresnel () const


Detailed Description

A completely diffuse BRDF.

Definition at line 12 of file Lambertian.h.


Constructor & Destructor Documentation

rcrt::Lambertian::Lambertian ( const RGBColor refl  ) 

Definition at line 7 of file Lambertian.cpp.

rcrt::Lambertian::~Lambertian (  )  [virtual]

Definition at line 11 of file Lambertian.cpp.


Member Function Documentation

RGBColor rcrt::Lambertian::eval ( const Vec3D wOut,
const Vec3D wInc,
const Vec3D normal 
) const [virtual]

Implements rcrt::BXDF.

Definition at line 15 of file Lambertian.cpp.

References rcrt::BXDF::kd.

RGBColor rcrt::Lambertian::evalDiffuse ( const Vec3D wOut,
const Vec3D wInc,
const Vec3D normal 
) const [virtual]

Implements rcrt::BXDF.

Definition at line 20 of file Lambertian.cpp.

References rcrt::BXDF::kd.

RGBColor rcrt::Lambertian::evalSpecular ( const Vec3D wOut,
const Vec3D wInc,
const Vec3D normal 
) const [virtual]

Implements rcrt::BXDF.

Definition at line 25 of file Lambertian.cpp.

bool rcrt::Lambertian::specular (  )  const [virtual]

Implements rcrt::BXDF.

Definition at line 31 of file Lambertian.cpp.

bool rcrt::Lambertian::glossy (  )  const [virtual]

Implements rcrt::BXDF.

Definition at line 36 of file Lambertian.cpp.

bool rcrt::Lambertian::diffuse (  )  const [virtual]

Implements rcrt::BXDF.

Definition at line 41 of file Lambertian.cpp.

bool rcrt::Lambertian::fresnel (  )  const [virtual]

Implements rcrt::BXDF.

Definition at line 46 of file Lambertian.cpp.


The documentation for this class was generated from the following files:
Generated on Thu Jan 31 19:32:20 2008 for RenderingCompetitionRayTracer by  doxygen 1.5.3