Main Page   Compound List   File List   Compound Members  

Cell.h

00001 #if !defined(__CELL_H)
00002 #define __CELL_H
00003 
00004 #include <vector>
00005 #include "MyMathUtils.h"
00006 
00007 using namespace std ;
00008 
00013 class Cell
00014 {
00015 public:
00016         Vektor2i *lowerleft;
00017         Vektor2i *upperright;
00018         vector<Vektor2i*> samplePoints;
00019 
00024         Cell()
00025         {
00026                 Initialize();
00027         }
00028 
00033         virtual ~Cell()
00034         {
00035                 Destroy();
00036         }
00037 
00042         void addSamplePointAtBack(Vektor2i sp);
00043 
00048         void addSamplePointAtFront(Vektor2i sp);
00049         
00053         void setBounds(int llx, int lly, int urx, int ury);
00054         
00058         Vektor2i getSamplePoint(int pos);
00059 
00060 private:
00061 
00065         void Initialize();
00066 
00070         void Destroy();
00071 
00072 };
00073 #endif //#if !defined(__CELL_H)

Generated on Tue Jan 22 19:13:37 2002 for FlowViz by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001