Back to index

salome-smesh  6.5.0
MeshCut_Globals.hxx
Go to the documentation of this file.
00001 // Copyright (C) 2006-2012  EDF R&D
00002 //
00003 // This library is free software; you can redistribute it and/or
00004 // modify it under the terms of the GNU Lesser General Public
00005 // License as published by the Free Software Foundation; either
00006 // version 2.1 of the License.
00007 //
00008 // This library is distributed in the hope that it will be useful,
00009 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00010 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011 // Lesser General Public License for more details.
00012 //
00013 // You should have received a copy of the GNU Lesser General Public
00014 // License along with this library; if not, write to the Free Software
00015 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
00016 //
00017 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
00018 //
00019 
00020 #ifndef __MESHCUT_GLOBALS_HXX__
00021 #define __MESHCUT_GLOBALS_HXX__
00022 
00023 #include "MeshCut_Maillage.hxx"
00024 
00025 #include <map>
00026 #include <string>
00027 #include <vector>
00028 
00029 namespace MESHCUT
00030   {
00037     extern std::map<std::string, int> intersections;
00038 
00039     extern int indexNouvellesMailles, indexNouveauxNoeuds, offsetMailles;
00040     extern std::string str_id_GMplus, str_id_GMmoins;
00041     extern Maillage *MAILLAGE1, *MAILLAGE2;
00042 
00043     extern std::vector<float> newXX, newYY, newZZ;
00044     extern std::map<TYPE_MAILLE, std::vector<int> > newCNX;
00045     extern std::map<TYPE_MAILLE, int> cptNouvellesMailles;
00046     extern std::map<TYPE_MAILLE, std::vector<int> > GMplus, GMmoins;
00047     extern std::vector<int> cutTetras;
00048 
00049     extern float *DNP; 
00050     extern int *POSN; 
00051 
00052     extern std::string str_id_maillagenew;
00053 
00054     extern float normale[3], pointPlan[3]; 
00055     extern float d; 
00056     extern float epsilon; 
00057 
00058     extern bool debug;
00059     extern int Naretes;
00060   }
00061 
00062 #endif