lux::MLTPathIntegrator Class Reference

#include <mltpath.h>

Inheritance diagram for lux::MLTPathIntegrator:

lux::SurfaceIntegrator lux::Integrator

List of all members.

Public Member Functions

Spectrum Li (const Scene *scene, const RayDifferential &ray, const Sample *sample, float *alpha) const
 MLTPathIntegrator (int md, float cp, int maxreject, float plarge)
void RequestSamples (Sample *sample, const Scene *scene)
virtual MLTPathIntegratorclone () const
IntegrationSampler * HasIntegrationSampler (IntegrationSampler *isa)

Static Public Member Functions

static SurfaceIntegratorCreateSurfaceIntegrator (const ParamSet &params)

Private Attributes

int maxDepth
float continueProbability
int maxReject
float pLarge
IntegrationSampler * mltIntegrationSampler
int lightNumOffset
int lightSampOffset


Detailed Description

Definition at line 33 of file mltpath.h.


Constructor & Destructor Documentation

lux::MLTPathIntegrator::MLTPathIntegrator ( int  md,
float  cp,
int  maxreject,
float  plarge 
) [inline]

Definition at line 37 of file mltpath.h.

References continueProbability, maxDepth, maxReject, and pLarge.

Referenced by clone(), and CreateSurfaceIntegrator().


Member Function Documentation

MLTPathIntegrator * MLTPathIntegrator::clone (  )  const [virtual]

Definition at line 32 of file mltpath.cpp.

References MLTPathIntegrator().

SurfaceIntegrator * MLTPathIntegrator::CreateSurfaceIntegrator ( const ParamSet params  )  [static]

IntegrationSampler * MLTPathIntegrator::HasIntegrationSampler ( IntegrationSampler *  isa  ) 

Definition at line 37 of file mltpath.cpp.

References maxReject, mltIntegrationSampler, and pLarge.

Spectrum MLTPathIntegrator::Li ( const Scene scene,
const RayDifferential ray,
const Sample sample,
float *  alpha 
) const [virtual]

void MLTPathIntegrator::RequestSamples ( Sample sample,
const Scene scene 
) [virtual]

Reimplemented from lux::Integrator.

Definition at line 45 of file mltpath.cpp.

References lux::Sample::Add1D(), lux::Sample::Add2D(), lightNumOffset, and lightSampOffset.


Member Data Documentation

Definition at line 47 of file mltpath.h.

Referenced by Li(), and MLTPathIntegrator().

Definition at line 51 of file mltpath.h.

Referenced by Li(), and RequestSamples().

Definition at line 51 of file mltpath.h.

Referenced by Li(), and RequestSamples().

Definition at line 46 of file mltpath.h.

Referenced by CreateSurfaceIntegrator(), Li(), and MLTPathIntegrator().

Definition at line 48 of file mltpath.h.

Referenced by HasIntegrationSampler(), and MLTPathIntegrator().

IntegrationSampler* lux::MLTPathIntegrator::mltIntegrationSampler [private]

Definition at line 50 of file mltpath.h.

Referenced by HasIntegrationSampler(), and Li().

Definition at line 49 of file mltpath.h.

Referenced by HasIntegrationSampler(), and MLTPathIntegrator().


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

Generated on Fri Jul 24 11:52:04 2009 for lux by  doxygen 1.5.9