Inherits MXAArrayTemplate< uint8 >.
Inheritance diagram for MXARGBImage:
Public Member Functions | |
virtual | ~MXARGBImage () |
virtual int32 | getNumberOfDimensions () |
virtual void | getDimensions (uint64 *dims) |
Copies the values of the dimensions into the supplied pointer. | |
uint8 * | getPixelPointer (int32 x, int32 y) |
virtual int32 | getWidth () |
virtual int32 | getHeight () |
virtual int32 | resize (uint64 size) |
Reseizes the internal array. | |
int32 | resizeArray (int32 width, int32 height) |
Resizes the data array to the specified width and height. | |
virtual std::string | valueToString (char delimiter= ' ') |
Serializes the value(s) of the array to a string using the delimiter The character to use to separate the values - Default is a single space. | |
Static Public Member Functions | |
static IMXAArray::Pointer | CreateRGBImageArray (int32 width, int32 height) |
static MXARGBImage * | New (int32 width, int32 height) |
Protected Member Functions | |
MXARGBImage (int32 width, int32 height) | |
Private Member Functions | |
MXARGBImage (const MXARGBImage &) | |
void | operator= (const MXARGBImage &) |
Private Attributes | |
int32 | _width |
int32 | _height |
MXARGBImage::~MXARGBImage | ( | ) | [virtual] |
MXARGBImage::MXARGBImage | ( | int32 | width, | |
int32 | height | |||
) | [protected] |
MXARGBImage::MXARGBImage | ( | const MXARGBImage & | ) | [private] |
IMXAArray::Pointer MXARGBImage::CreateRGBImageArray | ( | int32 | width, | |
int32 | height | |||
) | [static] |
MXARGBImage * MXARGBImage::New | ( | int32 | width, | |
int32 | height | |||
) | [static] |
int32 MXARGBImage::getNumberOfDimensions | ( | ) | [virtual] |
Returns the number of dimensions the data has.
Reimplemented from MXAArrayTemplate< uint8 >.
virtual void MXARGBImage::getDimensions | ( | uint64 * | dims | ) | [inline, virtual] |
Copies the values of the dimensions into the supplied pointer.
dims | Pointer to store the dimension values into |
Reimplemented from MXAArrayTemplate< uint8 >.
uint8 * MXARGBImage::getPixelPointer | ( | int32 | x, | |
int32 | y | |||
) |
virtual int32 MXARGBImage::getWidth | ( | ) | [inline, virtual] |
virtual int32 MXARGBImage::getHeight | ( | ) | [inline, virtual] |
int32 MXARGBImage::resize | ( | uint64 | size | ) | [virtual] |
Reseizes the internal array.
size | The new size of the internal array |
Reimplemented from MXAArrayTemplate< uint8 >.
int32 MXARGBImage::resizeArray | ( | int32 | width, | |
int32 | height | |||
) |
Resizes the data array to the specified width and height.
width | The new width of the array | |
height | The new height of the array |
std::string MXARGBImage::valueToString | ( | char | delimiter = ' ' |
) | [virtual] |
Serializes the value(s) of the array to a string using the delimiter The character to use to separate the values - Default is a single space.
Reimplemented from MXAArrayTemplate< uint8 >.
void MXARGBImage::operator= | ( | const MXARGBImage & | ) | [private] |
int32 MXARGBImage::_width [private] |
int32 MXARGBImage::_height [private] |