C:/Documents and Settings/otavio/Desktop/src_sfi/src_sfi/ImageLib/FileIO.cpp File Reference

#include "Image.h"
#include "FileIO.h"

Include dependency graph for FileIO.cpp:

Classes

struct  CTargaHead
class  CTargaRLC

Typedefs

typedef unsigned char uchar

Functions

void ReadFile (CImage &img, const char *filename)
void ReadFileTGA (CByteImage &img, const char *filename)
template<typename T>
void swapBytes (T &value)
void WriteFile (CImage &img, const char *filename)
void WriteFileTGA (CImage img, const char *filename)

Variables

const int TargaAttrBits = 15
const int TargaCMapBands = 3
const int TargaCMapSize = 256
const int TargaRawBW = 3
const int TargaRawColormap = 1
const int TargaRawRGB = 2
const int TargaRunBW = 11
const int TargaRunColormap = 9
const int TargaRunRGB = 10
const int TargaScreenOrigin = (1<<5)

Typedef Documentation

typedef unsigned char uchar


Function Documentation

void ReadFile ( CImage img,
const char *  filename 
)

void ReadFileTGA ( CByteImage img,
const char *  filename 
)

void swapBytes ( T &  value  )  [inline]

void WriteFile ( CImage img,
const char *  filename 
)

void WriteFileTGA ( CImage  img,
const char *  filename 
)


Variable Documentation

const int TargaAttrBits = 15

const int TargaCMapBands = 3

const int TargaCMapSize = 256

const int TargaRawBW = 3

const int TargaRawColormap = 1

const int TargaRawRGB = 2

const int TargaRunBW = 11

const int TargaRunColormap = 9

const int TargaRunRGB = 10

const int TargaScreenOrigin = (1<<5)


Generated on Mon Jan 14 15:36:48 2008 for Shape from Example by  doxygen 1.5.4