#include <reflection.h>

Public Member Functions | |
| BRDFToBTDF (BxDF *b) | |
| Spectrum | rho (const Vector &w, int nSamples, float *samples) const |
| Spectrum | rho (int nSamples, float *samples) const |
| Spectrum | f (const Vector &wo, const Vector &wi) const |
| Spectrum | Sample_f (const Vector &wo, Vector *wi, float u1, float u2, float *pdf) const |
| float | Pdf (const Vector &wo, const Vector &wi) const |
Static Public Member Functions | |
| static Vector | otherHemisphere (const Vector &w) |
Private Attributes | |
| BxDF * | brdf |
Definition at line 139 of file reflection.h.
| BRDFToBTDF::BRDFToBTDF | ( | BxDF * | b | ) | [inline] |
Definition at line 142 of file reflection.h.
Definition at line 147 of file reflection.h.
References Vector::x, Vector::y, and Vector::z.
Referenced by f(), and Sample_f().
| Spectrum BRDFToBTDF::rho | ( | int | nSamples, | |
| float * | samples | |||
| ) | const [inline, virtual] |
Implements BxDF.
Definition at line 63 of file reflection.cpp.
References brdf, BxDF::f(), and otherHemisphere().
Referenced by Sample_f().
| Spectrum BRDFToBTDF::Sample_f | ( | const Vector & | wo, | |
| Vector * | wi, | |||
| float | u1, | |||
| float | u2, | |||
| float * | ||||
| ) | const [virtual] |
Reimplemented from BxDF.
Definition at line 67 of file reflection.cpp.
References brdf, f(), otherHemisphere(), and BxDF::Sample_f().
Reimplemented from BxDF.
Definition at line 228 of file reflection.cpp.
References brdf, and BxDF::Pdf().
BxDF* BRDFToBTDF::brdf [private] |
1.5.6