visudata.h

Go to the documentation of this file.
00001 #ifndef __visudata_h
00002 #define __visudata_h
00003 
00004 #include  "vertex.h"
00005 
00006 /***************************************************************/
00007 
00008 namespace Gascoigne
00009 {
00010   class VisuData
00011   {
00012     private:
00013       
00014     protected:
00015 
00016     public:
00017       VisuData() {}
00018       virtual ~VisuData(){}
00019 
00020       virtual int    visucomp()     const {
00021         return 0;
00022       }
00023       virtual int    visun()        const {
00024         return 0;
00025       }
00026       virtual double visudata(int i,int c) const {
00027         std::cerr << "\"VisuData::visudata\" not written!" << std::endl;
00028         abort();
00029       }
00030       virtual double visudata2(int i,int c, const Vertex2d& v) const {
00031         return visudata(i,c);
00032       }
00033       virtual double visudata2(int i,int c, const Vertex3d& v) const {
00034         return visudata(i,c);
00035       }
00036   };
00037 }
00038 
00039 /***************************************************************/
00040 
00041 #endif

Generated on Thu Sep 14 10:34:36 2006 for Gascoigne by  doxygen 1.4.7