Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

ImageBase Class Reference

An abstract base for the two image classes. More...

#include <ImageBase.h>

Inheritance diagram for ImageBase::

ImageGrey ImageRGB Image Image ImageHSV List of all members.

Public Methods

unsigned int get_width ()
 Returns the width of the image.

unsigned int get_height ()
 Returns the height of the image.


Protected Methods

 ImageBase (ImageBase &img)
 < Copy Constructor.

 ImageBase (unsigned int w, unsigned int h)
 Create an image with the given dimensions.

 ImageBase ()
 Create an image with 0x0 dimension.


Protected Attributes

unsigned int width
 Width of the image.

unsigned int height
 Height of the image.


Detailed Description

An abstract base for the two image classes.

This abstract class is used for a base for the two classes ImageRGB and ImageGrey. It declares methods and members which are common to both of these specific classes and allows the classes to be treated the same.

Definition at line 38 of file ImageBase.h.


The documentation for this class was generated from the following file:
Generated at Fri Aug 13 17:29:22 2004 for libRTImage by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001