#include <TdkImageRGB.h>
Inheritance diagram for TdkImageRGB:

Public Member Functions | |
| TdkImageRGB (int w, int h, unsigned char *r, unsigned char *g, unsigned char *b) | |
| TdkImageRGB (int w, int h) | |
| virtual | ~TdkImageRGB () |
| virtual TdkImageRepType | getType () |
| virtual unsigned char * | getBand (int band) |
| virtual unsigned char * | getRed () |
| virtual unsigned char * | getGreen () |
| Returns the red buffer. | |
| virtual unsigned char * | getBlue () |
| Returns the green buffer. | |
| virtual bool | getElement (int c, int l, unsigned char &val, int band) |
| Returns the blue buffer. | |
| virtual bool | setElement (int c, int l, unsigned char val, int band) |
| virtual bool | isValid () |
Protected Member Functions | |
| virtual void | clear () |
| The blue buffer. | |
Protected Attributes | |
| unsigned char * | _red |
| unsigned char * | _green |
| The red buffer. | |
| unsigned char * | _blue |
| The green buffer. | |
| TdkImageRGB::TdkImageRGB | ( | int | w, | |
| int | h, | |||
| unsigned char * | r, | |||
| unsigned char * | g, | |||
| unsigned char * | b | |||
| ) |
| TdkImageRGB::TdkImageRGB | ( | int | w, | |
| int | h | |||
| ) |
| TdkImageRGB::~TdkImageRGB | ( | ) | [virtual] |
| virtual TdkImageRepType TdkImageRGB::getType | ( | ) | [inline, virtual] |
Gets the image type.
Reimplemented from TdkImage.
Reimplemented in TdkImageRGBA.
| unsigned char * TdkImageRGB::getBand | ( | int | band | ) | [virtual] |
Reimplemented in TdkImageRGBA.
| virtual unsigned char* TdkImageRGB::getRed | ( | ) | [inline, virtual] |
| virtual unsigned char* TdkImageRGB::getGreen | ( | ) | [inline, virtual] |
Returns the red buffer.
| virtual unsigned char* TdkImageRGB::getBlue | ( | ) | [inline, virtual] |
Returns the green buffer.
| bool TdkImageRGB::getElement | ( | int | c, | |
| int | l, | |||
| unsigned char & | val, | |||
| int | band | |||
| ) | [virtual] |
Returns the blue buffer.
| bool TdkImageRGB::setElement | ( | int | c, | |
| int | l, | |||
| unsigned char | val, | |||
| int | band | |||
| ) | [virtual] |
| bool TdkImageRGB::isValid | ( | ) | [virtual] |
Tells whether this image data is valid.
Reimplemented from TdkImage.
Reimplemented in TdkImageRGBA.
| void TdkImageRGB::clear | ( | ) | [protected, virtual] |
unsigned char* TdkImageRGB::_red [protected] |
unsigned char* TdkImageRGB::_green [protected] |
The red buffer.
unsigned char* TdkImageRGB::_blue [protected] |
The green buffer.
1.5.2