lux::Metropolis Class Reference

#include <metropolis.h>

List of all members.

Public Member Functions

 Metropolis ()
void SetParams (int mR, float pL)
void SetFilmRes (int fX0, int fX1, int fY0, int fY1)
bool GetNextSample (Sampler *sampler, Sample *sample, u_int *use_pos)
void GetNext (float &bs1, float &bs2, float &bcs, int pathLength)
void AddSample (const Sample &sample, const Ray &ray, const Spectrum &L, float alpha, Film *film)

Public Attributes

MetroSample msamp
MetroSample newsamp
Spectrum L
int xStart
int xEnd
int yStart
int yEnd
int maxReject
int consec_rejects
bool large
float pLarge


Detailed Description

Definition at line 53 of file metropolis.h.


Constructor & Destructor Documentation

lux::Metropolis::Metropolis (  )  [inline]

Definition at line 55 of file metropolis.h.

References consec_rejects, and L.


Member Function Documentation

void Metropolis::AddSample ( const Sample sample,
const Ray ray,
const Spectrum L,
float  alpha,
Film film 
)

void Metropolis::GetNext ( float &  bs1,
float &  bs2,
float &  bcs,
int  pathLength 
)

Definition at line 75 of file metropolis.cpp.

References newsamp, and lux::MetroSample::value().

bool Metropolis::GetNextSample ( Sampler sampler,
Sample sample,
u_int use_pos 
)

void lux::Metropolis::SetFilmRes ( int  fX0,
int  fX1,
int  fY0,
int  fY1 
) [inline]

Definition at line 57 of file metropolis.h.

References xEnd, xStart, yEnd, and yStart.

void lux::Metropolis::SetParams ( int  mR,
float  pL 
) [inline]

Definition at line 56 of file metropolis.h.

References maxReject, and pLarge.


Member Data Documentation

Definition at line 66 of file metropolis.h.

Referenced by AddSample(), and Metropolis().

Definition at line 65 of file metropolis.h.

Referenced by AddSample(), and Metropolis().

Definition at line 67 of file metropolis.h.

Referenced by GetNextSample().

Definition at line 66 of file metropolis.h.

Referenced by AddSample(), and SetParams().

Definition at line 64 of file metropolis.h.

Referenced by AddSample(), and GetNextSample().

Definition at line 64 of file metropolis.h.

Referenced by AddSample(), GetNext(), and GetNextSample().

Definition at line 68 of file metropolis.h.

Referenced by GetNextSample(), and SetParams().

Definition at line 66 of file metropolis.h.

Referenced by AddSample(), GetNextSample(), and SetFilmRes().

Definition at line 66 of file metropolis.h.

Referenced by AddSample(), GetNextSample(), and SetFilmRes().

Definition at line 66 of file metropolis.h.

Referenced by AddSample(), GetNextSample(), and SetFilmRes().

Definition at line 66 of file metropolis.h.

Referenced by AddSample(), GetNextSample(), and SetFilmRes().


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

Generated on Tue Nov 10 01:36:41 2009 for lux by  doxygen 1.5.9