00001 #ifndef creaContoursFactory_h 00002 #define creaContoursFactory_h 00003 00004 #include "manualBaseModel.h" 00005 #include "manualViewBaseContour.h" 00006 #include "manualContourBaseControler.h" 00007 00008 00009 class creaMaracasVisu_EXPORT creaContoursFactory 00010 { 00011 00012 //--------------------------- virtual ~manualBaseModel();------------------------ 00013 // PUBLIC METHODS & ATTS 00014 //--------------------------------------------------- 00015 00016 public: 00017 creaContoursFactory(); 00018 virtual ~creaContoursFactory(); 00019 00020 /* Creates the controler of the contour given the number of the contour*/ 00021 manualContourBaseControler* getContourControler(int typeContour); 00022 00023 /* Creates the controler of the contour given the name of the contour*/ 00024 manualContourBaseControler* getContourControler(std::string typeContour); 00025 00026 /* Creates the model of the contour given the number of the contour*/ 00027 manualBaseModel* getContourModel(int typeContour); 00028 00029 /* Creates the model of the contour given the name of the contour*/ 00030 manualBaseModel* getContourModel(std::string typeContour); 00031 00032 /* Creates the viewer of the contour given the number of the contour*/ 00033 manualViewBaseContour* getCountourView(int typeContour); 00034 00035 /* Creates the viezer of the contour given the name of the contour*/ 00036 manualViewBaseContour* getCountourView(std::string typeContour); 00037 }; 00038 00039 #endif