Page principale | Hiérarchie des classes | Liste des classes | Liste des fichiers | Membres de classe

MultiSurface.h

00001 //MultiSurface.h
00002 #ifndef MULTISURFACE_H
00003 #define MULTISURFACE_H
00004 #include <string> //les chaines de caracteres
00005 
00006 
00015 using namespace std;
00016 
00017 class Point;
00018 
00019 
00020 class MultiSurface
00021   {
00022     
00023 /******************************************************************************/
00024 /*                 les attributs prives                                       */
00025 /******************************************************************************/    
00026     private:
00027         
00028         static int nbComposantAttendus;
00029         
00030         typedef struct mapZone {
00031                 double x ;
00032                 double y ;
00033                 double propL ; // compri entre 0 et 1           proportion par rapport a la surface totale
00034                 double propH ; // compri entre 0 et 1           proportion par rapport a la surface totale
00035         } ;
00036 
00037 
00038         typedef struct mapCG {  
00039                 int idS ;
00040                 int idZ ;
00041                 char* nom ;
00042         } ;
00043         
00044 
00045         int ID ;
00046 
00047 /******************************************************************************/
00048 /*                 les attributs protected                                    */
00049 /******************************************************************************/         
00050     protected:
00051        
00052        
00053        
00054 /******************************************************************************/
00055 /*                 les methodes  prives                                       */
00056 /******************************************************************************/    
00057 
00058 
00059 
00060 
00061 
00062 /******************************************************************************/
00063 /*                 les attributs et methodes publics                          */
00064 /******************************************************************************/        
00065     
00066     public : 
00067         
00068         void printMap(int id) ;
00073         void selectionCG(int idS);
00078         void deSelectionCG(int idG);
00083         void supprimer(int idG);
00088         void setMode(int ed);
00094         void activerS(int id, bool etat);
00099         void verifierNomGraphe(char* nom, bool graphe, bool miniature );
00109         void deplacerCG(int ids1,int idz1,int ids2,int idz2,int idg,char *type);
00116         void modVisu(bool unD,bool deuxD,bool troisD);
00127         void creerCG(char* strNom,bool graphe,bool miniature,int strIdg, int strIdm,int strIds,int strIdz);
00128         
00138         void MAJmapZone ( int idS, int idZ, double x, double y , double L, double H ) ;
00139         
00146         void envNomOK(char* nom, int idg, int idm) ;
00147         
00152         void setGraph(/*Gcomposant* composant*/) ;
00153         
00160         void moveCG (int idCG, double x, double y );
00161 
00162 /******************************************************************************/
00163 /*                 les attributs publics                                       */
00164 /******************************************************************************/    
00165 
00166           
00167 /******************************************************************************/
00168 /*                 Constructeurs                                              */
00169 /******************************************************************************/                
00174         MultiSurface();
00175         
00176               
00177 /******************************************************************************/
00178 /*                 Methodes                                                   */
00179 /******************************************************************************/
00180 void init();
00181 
00185 void print();
00186  
00187 
00191 void destruction();
00192 
00193   }; //fin de la classe MultiSurface
00194     
00195 
00196 #endif         

Généré le Thu Jun 16 21:17:59 2005 pour Le projet NavGraphe par  doxygen 1.3.9.1