#include <photonmap.h>
Classes | |
| class | Direction |
Public Member Functions | |
| PdfPhoton (const Point &pp, const vector< Direction > &aDirs) | |
| PdfPhoton () | |
| virtual | ~PdfPhoton () |
| virtual void | save (bool isLittleEndian, std::basic_ostream< char > &stream) |
| float | Sample (const TsPack *tspack, Vector *wi, float u1, float u2, float u3) const |
| float | Pdf (const TsPack *tspack, const Vector &wi) const |
Private Attributes | |
| vector< Direction > | dirs |
Definition at line 118 of file core/photonmap.h.
Definition at line 137 of file core/photonmap.h.
References dirs.
| lux::PdfPhoton::PdfPhoton | ( | ) | [inline] |
Definition at line 147 of file core/photonmap.h.
| virtual lux::PdfPhoton::~PdfPhoton | ( | ) | [inline, virtual] |
Definition at line 148 of file core/photonmap.h.
Definition at line 164 of file core/photonmap.h.
References dirs, lux::Dot(), and lux::UniformConePdf().
Referenced by Sample().
| float lux::PdfPhoton::Sample | ( | const TsPack * | tspack, | |
| Vector * | wi, | |||
| float | u1, | |||
| float | u2, | |||
| float | u3 | |||
| ) | const [inline] |
Definition at line 153 of file core/photonmap.h.
References Clamp(), lux::CoordinateSystem(), dirs, Pdf(), and lux::UniformSampleCone().
| virtual void lux::PdfPhoton::save | ( | bool | isLittleEndian, | |
| std::basic_ostream< char > & | stream | |||
| ) | [inline, virtual] |
Definition at line 150 of file core/photonmap.h.
vector<Direction> lux::PdfPhoton::dirs [private] |
Definition at line 174 of file core/photonmap.h.
Referenced by Pdf(), PdfPhoton(), and Sample().
1.6.2-20100208