Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

Modules/ImageProcessor/GT2005ImageProcessor/GT2005Cluster.h

Go to the documentation of this file.
00001 #include "Tools/Math/Vector2.h"
00002 #include <list>
00003 
00004 class GT2005Cluster;
00005 
00006 class GT2005Cluster
00007 {
00008 private:
00009   //bounding box of the cluster
00010   double xmin,xmax,ymin,ymax;
00011   
00012   //flag to mark the candidates for clustering
00013   bool candidate;
00014   
00015   //mid-point of the cluster
00016   Vector2<double> mid;
00017 
00018   //iterators, which point to listelements of vNavi and hNavi(navigation-information list--->quode vide clusterliste)
00019   std::list<std::list<GT2005Cluster>::iterator>::iterator vpointer; //for vNavi
00020   std::list<std::list<GT2005Cluster>::iterator>::iterator hpointer; //for hNavi
00021   
00022 
00023 
00024 public:
00025   GT2005Cluster(double xminimum, double xmaximum, double yminimum, double ymaximum);
00026   GT2005Cluster();
00027 
00028   void setCandidate(bool c);
00029   bool getCandidate();
00030 
00031   double getYMin();
00032   double getXMin();
00033   double getXMax();
00034   double getYMax();
00035 
00036   Vector2<double> getMidpoint();
00037 
00038   std::list<std::list<GT2005Cluster>::iterator>::iterator getVPointer();
00039   void setVPointer(std::list<std::list<GT2005Cluster>::iterator>::iterator vp);
00040 
00041 
00042   std::list<std::list<GT2005Cluster>::iterator>::iterator getHPointer();
00043   void setHPointer(std::list<std::list<GT2005Cluster>::iterator>::iterator hp);
00044 };
00045   
00046 

Generated on Mon Mar 20 21:59:46 2006 for GT2005 by doxygen 1.3.6