Lightmetrica  0.0.1.50dbee3 (yosakoi)
 All Classes Functions Variables Typedefs Enumerations Enumerator
Public Types | Public Member Functions | List of all members
PhotonMap Class Referenceabstract

#include <pm.photonmap.h>

Public Types

typedef std::function< void(const
Math::Vec3 &, const Photon
&, Math::Float &)> 
PhotonCollectFunc
 Function called when a photon is collected in CollectPhotons.
 

Public Member Functions

 LM_COMPONENT_INTERFACE_DEF ("pm.photonmap")
 
virtual void Build (const Photons &photons)=0
 
virtual void CollectPhotons (const Math::Vec3 &p, Math::Float &maxDist2, const PhotonCollectFunc &collectFunc) const =0
 
virtual void GetPhotons (std::vector< const Photon * > &photons) const =0
 
- Public Member Functions inherited from Component
virtual std::string ComponentInterfaceTypeName () const =0
 
virtual std::string ComponentImplTypeName () const =0
 
- Public Member Functions inherited from SIMDAlignedType
void * operator new (std::size_t size) throw (std::bad_alloc)
 
void operator delete (void *p)
 

Detailed Description

Photon map. Interface for photon map.

Inheritance diagram for PhotonMap:
Component SIMDAlignedType KdTreePhotonMap NaivePhotonMap

The documentation for this class was generated from the following file: