#include <Image.h>
Collaboration diagram for ns_vu1112116::Image:
Public Member Functions | |
Image () | |
constructor | |
virtual | ~Image () |
destructor | |
bool | init (int sizx, int sizy) |
initialize spectral framebuffer of given size | |
void | get_extents (int &sizx, int &sizy) |
get extents of image | |
bool | set_xy (int x, int y, const vuColourRGBa &col) |
set spectral color information for a point | |
bool | get_xy (int x, int y, vuColourRGBa &col) |
get colour from specific point | |
const byte * | get_rgb () const |
returns the framebuffer | |
Private Attributes | |
byte * | spix |
pointer to spectral frame buffer | |
int | maxx |
extents of the framebuffer | |
int | maxy |
extents of the framebuffer |
Is used to apply post-illumination. The reference to ColourType is a typecast that stands for the color model used in the currently compiled version.
Definition at line 16 of file Image.h.
|
constructor
|
Here is the call graph for this function:
|
destructor
|
|
get extents of image
|
|
returns the framebuffer
Definition at line 56 of file Image.cpp. References byte. |
|
get colour from specific point
|
|
initialize spectral framebuffer of given size
Definition at line 24 of file Image.cpp. References byte, maxx, maxy, and spix. Referenced by Image(). |
|
set spectral color information for a point
Definition at line 37 of file Image.cpp. References byte, vuColour< S >::clampTo01(), maxx, and spix. |
Here is the call graph for this function:
|
extents of the framebuffer
|
|
extents of the framebuffer
Definition at line 38 of file Image.h. Referenced by init(). |
|
pointer to spectral frame buffer
|