The spica renderer
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
spica::PhotonMap Class Reference
Inheritance diagram for spica::PhotonMap:
spica::Uncopyable

Public Member Functions

void clear ()
 
virtual void construct (const Scene &scene, RenderParams &params, Sampler &sampler)
 
virtual Spectrum evaluateL (const SurfaceInteraction &po, int gatherPhotons, double gatherRadius) const
 Evaluate radiance at the point and to the direction.
 
virtual Spectrum evaluateL (const MediumInteraction &mi, int gatherPhotons, double gatherRadius) const
 
- Public Member Functions inherited from spica::Uncopyable
 Uncopyable (const Uncopyable &)=delete
 
Uncopyableoperator= (const Uncopyable &)=delete
 

Protected Member Functions

void knnFind (const Photon &photon, std::vector< Photon > *photons, int gatherPhotons, double gatherRadius) const
 
void tracePhoton (const Scene &scene, RenderParams &params, const Ray &r, const Spectrum &b, Sampler &sampler, MemoryArena &arena, std::vector< Photon > *photons)
 

Protected Attributes

KdTree< Photon_kdtree
 

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