StratifiedSampleGenerator Class Reference

#include <StratifiedSampleGenerator.h>

Inherits SampleGenerator.

Inheritance diagram for StratifiedSampleGenerator:

Inheritance graph
[legend]
Collaboration diagram for StratifiedSampleGenerator:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void samples (int n, float u[], float v[], float weight[]) const

Detailed Description

Sample generator generating a grid of jittered samples

Author:
Alex Busenius

Christian Engels

Definition at line 11 of file StratifiedSampleGenerator.h.


Member Function Documentation

void StratifiedSampleGenerator::samples ( int  n,
float  u[],
float  v[],
float  weight[] 
) const [inline, virtual]

Simple sampler generator which generates samples in the middle of the pixel

Reimplemented from SampleGenerator.

Definition at line 14 of file StratifiedSampleGenerator.h.

References frand().


The documentation for this class was generated from the following file:
Generated on Fri Feb 1 00:02:31 2008 for Grayfall by  doxygen 1.5.1