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

IntImage.h

00001 /* Copyright (c) 2001 C. Grigorescu S.E. Grigorescu */
00002 
00003 #ifndef INT_IMAGE_H
00004 #define INT_IMAGE_H
00005 
00006 #include "Image.h"
00007 
00012 class IntImage : public Image< int > 
00013 {
00014  public:  
00016   IntImage(char *name= "") : Image< int >(name) {}
00017 
00019   IntImage(int w, int h, char *name = "") : Image< int >(w, h, name) {}
00020 
00023   IntImage &operator&=(const IntImage & img);
00024 
00027   IntImage &operator|=(const IntImage & img);  
00028 
00031   IntImage &operator=(Image< int > &img); 
00032 };
00033 
00034 #endif