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

Modules/ImageProcessor/GT2005ImageProcessor/GT2005Cluster.cpp

Go to the documentation of this file.
00001 #include "GT2005Cluster.h"
00002 
00003 
00004 GT2005Cluster::GT2005Cluster(double xminimum, double xmaximum, double yminimum, double ymaximum)
00005 {
00006   xmin = xminimum;
00007   xmax = xmaximum;
00008   ymax = ymaximum;
00009   ymin = yminimum;
00010     
00011   //calculation of midpoint
00012   mid.x = (xmin + xmax)/2;
00013   mid.y = (ymin + ymax)/2;
00014 }
00015 
00016 GT2005Cluster::GT2005Cluster()
00017 {
00018 }
00019 
00020 void GT2005Cluster::setCandidate(bool c)
00021 {
00022   candidate = c;
00023 
00024 }
00025 
00026 bool GT2005Cluster::getCandidate()
00027 {
00028   return(candidate);
00029 }
00030 
00031 double GT2005Cluster::getYMin()
00032 {
00033   return(ymin);
00034 }
00035 
00036 double GT2005Cluster::getXMin()
00037 {
00038   return(xmin);
00039 }
00040 
00041 double GT2005Cluster::getXMax()
00042 {
00043   return(xmax);
00044 }
00045 
00046 double GT2005Cluster::getYMax()
00047 {
00048   return(ymax);
00049 }
00050 
00051 
00052 Vector2<double> GT2005Cluster::getMidpoint()
00053 {
00054   return(mid);
00055 }
00056 
00057 std::list<std::list<GT2005Cluster>::iterator>::iterator GT2005Cluster::getVPointer()
00058 {
00059   return(vpointer);
00060 }
00061 
00062 void GT2005Cluster::setVPointer(std::list<std::list<GT2005Cluster>::iterator>::iterator vp)
00063 {
00064   vpointer = vp;
00065 }
00066 
00067 std::list<std::list<GT2005Cluster>::iterator>::iterator GT2005Cluster::getHPointer()
00068 {
00069   return(hpointer);
00070 }
00071 
00072 void GT2005Cluster::setHPointer(std::list<std::list<GT2005Cluster>::iterator>::iterator hp)
00073 {
00074   hpointer = hp;
00075 }
00076 

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