Robot Simulator of the Robotics Group for Self-Organization of Control  0.8.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ImagePPM Class Reference

#include <imageppm.h>

Public Member Functions

 ImagePPM ()
 
 ImagePPM (int width, int height, unsigned char *data)
 data must contain width*height*3 (RGB) values! More...
 
 ~ImagePPM ()
 
int loadImage (const std::string &filename)
 
int storeImage (const std::string &filename)
 
int width ()
 
int height ()
 
unsigned char * 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

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