Salome HOME
cc71569c04f2cd00b34eb4bb7eb8a06024b94ef0
[modules/visu.git] / src / CONVERTOR / VISU_ConvertorDef.hxx
1 // Copyright (C) 2007-2011  CEA/DEN, EDF R&D, OPEN CASCADE
2 //
3 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 //
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.
10 //
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.
15 //
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
19 //
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 //
22
23 //  VISU CONVERTOR :
24 //  File   : 
25 //  Author : 
26 //  Module : 
27 //
28 #ifndef VISU_ConvertorDef_HeaderFile
29 #define VISU_ConvertorDef_HeaderFile
30
31 /*! 
32   \file VISU_ConvertorDef.hxx
33   \brief The file contains predeclarations for basic classes of the VISU CONVERTER package
34 */
35
36 #include "MED_SharedPtr.hxx"
37
38 namespace VISU
39 {
40   //---------------------------------------------------------------
41   enum  TEntity {NODE_ENTITY, EDGE_ENTITY, FACE_ENTITY, CELL_ENTITY};
42
43
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};
51
52
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 };
56
57
58   //---------------------------------------------------------------
59   struct TMesh;
60   typedef MED::SharedPtr<TMesh> PMesh;
61
62
63   //---------------------------------------------------------------
64   struct TGaussSubMesh;
65   typedef MED::SharedPtr<TGaussSubMesh> PGaussSubMesh;
66
67
68   //---------------------------------------------------------------
69   struct TGaussMesh;
70   typedef MED::SharedPtr<TGaussMesh> PGaussMesh;
71
72
73   //---------------------------------------------------------------
74   struct TSubProfile;
75   typedef MED::SharedPtr<TSubProfile> PSubProfile;
76
77
78   //---------------------------------------------------------------
79   struct TProfile;
80   typedef MED::SharedPtr<TProfile> PProfile;
81
82
83   //---------------------------------------------------------------
84   struct TMeshOnEntity;
85   typedef MED::SharedPtr<TMeshOnEntity> PMeshOnEntity;
86
87
88   //---------------------------------------------------------------
89   struct TFamily;
90   typedef MED::SharedPtr<TFamily> PFamily;
91
92
93   //---------------------------------------------------------------
94   struct TGroup;
95   typedef MED::SharedPtr<TGroup> PGroup;
96
97
98   //---------------------------------------------------------------
99   struct TField;
100   typedef MED::SharedPtr<TField> PField;
101
102
103   //---------------------------------------------------------------
104   struct TGauss;
105   typedef MED::SharedPtr<TGauss> PGauss;
106
107
108   //---------------------------------------------------------------
109   struct TValForTime;
110   typedef MED::SharedPtr<TValForTime> PValForTime;
111   
112
113   //---------------------------------------------------------------
114   struct TGrille;
115   typedef MED::SharedPtr<TGrille> PGrille;
116
117
118   //---------------------------------------------------------------
119 }
120
121 #endif