Classes | Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes

ImageTGA Class Reference

#include <Image.h>

Inheritance diagram for ImageTGA:
Inheritance graph
[legend]
Collaboration diagram for ImageTGA:
Collaboration graph
[legend]

List of all members.

Classes

struct  TGA_Header

Public Member Functions

 ImageTGA (const ImageBuffer &ibuff)

Private Member Functions

void getTextureInfo ()
void readTGA8bits (const GLubyte *data, const GLubyte *colormap)
void readTGA16bits (const GLubyte *data)
void readTGA24bits (const GLubyte *data)
void readTGA32bits (const GLubyte *data)
void readTGAgray8bits (const GLubyte *data)
void readTGAgray16bits (const GLubyte *data)
void readTGA8bitsRLE (const GLubyte *data, const GLubyte *colormap)
void readTGA16bitsRLE (const GLubyte *data)
void readTGA24bitsRLE (const GLubyte *data)
void readTGA32bitsRLE (const GLubyte *data)
void readTGAgray8bitsRLE (const GLubyte *data)
void readTGAgray16bitsRLE (const GLubyte *data)

Private Attributes

const TGA_Header_header

Static Private Attributes

static int rgbaTable [4] = { 2, 1, 0, 3 }
static int bgraTable [4] = { 0, 1, 2, 3 }

Detailed Description

Definition at line 216 of file Image.h.


Constructor & Destructor Documentation

ImageTGA::ImageTGA ( const ImageBuffer ibuff  ) 

Definition at line 178 of file Image.cpp.


Member Function Documentation

void ImageTGA::getTextureInfo (  )  [private]

Definition at line 301 of file Image.cpp.

void ImageTGA::readTGA8bits ( const GLubyte *  data,
const GLubyte *  colormap 
) [private]

Definition at line 355 of file Image.cpp.

void ImageTGA::readTGA16bits ( const GLubyte *  data  )  [private]

Definition at line 380 of file Image.cpp.

void ImageTGA::readTGA24bits ( const GLubyte *  data  )  [private]

Definition at line 405 of file Image.cpp.

void ImageTGA::readTGA32bits ( const GLubyte *  data  )  [private]

Definition at line 433 of file Image.cpp.

void ImageTGA::readTGAgray8bits ( const GLubyte *  data  )  [private]

Definition at line 462 of file Image.cpp.

void ImageTGA::readTGAgray16bits ( const GLubyte *  data  )  [private]

Definition at line 475 of file Image.cpp.

void ImageTGA::readTGA8bitsRLE ( const GLubyte *  data,
const GLubyte *  colormap 
) [private]

Definition at line 488 of file Image.cpp.

void ImageTGA::readTGA16bitsRLE ( const GLubyte *  data  )  [private]

Definition at line 535 of file Image.cpp.

void ImageTGA::readTGA24bitsRLE ( const GLubyte *  data  )  [private]

Definition at line 584 of file Image.cpp.

void ImageTGA::readTGA32bitsRLE ( const GLubyte *  data  )  [private]

Definition at line 630 of file Image.cpp.

void ImageTGA::readTGAgray8bitsRLE ( const GLubyte *  data  )  [private]

Definition at line 678 of file Image.cpp.

void ImageTGA::readTGAgray16bitsRLE ( const GLubyte *  data  )  [private]

Definition at line 715 of file Image.cpp.


Member Data Documentation

const TGA_Header* ImageTGA::_header [private]

Definition at line 266 of file Image.h.

int ImageTGA::rgbaTable = { 2, 1, 0, 3 } [static, private]

Definition at line 274 of file Image.h.

int ImageTGA::bgraTable = { 0, 1, 2, 3 } [static, private]

Definition at line 275 of file Image.h.


The documentation for this class was generated from the following files: