List storage for the image-space contributions ("splats") of a path sample generated using PathSampler.
More...
#include <mitsuba/bidir/pathsampler.h>
List storage for the image-space contributions ("splats") of a path sample generated using PathSampler.
Represents a screen-space splat produced by a path sampling technique.
mitsuba::SplatList::SplatList |
( |
| ) |
|
|
inline |
void mitsuba::SplatList::accum |
( |
size_t |
i, |
|
|
const Spectrum & |
value |
|
) |
| |
|
inline |
Increases the contribution of an existing splat.
void mitsuba::SplatList::append |
( |
const Point2 & |
samplePos, |
|
|
const Spectrum & |
value |
|
) |
| |
|
inline |
Appends a splat entry to the list.
void mitsuba::SplatList::clear |
( |
| ) |
|
|
inline |
const Point2& mitsuba::SplatList::getPosition |
( |
size_t |
i | ) |
const |
|
inline |
Return the position associated with a splat in the list.
const Spectrum& mitsuba::SplatList::getValue |
( |
size_t |
i | ) |
const |
|
inline |
Return the spectral contribution associated with a splat in the list.
void mitsuba::SplatList::normalize |
( |
const Bitmap * |
importanceMap = NULL | ) |
|
Normalize the splat list.
This function divides all splats so that they have unit luminance (though it leaves the luminance
field untouched). When given an optional importance map in 2-stage MLT approaches, it divides the splat values by the associated importance map values
size_t mitsuba::SplatList::size |
( |
| ) |
const |
|
inline |
Returns the number of contributions.
std::string mitsuba::SplatList::toString |
( |
| ) |
const |
Return a string representation.
Float mitsuba::SplatList::luminance |
Combined luminance of all splats in this sample.
int mitsuba::SplatList::nSamples |
Total number of samples in the splat list.
std::vector<Splat> mitsuba::SplatList::splats |
A series of splats associated with the current sample.
The documentation for this struct was generated from the following file: