PhotonIntegrator Class Reference

#include <photonmap.h>

Inheritance diagram for PhotonIntegrator:
SurfaceIntegrator Integrator

List of all members.

Public Member Functions

 PhotonIntegrator (int ncaus, int nindir, int nLookup, int maxspecdepth, int maxphotondepth, float maxdist, bool finalGather, int gatherSamples, float ga)
 ~PhotonIntegrator ()
Spectrum Li (const Scene *scene, const Renderer *renderer, const RayDifferential &ray, const Intersection &isect, const Sample *sample, RNG &rng, MemoryArena &arena) const
void RequestSamples (Sampler *sampler, Sample *sample, const Scene *scene)
void Preprocess (const Scene *scene, const Camera *camera, const Renderer *renderer)

Private Attributes

uint32_t nCausticPhotonsWanted
uint32_t nIndirectPhotonsWanted
uint32_t nLookup
float maxDistSquared
int maxSpecularDepth
int maxPhotonDepth
bool finalGather
int gatherSamples
float cosGatherAngle
LightSampleOffsetslightSampleOffsets
BSDFSampleOffsetsbsdfSampleOffsets
BSDFSampleOffsets bsdfGatherSampleOffsets
BSDFSampleOffsets indirGatherSampleOffsets
int nCausticPaths
int nIndirectPaths
KdTree< Photon > * causticMap
KdTree< Photon > * indirectMap
KdTree< RadiancePhoton > * radianceMap

Friends

class PhotonShootingTask

Detailed Description

Definition at line 44 of file photonmap.h.


Constructor & Destructor Documentation

PhotonIntegrator::PhotonIntegrator ( int  ncaus,
int  nindir,
int  nLookup,
int  maxspecdepth,
int  maxphotondepth,
float  maxdist,
bool  finalGather,
int  gatherSamples,
float  ga 
)
PhotonIntegrator::~PhotonIntegrator (  ) 

Definition at line 298 of file photonmap.cpp.

References bsdfSampleOffsets, causticMap, indirectMap, lightSampleOffsets, and radianceMap.


Member Function Documentation

Spectrum PhotonIntegrator::Li ( const Scene scene,
const Renderer renderer,
const RayDifferential ray,
const Intersection isect,
const Sample sample,
RNG rng,
MemoryArena arena 
) const [virtual]
void PhotonIntegrator::Preprocess ( const Scene scene,
const Camera camera,
const Renderer renderer 
) [virtual]
void PhotonIntegrator::RequestSamples ( Sampler sampler,
Sample sample,
const Scene scene 
) [virtual]

Friends And Related Function Documentation

friend class PhotonShootingTask [friend]

Definition at line 58 of file photonmap.h.


Member Data Documentation

Definition at line 71 of file photonmap.h.

Referenced by Li(), and RequestSamples().

Definition at line 70 of file photonmap.h.

Referenced by Li(), PhotonIntegrator(), RequestSamples(), and ~PhotonIntegrator().

Definition at line 73 of file photonmap.h.

Referenced by Li(), PhotonIntegrator(), Preprocess(), and ~PhotonIntegrator().

Definition at line 66 of file photonmap.h.

Referenced by Li(), and PhotonIntegrator().

Definition at line 64 of file photonmap.h.

Referenced by Li(), PhotonIntegrator(), Preprocess(), RequestSamples(), and PhotonShootingTask::Run().

Definition at line 65 of file photonmap.h.

Referenced by Li(), PhotonIntegrator(), and RequestSamples().

Definition at line 74 of file photonmap.h.

Referenced by Li(), PhotonIntegrator(), Preprocess(), and ~PhotonIntegrator().

Definition at line 71 of file photonmap.h.

Referenced by Li(), and RequestSamples().

Definition at line 69 of file photonmap.h.

Referenced by Li(), PhotonIntegrator(), RequestSamples(), and ~PhotonIntegrator().

Definition at line 62 of file photonmap.h.

Referenced by Li(), PhotonIntegrator(), and Preprocess().

Definition at line 63 of file photonmap.h.

Referenced by PhotonIntegrator(), and PhotonShootingTask::Run().

Definition at line 63 of file photonmap.h.

Referenced by Li(), and PhotonIntegrator().

Definition at line 72 of file photonmap.h.

Referenced by Li(), PhotonIntegrator(), Preprocess(), and PhotonShootingTask::Run().

Definition at line 61 of file photonmap.h.

Referenced by PhotonIntegrator(), Preprocess(), and PhotonShootingTask::Run().

Definition at line 72 of file photonmap.h.

Referenced by Li(), PhotonIntegrator(), Preprocess(), and PhotonShootingTask::Run().

Definition at line 61 of file photonmap.h.

Referenced by PhotonIntegrator(), Preprocess(), and PhotonShootingTask::Run().

uint32_t PhotonIntegrator::nLookup [private]

Definition at line 61 of file photonmap.h.

Referenced by Li(), PhotonIntegrator(), and Preprocess().

Definition at line 75 of file photonmap.h.

Referenced by Li(), PhotonIntegrator(), Preprocess(), and ~PhotonIntegrator().


The documentation for this class was generated from the following files:
Generated on Sat Aug 28 20:00:14 2010 for pbrt by  doxygen 1.6.3