PathIntegrator Class Reference

#include <path.h>

Inheritance diagram for PathIntegrator:
SurfaceIntegrator Integrator

List of all members.

Public Member Functions

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)
 PathIntegrator (int md)

Private Attributes

int maxDepth
LightSampleOffsets lightSampleOffsets [SAMPLE_DEPTH]
int lightNumOffset [SAMPLE_DEPTH]
BSDFSampleOffsets bsdfSampleOffsets [SAMPLE_DEPTH]
BSDFSampleOffsets pathSampleOffsets [SAMPLE_DEPTH]

Detailed Description

Definition at line 36 of file path.h.


Constructor & Destructor Documentation

PathIntegrator::PathIntegrator ( int  md  )  [inline]

Definition at line 43 of file path.h.

References maxDepth.


Member Function Documentation

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

Reimplemented from Integrator.

Definition at line 33 of file path.cpp.

References Sample::Add1D(), bsdfSampleOffsets, lightNumOffset, lightSampleOffsets, pathSampleOffsets, and SAMPLE_DEPTH.


Member Data Documentation

Definition at line 50 of file path.h.

Referenced by Li(), and RequestSamples().

int PathIntegrator::lightNumOffset[SAMPLE_DEPTH] [private]

Definition at line 49 of file path.h.

Referenced by Li(), and RequestSamples().

Definition at line 48 of file path.h.

Referenced by Li(), and RequestSamples().

int PathIntegrator::maxDepth [private]

Definition at line 46 of file path.h.

Referenced by Li(), and PathIntegrator().

Definition at line 51 of file path.h.

Referenced by Li(), and RequestSamples().


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