TdkImageRGBA Class Reference
[The Core Module]

Defines the TdkImageRGBA class. More...

#include <TdkImageRGBA.h>

Inheritance diagram for TdkImageRGBA:

TdkImageRGB TdkImage List of all members.

Public Member Functions

 TdkImageRGBA (int w, int h, unsigned char *r, unsigned char *g, unsigned char *b, unsigned char *a)
virtual ~TdkImageRGBA ()
virtual TdkImageRepType getType ()
virtual unsigned char * getBand (int band)
virtual unsigned char * getAlpha ()
virtual bool isValid ()
 Returns the red buffer.

Protected Member Functions

virtual void clear ()
 The blue buffer.

Protected Attributes

unsigned char * _alpha
 alpha RGBA image channel

Detailed Description

Defines the TdkImageRGBA class.


Constructor & Destructor Documentation

TdkImageRGBA::TdkImageRGBA ( int  w,
int  h,
unsigned char *  r,
unsigned char *  g,
unsigned char *  b,
unsigned char *  a 
)

TdkImageRGBA::~TdkImageRGBA (  )  [virtual]


Member Function Documentation

virtual TdkImageRepType TdkImageRGBA::getType (  )  [inline, virtual]

Gets the image type.

Returns:
The image type.

Reimplemented from TdkImageRGB.

unsigned char * TdkImageRGBA::getBand ( int  band  )  [virtual]

Reimplemented from TdkImageRGB.

virtual unsigned char* TdkImageRGBA::getAlpha (  )  [inline, virtual]

bool TdkImageRGBA::isValid (  )  [virtual]

Returns the red buffer.

Tells whether this image data is valid.

Returns:
True if the image data is valid.

Reimplemented from TdkImageRGB.

void TdkImageRGBA::clear (  )  [protected, virtual]

The blue buffer.

Reimplemented from TdkImageRGB.


Member Data Documentation

unsigned char* TdkImageRGBA::_alpha [protected]

alpha RGBA image channel


The documentation for this class was generated from the following files:
Generated on Fri Jun 15 16:54:40 2007 for TDK by  doxygen 1.5.2