[an error occurred while processing this directive]
Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ImageFile Class Reference

#include <ImageFile.h>

Inheritance diagram for ImageFile:

Inheritance graph
List of all members.

Public Member Functions

 ImageFile ()
virtual ~ImageFile ()
void SetWidth (int w)
int GetWidth ()
void SetHeight (int h)
int GetHeight ()
void SetPixel (int x, int y, unsigned char p)
unsigned char GetPixel (int x, int y)
int *** GetRGBPixels (void)
void SetPixels (float **)
float ** GetPixels (void)
void Allocate (int dataset)
void Deallocate ()
virtual int Read (char *)=0
virtual void Write (char *)=0

Protected Attributes

int *** mRGB
unsigned char ** mPixels
float ** mFloats
int mWidth
int mHeight
bool mVerbosity

Constructor & Destructor Documentation

ImageFile::ImageFile  ) 

ImageFile::~ImageFile  )  [virtual]

Member Function Documentation

void ImageFile::Allocate int  dataset  ) 

void ImageFile::Deallocate  ) 

int ImageFile::GetHeight  )  [inline]

unsigned char ImageFile::GetPixel int  x,
int  y

float ** ImageFile::GetPixels void   ) 

int*** ImageFile::GetRGBPixels void   )  [inline]

int ImageFile::GetWidth  )  [inline]

virtual int ImageFile::Read char *   )  [pure virtual]

Implemented in PGMImage.

void ImageFile::SetHeight int  h  )  [inline]

void ImageFile::SetPixel int  x,
int  y,
unsigned char  p

void ImageFile::SetPixels float **   ) 

void ImageFile::SetWidth int  w  )  [inline]

virtual void ImageFile::Write char *   )  [pure virtual]

Implemented in PGMImage.

Member Data Documentation

float** ImageFile::mFloats [protected]

int ImageFile::mHeight [protected]

unsigned char** ImageFile::mPixels [protected]

int*** ImageFile::mRGB [protected]

bool ImageFile::mVerbosity [protected]

int ImageFile::mWidth [protected]

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

Generated on Mon Sep 20 01:01:33 2010 for Hugintrunk by doxygen