00001 /* 00002 * lib-controler-gmap : Le contrôleur de 3-G-cartes, surcouche de lib-controler. 00003 * Copyright (C) 2004, Moka Team, Université de Poitiers, Laboratoire SIC 00004 * http://www.sic.sp2mi.univ-poitiers.fr/ 00005 * Copyright (C) 2009, Guillaume Damiand, CNRS, LIRIS, 00006 * guillaume.damiand@liris.cnrs.fr, http://liris.cnrs.fr/ 00007 * 00008 * This file is part of lib-controler-gmap 00009 * 00010 * This program is free software: you can redistribute it and/or modify 00011 * it under the terms of the GNU Lesser General Public License as published by 00012 * the Free Software Foundation, either version 3 of the License, or 00013 * (at your option) any later version. 00014 * 00015 * This program is distributed in the hope that it will be useful, 00016 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00018 * GNU Lesser General Public License for more details. 00019 * 00020 * You should have received a copy of the GNU Lesser General Public License 00021 * along with this program. If not, see <http://www.gnu.org/licenses/>. 00022 */ 00023 00024 //****************************************************************************** 00025 // Ce fichier est une partie de "controler-gmap.hh". 00026 //****************************************************************************** 00027 #ifdef MODULE_ROUNDING 00028 //****************************************************************************** 00029 00030 public: 00031 00032 void modeRoundingReinitAllCoefs(); 00033 00034 void modeRoundingSetCoefOfMarkedDarts(int ADimension, TCoordinate ACoef); 00035 bool modeRoundingGetCoefOfMarkedDarts(int ADimension, TCoordinate& ACoef); 00036 TCoordinate modeRoundingSelectNextCoef(int ADimension); 00037 00038 private: 00039 CRoundingInterface* FRounding; 00040 00042 00043 //@name Méthodes permettant de changer de mode 00045 00052 void modeRoundingBegin(); 00053 00059 void modeRoundingEnd(); 00060 00067 bool areRoundingCoefsAllocated() const; 00068 00070 00071 //@name Méthodes pour la gestion de la souris 00073 00080 void modeRoundingOperationStart(); 00081 00088 void modeRoundingOperationMove(); 00089 00096 void modeRoundingOperationStop(); 00097 00099 00100 //@name Méthodes d'arrondi supposant que le mode ARRONDI est activé 00101 00103 00104 bool modeRoundingRoundVertices(bool ADig, bool ASurfacic); 00105 bool modeRoundingRoundEdges (bool A3D, bool ADig, bool ASetback, 00106 bool ASurfacic); 00107 00109 //****************************************************************************** 00110 #endif // MODULE_ROUNDING 00111 //******************************************************************************