Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

Filter Class Reference

A basic sample filtering class that warps samples to match a distribution. More...

#include <core/Filter.h>

Inheritance diagram for Filter:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual void filter (Vector2 *samples, int num_samples) const =0
virtual void filter (Vector2 &sample)=0

Detailed Description

A basic sample filtering class that warps samples to match a distribution.

In contrast to simply returning the weight of a given sample based on the filter values, Filters in galileo warp samples to have density proportional to the filter's kernel. This allows us to have all samples equally weighted, with more samples in areas of higher filter importance.


Member Function Documentation

virtual void Filter::filter Vector2 samples,
int  num_samples
const [pure virtual]
 

Warp the array of samples in place.

Parameters:
[in,out] samples The array of samples to be warped.
[in] num_samples The number of samples in the array.
Returns:
The samples will be warped according to the filter kernel.

Implemented in BoxFilter, CubicSplineFilter, and TentFilter.

virtual void Filter::filter Vector2 sample  )  [pure virtual]
 

Warp a single sample in place.

Parameters:
[in,out] sample The sample to be warped.
Returns:
The sample will be warped according to the filter kernel.

Implemented in BoxFilter, CubicSplineFilter, and TentFilter.


The documentation for this class was generated from the following file:
Generated on Wed Jul 20 16:15:22 2005 for galileo by  doxygen 1.4.3