#include <photonmap.h>
Public Member Functions | |
| PhotonMap () | |
| virtual | ~PhotonMap () |
| void | lookup (const Point &p, const PhotonProcess &proc, float &maxDistSquared) const |
| int | getPhotonCount () |
Protected Attributes | |
| int | photonCount |
| KdTree< PhotonType, PhotonProcess > * | photonmap |
Definition at line 270 of file core/photonmap.h.
| lux::PhotonMap< PhotonType, PhotonProcess >::PhotonMap | ( | ) | [inline] |
Definition at line 272 of file core/photonmap.h.
| virtual lux::PhotonMap< PhotonType, PhotonProcess >::~PhotonMap | ( | ) | [inline, virtual] |
Definition at line 274 of file core/photonmap.h.
| int lux::PhotonMap< PhotonType, PhotonProcess >::getPhotonCount | ( | ) | [inline] |
Definition at line 296 of file core/photonmap.h.
| void lux::PhotonMap< PhotonType, PhotonProcess >::lookup | ( | const Point & | p, | |
| const PhotonProcess & | proc, | |||
| float & | maxDistSquared | |||
| ) | const [inline] |
Performs a lookup in this photonmap.
| p | The lookup point. | |
| proc | The process that all photons near the lookup point will be passed to. | |
| maxDistSquared | The maximum squared between the lookup point and the photons. This value can be update by the process during the photon lookup. |
Definition at line 290 of file core/photonmap.h.
Referenced by lux::ExPhotonIntegrator::LiDirectLightingMode().
int lux::PhotonMap< PhotonType, PhotonProcess >::photonCount [protected] |
Definition at line 299 of file core/photonmap.h.
Referenced by lux::PhotonMap< RadiancePhoton, NearPhotonProcess< RadiancePhoton > >::getPhotonCount().
KdTree<PhotonType, PhotonProcess>* lux::PhotonMap< PhotonType, PhotonProcess >::photonmap [protected] |
Definition at line 300 of file core/photonmap.h.
Referenced by lux::PhotonMap< RadiancePhoton, NearPhotonProcess< RadiancePhoton > >::lookup(), and lux::PhotonMap< RadiancePhoton, NearPhotonProcess< RadiancePhoton > >::~PhotonMap().
1.6.2-20100208