#include <framebuffer.h>
Public Member Functions | |
| SampleFrameBuffer (const unsigned int w, const unsigned int h) | |
| ~SampleFrameBuffer () | |
| void | Clear () |
| SamplePixel * | GetPixels () const |
| void | AddPixel (const unsigned int x, const unsigned int y, const Spectrum &r, const float w) |
| void | AddPixel (const unsigned int index, const Spectrum &r, const float w) |
| void | SetPixel (const unsigned int x, const unsigned int y, const Spectrum &r, const float w) |
| void | SetPixel (const unsigned int index, const Spectrum &r, const float w) |
| SamplePixel * | GetPixel (const unsigned int x, const unsigned int y) const |
| SamplePixel * | GetPixel (const unsigned int index) const |
| unsigned int | GetWidth () const |
| unsigned int | GetHeight () const |
Private Attributes | |
| const unsigned int | width |
| const unsigned int | height |
| SamplePixel * | pixels |
Definition at line 34 of file framebuffer.h.
| luxrays::SampleFrameBuffer::SampleFrameBuffer | ( | const unsigned int | w, | |
| const unsigned int | h | |||
| ) | [inline] |
| luxrays::SampleFrameBuffer::~SampleFrameBuffer | ( | ) | [inline] |
Definition at line 42 of file framebuffer.h.
References pixels.
| void luxrays::SampleFrameBuffer::AddPixel | ( | const unsigned int | index, | |
| const Spectrum & | r, | |||
| const float | w | |||
| ) | [inline] |
Definition at line 68 of file framebuffer.h.
References height, pixels, luxrays::SamplePixel::radiance, luxrays::SamplePixel::weight, and width.
| void luxrays::SampleFrameBuffer::AddPixel | ( | const unsigned int | x, | |
| const unsigned int | y, | |||
| const Spectrum & | r, | |||
| const float | w | |||
| ) | [inline] |
Definition at line 57 of file framebuffer.h.
References height, pixels, luxrays::SamplePixel::radiance, luxrays::SamplePixel::weight, and width.
| void luxrays::SampleFrameBuffer::Clear | ( | ) | [inline] |
Definition at line 46 of file framebuffer.h.
References luxrays::Spectrum::b, luxrays::Spectrum::g, height, pixels, luxrays::Spectrum::r, luxrays::SamplePixel::radiance, luxrays::SamplePixel::weight, and width.
Referenced by luxrays::NativePixelDevice::ClearSampleFrameBuffer(), luxrays::NativePixelDevice::Init(), and SampleFrameBuffer().
| unsigned int luxrays::SampleFrameBuffer::GetHeight | ( | ) | const [inline] |
Definition at line 112 of file framebuffer.h.
References height.
| SamplePixel* luxrays::SampleFrameBuffer::GetPixel | ( | const unsigned int | index | ) | const [inline] |
Definition at line 104 of file framebuffer.h.
| SamplePixel* luxrays::SampleFrameBuffer::GetPixel | ( | const unsigned int | x, | |
| const unsigned int | y | |||
| ) | const [inline] |
Definition at line 95 of file framebuffer.h.
References height, pixels, and width.
Referenced by luxrays::NativePixelDevice::Merge(), luxrays::utils::Film::SaveFilm(), and luxrays::utils::Film::SaveImpl().
| SamplePixel* luxrays::SampleFrameBuffer::GetPixels | ( | ) | const [inline] |
Definition at line 55 of file framebuffer.h.
References pixels.
Referenced by luxrays::NativePixelDevice::SplatRadiance(), and luxrays::NativePixelDevice::UpdateFrameBuffer().
| unsigned int luxrays::SampleFrameBuffer::GetWidth | ( | ) | const [inline] |
Definition at line 111 of file framebuffer.h.
References width.
| void luxrays::SampleFrameBuffer::SetPixel | ( | const unsigned int | index, | |
| const Spectrum & | r, | |||
| const float | w | |||
| ) | [inline] |
Definition at line 87 of file framebuffer.h.
References height, pixels, luxrays::SamplePixel::radiance, luxrays::SamplePixel::weight, and width.
| void luxrays::SampleFrameBuffer::SetPixel | ( | const unsigned int | x, | |
| const unsigned int | y, | |||
| const Spectrum & | r, | |||
| const float | w | |||
| ) | [inline] |
Definition at line 76 of file framebuffer.h.
References height, pixels, luxrays::SamplePixel::radiance, luxrays::SamplePixel::weight, and width.
Referenced by luxrays::utils::Film::AddFilm().
const unsigned int luxrays::SampleFrameBuffer::height [private] |
Definition at line 115 of file framebuffer.h.
Referenced by AddPixel(), Clear(), GetHeight(), GetPixel(), SampleFrameBuffer(), and SetPixel().
SamplePixel* luxrays::SampleFrameBuffer::pixels [private] |
Definition at line 117 of file framebuffer.h.
Referenced by AddPixel(), Clear(), GetPixel(), GetPixels(), SampleFrameBuffer(), SetPixel(), and ~SampleFrameBuffer().
const unsigned int luxrays::SampleFrameBuffer::width [private] |
Definition at line 115 of file framebuffer.h.
Referenced by AddPixel(), Clear(), GetPixel(), GetWidth(), SampleFrameBuffer(), and SetPixel().
1.6.3