Image::Image Class Reference

#include <Image.h>

List of all members.

Public Member Functions

 Image (const std::string &filename)
unsigned int getWidth () const
unsigned int getHeight () const
unsigned int getBpp () const
unsigned char * getData () const


Detailed Description

The Image class represents a graphical image.


Constructor & Destructor Documentation

Image::Image::Image const std::string &  filename  ) 
 

Constructs an Image from the specified image file.

Parameters:
filename the image file.


Member Function Documentation

unsigned int Image::Image::getBpp  )  const
 

Returns the byte per pixel in the image.

Returns:
the byte per pixel.

unsigned char* Image::Image::getData  )  const
 

Returns a pointer to the image data. TODO: how is the image data stored?

Returns:
a pointer to the image data.

unsigned int Image::Image::getHeight  )  const
 

Returns the height of the image.

Returns:
the height of the image.

unsigned int Image::Image::getWidth  )  const
 

Returns the width of the image.

Returns:
the width of the image.


The documentation for this class was generated from the following file:
Generated on Fri Jun 16 08:42:52 2006 for GPU Thesis by  doxygen 1.4.6-NO