lux::ClosePhoton< PhotonType > Struct Template Reference

#include <photonmap.h>

Collaboration diagram for lux::ClosePhoton< PhotonType >:
[legend]

List of all members.

Public Member Functions

 ClosePhoton (const PhotonType *p=NULL, float md2=INFINITY)
bool operator< (const ClosePhoton &p2) const
 ClosePhoton (const Photon *p=NULL, float md2=INFINITY)
bool operator< (const ClosePhoton &p2) const

Public Attributes

const PhotonType * photon
float distanceSquared
const Photonphoton

Detailed Description

template<class PhotonType>
struct lux::ClosePhoton< PhotonType >

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


Constructor & Destructor Documentation

template<class PhotonType>
lux::ClosePhoton< PhotonType >::ClosePhoton ( const PhotonType *  p = NULL,
float  md2 = INFINITY 
) [inline]
template<class PhotonType>
lux::ClosePhoton< PhotonType >::ClosePhoton ( const Photon p = NULL,
float  md2 = INFINITY 
) [inline]

Member Function Documentation

template<class PhotonType>
bool lux::ClosePhoton< PhotonType >::operator< ( const ClosePhoton< PhotonType > &  p2  )  const [inline]
template<class PhotonType>
bool lux::ClosePhoton< PhotonType >::operator< ( const ClosePhoton< PhotonType > &  p2  )  const [inline]

Member Data Documentation

template<class PhotonType>
float lux::ClosePhoton< PhotonType >::distanceSquared
template<class PhotonType>
const Photon* lux::ClosePhoton< PhotonType >::photon

Definition at line 114 of file pbrtattic/integrators/photonmap.h.

template<class PhotonType>
const PhotonType* lux::ClosePhoton< PhotonType >::photon

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