Main Page | Namespace List | Compound List | File List | Compound Members | File Members

Region_info.h

Go to the documentation of this file.
00001 #ifndef REGION_INFO_H
00002 #define REGION_INFO_H
00003 
00004 #include "Ellipse_region.h"
00005 #include "Contour_info.h"
00006 #include <vector>
00007 using namespace std;
00008 
00009 class Region_info {
00010  public:
00011 
00012   Region_info();
00013   Region_info(Ellipse_region *eIn);
00014   Region_info(Ellipse_region *eIn, double areaIN);
00015   ~Region_info();
00016 
00018   void addContourRegion(Contour_info *c);
00019 
00021   Contour_info * getFirstContour();
00022 
00024   Contour_info * getNextContour();
00025   int getNumContours();
00026 
00028   Ellipse_region *getEllipseRegion();
00029 
00031   double getArea();
00032 
00033  private: 
00034   Ellipse_region *e;
00035   double area; 
00036   vector<Contour_info *>::iterator i;
00037   vector<Contour_info *> cont;
00038 
00039   int label;
00040 
00041 
00042 };
00043 
00044 
00045 #endif

Generated on Thu Sep 4 14:59:31 2003 for Content-Based Image Retrieval by doxygen 1.3.3