Gazebo logo

GzImage Class Reference

#include <Image.hh>

List of all members.

Public Member Functions

 GzImage ()
virtual ~GzImage ()
int Set (int width, int height, const uint8_t *data)
 Load an image from data.
int Load (const char *filename)
 Load an image from a file.

Public Attributes

int width
int height
int components
int format
int type
int size
uint8_t * data

Constructor & Destructor Documentation

GzImage::GzImage  ) 

GzImage::~GzImage  )  [virtual]

Member Function Documentation

int GzImage::Set int  width,
int  height,
const uint8_t *  data

Load an image from data.

width,height Image dimensions (pixels).
data Image data (packed RGB888).
Returns 0 on success.

int GzImage::Load const char *  filename  ) 

Load an image from a file.

Member Data Documentation

int GzImage::width

int GzImage::height

int GzImage::components

int GzImage::format

int GzImage::type

int GzImage::size

uint8_t* GzImage::data

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

Last updated 12 September 2005 21:38:45