ImagePPM Class Reference

#include <imageppm.h>

List of all members.

Public Member Functions

 ImagePPM ()
 ImagePPM (int width, int height, unsigned char *data)
 data must contain width*height*3 (RGB) values!
 ~ImagePPM ()
int loadImage (const std::string &filename)
int storeImage (const std::string &filename)
int width ()
int height ()
unsigned char * data ()

Private Attributes

int image_width
int image_height
unsigned char * image_data


Constructor & Destructor Documentation

ImagePPM  ) 
 

ImagePPM int  width,
int  height,
unsigned char *  data
 

data must contain width*height*3 (RGB) values!

~ImagePPM  ) 
 


Member Function Documentation

unsigned char* data  )  [inline]
 

int height  )  [inline]
 

int loadImage const std::string &  filename  ) 
 

int storeImage const std::string &  filename  ) 
 

int width  )  [inline]
 


Member Data Documentation

unsigned char* image_data [private]
 

int image_height [private]
 

int image_width [private]
 


The documentation for this class was generated from the following files:
Generated on Tue Jan 16 02:14:46 2007 for Robotsystem of the Robot Group Leipzig by doxygen 1.3.8