luxrays::FrameBuffer Class Reference

#include <framebuffer.h>

List of all members.

Public Member Functions

 FrameBuffer (const unsigned int w, const unsigned int h)
 ~FrameBuffer ()
void Clear ()
PixelGetPixels () const
void SetPixel (const unsigned int x, const unsigned int y, const Spectrum &r)
void SetPixel (const unsigned int index, const Spectrum &r)
PixelGetPixel (const unsigned int x, const unsigned int y) const
PixelGetPixel (const unsigned int index) const
unsigned int GetWidth () const
unsigned int GetHeight () const

Private Attributes

const unsigned int width
const unsigned int height
Pixelpixels

Detailed Description

Definition at line 122 of file framebuffer.h.


Constructor & Destructor Documentation

luxrays::FrameBuffer::FrameBuffer ( const unsigned int  w,
const unsigned int  h 
) [inline]

Definition at line 124 of file framebuffer.h.

References Clear(), height, pixels, and width.

luxrays::FrameBuffer::~FrameBuffer (  )  [inline]

Definition at line 130 of file framebuffer.h.

References pixels.


Member Function Documentation

void luxrays::FrameBuffer::Clear (  )  [inline]
unsigned int luxrays::FrameBuffer::GetHeight (  )  const [inline]

Definition at line 177 of file framebuffer.h.

References height.

Pixel* luxrays::FrameBuffer::GetPixel ( const unsigned int  index  )  const [inline]

Definition at line 169 of file framebuffer.h.

References height, pixels, and width.

Pixel* luxrays::FrameBuffer::GetPixel ( const unsigned int  x,
const unsigned int  y 
) const [inline]

Definition at line 160 of file framebuffer.h.

References height, pixels, and width.

Pixel* luxrays::FrameBuffer::GetPixels (  )  const [inline]
unsigned int luxrays::FrameBuffer::GetWidth (  )  const [inline]

Definition at line 176 of file framebuffer.h.

References width.

void luxrays::FrameBuffer::SetPixel ( const unsigned int  index,
const Spectrum r 
) [inline]

Definition at line 153 of file framebuffer.h.

References height, pixels, and width.

void luxrays::FrameBuffer::SetPixel ( const unsigned int  x,
const unsigned int  y,
const Spectrum r 
) [inline]

Definition at line 144 of file framebuffer.h.

References height, pixels, and width.


Member Data Documentation

const unsigned int luxrays::FrameBuffer::height [private]

Definition at line 180 of file framebuffer.h.

Referenced by Clear(), FrameBuffer(), GetHeight(), GetPixel(), and SetPixel().

Definition at line 182 of file framebuffer.h.

Referenced by Clear(), FrameBuffer(), GetPixel(), GetPixels(), SetPixel(), and ~FrameBuffer().

const unsigned int luxrays::FrameBuffer::width [private]

Definition at line 180 of file framebuffer.h.

Referenced by Clear(), FrameBuffer(), GetPixel(), GetWidth(), and SetPixel().


The documentation for this class was generated from the following file:
Generated on Sat Aug 21 14:06:20 2010 for LuxRays by  doxygen 1.6.3