|
Public Member Functions |
|
| Image (unsigned int width, unsigned int height, unsigned int depth=3) |
|
| Image (const string &filename) |
|
unsigned int | getWidth () const |
|
unsigned int | getHeight () const |
|
unsigned int | getDepth () const |
|
const unsigned char * | getData () const |
|
unsigned char * | getData () |
|
void | resize (unsigned int width, unsigned int height, unsigned int depth) |
|
void | clear () |
Protected Attributes |
|
unsigned int | m_width |
|
unsigned int | m_height |
|
unsigned int | m_depth |
|
unsigned char * | m_data |