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

PathTrackingFMM.hpp

00001 #ifndef __PathTrackingFMM__
00002 #define __PathTrackingFMM__
00003 
00004 
00005 
00034 #include "ImagePotential.hpp"
00035 
00036 #include "SimilarPixelFMM.hpp"
00037 
00038 class PathTrackingFMM : public SimilarPixelFMM
00039 {
00040 private:
00041 
00042 int                     x1, y1;                                 // end point
00043 
00044 public:
00045 
00046 PathTrackingFMM():SimilarPixelFMM(){ x1= 1; y1= 1; }
00047 virtual ~PathTrackingFMM(){  }
00048         
00049 virtual void                    setTerminator(int x, int y){ x1= x; y1= y; potential->setPoint1(x, y); }        
00050 
00052 virtual bool                    iterate();
00053 virtual bool                    iterate(int* x, int* y){return DistanceFMM::iterate(x,y);}      
00054 virtual bool                    iterate(int* x, int* y, double* rate){return DistanceFMM::iterate(x,y,rate);}
00055 
00056 
00057 virtual void                    report(){}
00058 };
00059 
00060 #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