00001 #ifndef __DTransportFMM__ 00002 #define __DTransportFMM__ 00003 00004 00041 #include "DistanceFMM.hpp" 00042 00043 class DTransportFMM : public DistanceFMM 00044 { 00045 private: 00046 00047 bool connected4; 00048 00049 bool averageValues; 00050 00051 int xSelectedAlive, ySelectedAlive; 00052 int redAliveEstimate, greenAliveEstimate, blueAliveEstimate; 00053 00054 AnImage* image; 00055 00056 protected: 00057 00059 virtual Psi2DValue* select(); 00061 virtual void getAliveNeighbour(int x, int y); 00062 00063 public: 00064 DTransportFMM(bool average, bool aconnected4) 00065 {averageValues= average; connected4= aconnected4;} 00066 virtual ~DTransportFMM(){} 00067 00069 virtual AnImage* selectedFilter(AnImage* mask, AnImage* src, AnImage* dest=0); 00070 }; 00071 00072 #endif