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

Line_clusters.h

Go to the documentation of this file.
00001 
00002 #ifndef LINE_CLUSTERS_H_
00003 #define LINE_CLUSTERS_H_
00004 
00005 #include <vector>
00006 #include "Line_cluster.h"
00007 using namespace std;
00008 
00009 class Line_clusters {
00010  public:
00011 
00012   Line_clusters();
00013   Line_clusters(double w, double h, double s);
00014   ~Line_clusters();
00015 
00017   void addRegion(Line_cluster s);
00018   
00020   Line_cluster getFirst();
00021 
00023   Line_cluster getNext();
00024 
00026   int getNumClusters();
00027 
00029   double getWidth();
00030 
00032   double getHeight();
00033 
00035   void recenterLines(int x, int y);
00036 
00037  private:
00038   double width, height, scale;
00039   vector<Line_cluster>::iterator i;
00040   vector<Line_cluster> v;
00041 };
00042 
00043 #endif

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