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

MNeigbourSet.hpp

00001 #ifndef __MNeigbourSet__
00002 #define __MNeigbourSet__
00003 
00004 
00022 #include "MPsi2DValue.hpp"
00023 
00024 class MNeigbourSet
00025 {
00026 public:
00027 
00028 int                             n, nmax;                                                        
00029 
00030 MPsi2DValue**   psi;
00031 
00032 public:
00033 
00034 MNeigbourSet();
00035 ~MNeigbourSet() { delete[] psi; }
00036 
00037 int                             numberOfMembers(){ return n; }
00038 MPsi2DValue*            get(int i){ return psi[i]; }
00039         
00040 bool                    isEmpty(){ return n <= 0; }
00041 bool                    isFull(){ return n == nmax; }
00042 
00043 void                    add(MPsi2DValue* psi);
00044 void                    clear(){ n= 0; }
00045 
00046 void                    write(FILE* file);
00047 void                    output(){}
00048 };
00049 
00050 #endif
SourceForge.net Logo
Restoreinpaint sourceforge project `C++/Java Image Processing, Restoration, Inpainting Project'.

Bernard De Cuyper: Open Project Leader: Concept, design and development.
Bernard De Cuyper & Eddy Fraiha 2002, 2003. Bernard De Cuyper 2004. Open and free, for friendly usage only.
Modifications on Belgium ground of this piece of artistic work, by governement institutions or companies, must be notified to Bernard De Cuyper.
bern_bdc@hotmail.com