1 // Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
3 // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License.
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // Lesser General Public License for more details.
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
28 #ifndef VISU_ConvertorDef_HeaderFile
29 #define VISU_ConvertorDef_HeaderFile
32 \file VISU_ConvertorDef.hxx
33 \brief The file contains predeclarations for basic classes of the VISU CONVERTER package
36 #include "MED_SharedPtr.hxx"
40 //---------------------------------------------------------------
41 enum TEntity {NODE_ENTITY, EDGE_ENTITY, FACE_ENTITY, CELL_ENTITY};
44 //---------------------------------------------------------------
45 //! Defines VISU enumeration of geometrical types
46 enum EGeometry {ePOINT1=1, eSEG2=102, eSEG3=103, eTRIA3=203,
47 eQUAD4=204, eTRIA6=206,eQUAD8=208, eQUAD9=209, eTETRA4=304,
48 ePYRA5=305, ePENTA6=306, eHEXA8=308, eOCTA12=312, eTETRA10=310,
49 ePYRA13=313, ePENTA15=315, eHEXA20=320, eHEXA27=327,
50 ePOLYGONE=400, ePOLYEDRE=500, eNONE=-1};
53 //---------------------------------------------------------------
54 //! Enumeration used to extract different kinds of values from the data on gauss points
55 enum TGaussMetric { AVERAGE_METRIC = 0, MINIMUM_METRIC, MAXIMUM_METRIC };
58 //---------------------------------------------------------------
60 typedef MED::SharedPtr<TMesh> PMesh;
63 //---------------------------------------------------------------
65 typedef MED::SharedPtr<TGaussSubMesh> PGaussSubMesh;
68 //---------------------------------------------------------------
70 typedef MED::SharedPtr<TGaussMesh> PGaussMesh;
73 //---------------------------------------------------------------
75 typedef MED::SharedPtr<TSubProfile> PSubProfile;
78 //---------------------------------------------------------------
80 typedef MED::SharedPtr<TProfile> PProfile;
83 //---------------------------------------------------------------
85 typedef MED::SharedPtr<TMeshOnEntity> PMeshOnEntity;
88 //---------------------------------------------------------------
90 typedef MED::SharedPtr<TFamily> PFamily;
93 //---------------------------------------------------------------
95 typedef MED::SharedPtr<TGroup> PGroup;
98 //---------------------------------------------------------------
100 typedef MED::SharedPtr<TField> PField;
103 //---------------------------------------------------------------
105 typedef MED::SharedPtr<TGauss> PGauss;
108 //---------------------------------------------------------------
110 typedef MED::SharedPtr<TValForTime> PValForTime;
113 //---------------------------------------------------------------
115 typedef MED::SharedPtr<TGrille> PGrille;
118 //---------------------------------------------------------------