ARImage Class Reference

simple image storage structure, client is in charge of allocating is data array More...

#include <ardev_types.h>

List of all members.

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)
ARImageoperator= (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.


Detailed Description

simple image storage structure, client is in charge of allocating is data array


The documentation for this class was generated from the following file:
SourceForge.net Logo Generated on Sat May 12 15:25:43 2007 for ardev by doxygen 1.5.1