]> SALOME platform Git repositories - modules/visu.git/blob - src/CONVERTOR/VISU_ConvertorDef.hxx
Salome HOME
9e9099d358d8ab90b6ca2b3f1a9c65f9ea8d7dc9
[modules/visu.git] / src / CONVERTOR / VISU_ConvertorDef.hxx
1 //  Copyright (C) 2007-2008  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 //  VISU CONVERTOR :
23 //  File   : 
24 //  Author : 
25 //  Module : 
26 //
27 #ifndef VISU_ConvertorDef_HeaderFile
28 #define VISU_ConvertorDef_HeaderFile
29
30 /*! 
31   \file VISU_ConvertorDef.hxx
32   \brief The file contains predeclarations for basic classes of the VISU CONVERTER package
33 */
34
35 #include "MED_SharedPtr.hxx"
36
37 namespace VISU
38 {
39   //---------------------------------------------------------------
40   enum  TEntity {NODE_ENTITY, EDGE_ENTITY, FACE_ENTITY, CELL_ENTITY};
41
42
43   //---------------------------------------------------------------
44   //! Defines VISU enumeration of geometrical types
45   enum EGeometry {ePOINT1=1, eSEG2=102, eSEG3=103, eTRIA3=203,
46                   eQUAD4=204, eTRIA6=206,eQUAD8=208, eTETRA4=304,
47                   ePYRA5=305, ePENTA6=306, eHEXA8=308, eTETRA10=310, 
48                   ePYRA13=313, ePENTA15=315, eHEXA20=320, 
49                   ePOLYGONE=400, ePOLYEDRE=500, eNONE=-1};
50
51
52   //---------------------------------------------------------------
53   //! Enumeration used to extract different kinds of values from the data on gauss points
54   enum TGaussMetric { AVERAGE_METRIC = 0, MINIMUM_METRIC, MAXIMUM_METRIC };
55
56
57   //---------------------------------------------------------------
58   struct TMesh;
59   typedef MED::SharedPtr<TMesh> PMesh;
60
61
62   //---------------------------------------------------------------
63   struct TGaussSubMesh;
64   typedef MED::SharedPtr<TGaussSubMesh> PGaussSubMesh;
65
66
67   //---------------------------------------------------------------
68   struct TGaussMesh;
69   typedef MED::SharedPtr<TGaussMesh> PGaussMesh;
70
71
72   //---------------------------------------------------------------
73   struct TSubProfile;
74   typedef MED::SharedPtr<TSubProfile> PSubProfile;
75
76
77   //---------------------------------------------------------------
78   struct TProfile;
79   typedef MED::SharedPtr<TProfile> PProfile;
80
81
82   //---------------------------------------------------------------
83   struct TMeshOnEntity;
84   typedef MED::SharedPtr<TMeshOnEntity> PMeshOnEntity;
85
86
87   //---------------------------------------------------------------
88   struct TFamily;
89   typedef MED::SharedPtr<TFamily> PFamily;
90
91
92   //---------------------------------------------------------------
93   struct TGroup;
94   typedef MED::SharedPtr<TGroup> PGroup;
95
96
97   //---------------------------------------------------------------
98   struct TField;
99   typedef MED::SharedPtr<TField> PField;
100
101
102   //---------------------------------------------------------------
103   struct TGauss;
104   typedef MED::SharedPtr<TGauss> PGauss;
105
106
107   //---------------------------------------------------------------
108   struct TValForTime;
109   typedef MED::SharedPtr<TValForTime> PValForTime;
110   
111
112   //---------------------------------------------------------------
113   struct TGrille;
114   typedef MED::SharedPtr<TGrille> PGrille;
115
116
117   //---------------------------------------------------------------
118 }
119
120 #endif