#include <fleximage.h>
Public Member Functions | |
PerScreenNormalizedBuffer (int x, int y, const float *samples) | |
~PerScreenNormalizedBuffer () | |
void | GetData (float *rgb, float *alpha) |
Private Attributes | |
const float * | numberOfSamples_ |
Definition at line 151 of file fleximage.h.
lux::PerScreenNormalizedBuffer::PerScreenNormalizedBuffer | ( | int | x, | |
int | y, | |||
const float * | samples | |||
) | [inline] |
Definition at line 153 of file fleximage.h.
lux::PerScreenNormalizedBuffer::~PerScreenNormalizedBuffer | ( | ) | [inline] |
Definition at line 156 of file fleximage.h.
void lux::PerScreenNormalizedBuffer::GetData | ( | float * | rgb, | |
float * | alpha | |||
) | [inline, virtual] |
Implements lux::Buffer.
Definition at line 158 of file fleximage.h.
References lux::Pixel::alpha, lux::Pixel::L, numberOfSamples_, lux::XYZColor::ToRGB(), lux::Buffer::xPixelCount, and lux::Buffer::yPixelCount.
const float* lux::PerScreenNormalizedBuffer::numberOfSamples_ [private] |
Definition at line 173 of file fleximage.h.
Referenced by GetData().