lux::PhotonMap< PhotonType, PhotonProcess > Class Template Reference

#include <photonmap.h>

Inheritance diagram for lux::PhotonMap< PhotonType, PhotonProcess >:
[legend]
Collaboration diagram for lux::PhotonMap< PhotonType, PhotonProcess >:
[legend]

List of all members.

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

Detailed Description

template<class PhotonType, class PhotonProcess>
class lux::PhotonMap< PhotonType, PhotonProcess >

Definition at line 270 of file core/photonmap.h.


Constructor & Destructor Documentation

template<class PhotonType, class PhotonProcess>
lux::PhotonMap< PhotonType, PhotonProcess >::PhotonMap (  )  [inline]

Definition at line 272 of file core/photonmap.h.

template<class PhotonType, class PhotonProcess>
virtual lux::PhotonMap< PhotonType, PhotonProcess >::~PhotonMap (  )  [inline, virtual]

Definition at line 274 of file core/photonmap.h.


Member Function Documentation

template<class PhotonType, class PhotonProcess>
int lux::PhotonMap< PhotonType, PhotonProcess >::getPhotonCount (  )  [inline]

Definition at line 296 of file core/photonmap.h.

template<class PhotonType, class PhotonProcess>
void lux::PhotonMap< PhotonType, PhotonProcess >::lookup ( const Point p,
const PhotonProcess proc,
float &  maxDistSquared 
) const [inline]

Performs a lookup in this photonmap.

Parameters:
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().


Member Data Documentation

template<class PhotonType, class PhotonProcess>
int lux::PhotonMap< PhotonType, PhotonProcess >::photonCount [protected]
template<class PhotonType, class PhotonProcess>
KdTree<PhotonType, PhotonProcess>* lux::PhotonMap< PhotonType, PhotonProcess >::photonmap [protected]

The documentation for this class was generated from the following file:
Generated by  doxygen 1.6.2-20100208