#include <ardev_types.h>
Public Member Functions | |
| ARImage () | |
| Construct an empty Image. | |
| unsigned char & | GetPixel (int x, int y) |
| const unsigned char & | GetPixel (int x, int y) const |
| Get a Pixel reference. | |
| unsigned char * | Allocate () |
| Get a const pixel reference. | |
| int | Erase () |
| Allocate the image buffer, size and depth must be set first. | |
| ARImage (const ARImage &rhs) | |
| copy constructor (deep copy) | |
| ARImage & | operator= (const ARImage &rhs) |
| assignment operator | |
| unsigned int | GetDataSize () |
Public Attributes | |
| unsigned int | x_size |
| The width of the image in pixels. | |
| unsigned int | y_size |
| The height of the image in pixels. | |
| unsigned char * | data |
| The image data, user allocated. | |
| unsigned char | ByteDepth |
| The colour depth in bytes. | |
| unsigned int | ColourFormat |
| the Colour format as an opengl enumeration | |
Protected Attributes | |
| unsigned int | DataSize |
| Return the current storage size for the image data The current data buffer size. | |
1.5.1