lux::Path2Integrator Class Reference

#include <path2.h>

Inheritance diagram for lux::Path2Integrator:

lux::SurfaceIntegrator lux::Integrator

List of all members.

Public Types

enum  LightStrategy { SAMPLE_ALL_UNIFORM, SAMPLE_ONE_UNIFORM, SAMPLE_AUTOMATIC }
enum  RRStrategy { RR_EFFICIENCY, RR_PROBABILITY, RR_NONE }

Public Member Functions

SWCSpectrum Li (const Scene *scene, const RayDifferential &ray, const Sample *sample, float *newAlpha) const
void RequestSamples (Sample *sample, const Scene *scene)
 Path2Integrator (LightStrategy st, RRStrategy rst, int md, float cp)
virtual ~Path2Integrator ()

Static Public Member Functions

static SurfaceIntegratorCreateSurfaceIntegrator (const ParamSet &params)

Private Attributes

LightStrategy lightStrategy
RRStrategy rrStrategy
int maxDepth
float continueProbability
int sampleOffset


Detailed Description

Definition at line 31 of file path2.h.


Member Enumeration Documentation

Enumerator:
SAMPLE_ALL_UNIFORM 
SAMPLE_ONE_UNIFORM 
SAMPLE_AUTOMATIC 

Definition at line 34 of file path2.h.

Enumerator:
RR_EFFICIENCY 
RR_PROBABILITY 
RR_NONE 

Definition at line 37 of file path2.h.


Constructor & Destructor Documentation

lux::Path2Integrator::Path2Integrator ( LightStrategy  st,
RRStrategy  rst,
int  md,
float  cp 
) [inline]

Definition at line 42 of file path2.h.

References continueProbability, lightStrategy, maxDepth, and rrStrategy.

Referenced by CreateSurfaceIntegrator().

virtual lux::Path2Integrator::~Path2Integrator (  )  [inline, virtual]

Definition at line 48 of file path2.h.


Member Function Documentation

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

SWCSpectrum Path2Integrator::Li ( const Scene scene,
const RayDifferential ray,
const Sample sample,
float *  newAlpha 
) const [virtual]

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


Member Data Documentation

Definition at line 55 of file path2.h.

Referenced by Li(), and Path2Integrator().

Definition at line 52 of file path2.h.

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

Definition at line 54 of file path2.h.

Referenced by CreateSurfaceIntegrator(), Li(), Path2Integrator(), and RequestSamples().

Definition at line 53 of file path2.h.

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

Definition at line 57 of file path2.h.

Referenced by Li(), and RequestSamples().


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