00001 00009 class IChain 00010 { 00011 protected: 00012 Image *map,*img; 00013 OPoint ep,cp,np; 00014 bool dual; 00015 OHL *cl,*jl; 00016 static int jlab, plab; 00017 00018 void junctionFind(); 00019 int iNCount(OPoint & p); 00020 void junctionChain(OPoint &); 00021 00022 bool entryFind(); 00023 int mNCount(OPoint &); 00024 void lineChain(bool); 00025 void pointChain(OPoint &,bool); 00026 int chainFollow(); 00027 00028 public: 00029 OHL *il; 00030 00031 IChain(); 00032 ~IChain(); 00033 00034 void imageChain(Image*); 00035 }; 00036