Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

OpenCAL::Utils::Image Class Reference

#include <Image.h>

List of all members.

Public Member Functions

 Image (unsigned int width, unsigned int height, unsigned int depth=3)
 Image (const string &filename)
unsigned int getWidth () const
unsigned int getHeight () const
unsigned int getDepth () const
const unsigned char * getData () const
unsigned char * getData ()
void resize (unsigned int width, unsigned int height, unsigned int depth)
void clear ()

Protected Attributes

unsigned int m_width
unsigned int m_height
unsigned int m_depth
unsigned char * m_data


Detailed Description

This class represents an image, with a certain width, height, and depth. It contains the image's data, as an array of unsigned chars. It can load an image from a file, using the ImageLoader class.

Definition at line 27 of file Image.h.


The documentation for this class was generated from the following files:
Generated on Sun Aug 15 19:19:37 2004 for OpenCAL: Open Computer Animation Library by doxygen 1.3.8