PerspectiveBxDF Class Reference

Inheritance diagram for PerspectiveBxDF:

lux::BxDF

List of all members.

Public Member Functions

 PerspectiveBxDF (bool lens, float FD, float f, const Point &pL, const Transform &R2C, float xW, float yH)
SWCSpectrum f (const Vector &wo, const Vector &wi) const
SWCSpectrum Sample_f (const Vector &wo, Vector *wi, float u1, float u2, float *pdf, float *pdfBack=NULL) const
float Pdf (const Vector &wi, const Vector &wo) const

Private Attributes

bool hasLens
float FocalDistance
float fov
float xWidth
float yHeight
Point p
const TransformRasterToCamera


Detailed Description

Definition at line 37 of file perspective.cpp.


Constructor & Destructor Documentation

PerspectiveBxDF::PerspectiveBxDF ( bool  lens,
float  FD,
float  f,
const Point pL,
const Transform R2C,
float  xW,
float  yH 
) [inline]

Definition at line 40 of file perspective.cpp.


Member Function Documentation

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

Implements lux::BxDF.

Definition at line 41 of file perspective.cpp.

References lux::Vector::x, lux::Vector::y, and lux::Vector::z.

Referenced by Pdf(), and Sample_f().

float PerspectiveBxDF::Pdf ( const Vector wi,
const Vector wo 
) const [inline, virtual]

SWCSpectrum PerspectiveBxDF::Sample_f ( const Vector wo,
Vector wi,
float  u1,
float  u2,
float *  pdf,
float *  pdfBack = NULL 
) const [inline, virtual]


Member Data Documentation

Definition at line 76 of file perspective.cpp.

Referenced by Pdf(), and Sample_f().

float PerspectiveBxDF::fov [private]

Definition at line 76 of file perspective.cpp.

Referenced by Pdf(), and Sample_f().

bool PerspectiveBxDF::hasLens [private]

Definition at line 75 of file perspective.cpp.

Referenced by Pdf(), and Sample_f().

Definition at line 77 of file perspective.cpp.

Referenced by Pdf(), and Sample_f().

Definition at line 78 of file perspective.cpp.

Referenced by Sample_f().

float PerspectiveBxDF::xWidth [private]

Definition at line 76 of file perspective.cpp.

Referenced by Sample_f().

float PerspectiveBxDF::yHeight [private]

Definition at line 76 of file perspective.cpp.

Referenced by Sample_f().


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

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