Salome HOME
Merge from BR_V5_DEV 16Feb09
[modules/smesh.git] / resources / StdMeshers.xml
1 <?xml version='1.0' encoding='us-ascii'?>
2 <!DOCTYPE meshers PUBLIC "" "desktop.dtd">
3 <!--
4   Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
5
6   Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
7   CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
8
9   This library is free software; you can redistribute it and/or
10   modify it under the terms of the GNU Lesser General Public
11   License as published by the Free Software Foundation; either
12   version 2.1 of the License.
13
14   This library is distributed in the hope that it will be useful,
15   but WITHOUT ANY WARRANTY; without even the implied warranty of
16   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17   Lesser General Public License for more details.
18
19   You should have received a copy of the GNU Lesser General Public
20   License along with this library; if not, write to the Free Software
21   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
22
23   See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
24
25 -->
26
27 <!--  GUI customization for MESH component  -->
28
29 <meshers>
30
31 <meshers-group name="Standard Meshers"
32                resources="StdMeshers"
33                server-lib="StdMeshersEngine"
34                gui-lib="StdMeshersGUI">
35   <hypotheses>
36
37     <hypothesis type="SegmentLengthAroundVertex"
38                 label-id="Length Near Vertex"
39                 icon-id="mesh_hypo_length.png"
40                 dim="0"/>
41
42     <hypothesis type="LocalLength"
43                 label-id="Average length"
44                 icon-id="mesh_hypo_length.png"
45                 dim="1"/>
46
47     <hypothesis type="MaxLength"
48                 label-id="Max Size"
49                 icon-id="mesh_hypo_length.png"
50                 dim="1"/>
51
52     <hypothesis type="Arithmetic1D"
53                 label-id="Arithmetic 1D"
54                 icon-id="mesh_hypo_length.png"
55                 dim="1"/>
56
57     <hypothesis type="StartEndLength"
58                 label-id="Start and End Length"
59                 icon-id="mesh_hypo_length.png"
60                 dim="1"/>
61
62     <hypothesis type="NumberOfSegments"
63                 label-id="Nb. Segments"
64                 icon-id="mesh_hypo_segment.png"
65                 dim="1"/>
66
67     <hypothesis type="Deflection1D"
68                 label-id="Deflection 1D"
69                 icon-id="mesh_hypo_length.png"
70                 dim="1"/>
71
72     <hypothesis type="Propagation"
73                 label-id="Propagation of 1D Hyp. on opposite edges"
74                 icon-id="mesh_hypo_length.png"
75                 dim="1"
76                 auxiliary="true"/>
77
78     <hypothesis type="AutomaticLength"
79                 label-id="Automatic length"
80                 icon-id="mesh_hypo_length.png"
81                 dim="1"/>
82
83     <hypothesis type="LengthFromEdges"
84                 label-id="Length From Edges (2D Hyp. for Triangulator)"
85                 icon-id="mesh_hypo_length.png"
86                 dim="2"/>
87
88     <hypothesis type="QuadranglePreference"
89                 label-id="Quadrangle Preference"
90                 icon-id="mesh_algo_quad.png"
91                 auxiliary="true"
92                 dim="2"/>
93
94     <hypothesis type="TrianglePreference"
95                 label-id="Triangle Preference"
96                 icon-id="mesh_algo_mefisto.png"
97                 auxiliary="true"
98                 dim="2"/>
99                 
100     <hypothesis type="QuadraticMesh"
101                 label-id="Quadratic Mesh"
102                 icon-id="mesh_algo_quad.png"
103                 dim="1"
104                 auxiliary="true"/>                
105
106     <hypothesis type="MaxElementArea"
107                 label-id="Max. Element Area"
108                 icon-id="mesh_hypo_area.png"
109                 dim="2"/>
110                 
111     <hypothesis type="NotConformAllowed"
112                 label-id="Not Conform Mesh Allowed"
113                 icon-id="mesh_hypo_length.png"
114                 dim="1,2,3"
115                 auxiliary="true"/>                
116
117     <hypothesis type="MaxElementVolume"
118                 label-id="Max. Element Volume"
119                 icon-id="mesh_hypo_volume.png"
120                 need-geom = "false"
121                 dim="3"/>
122
123     <hypothesis type="ProjectionSource3D"
124                 label-id="Source Shape 3D"
125                 icon-id="mesh_hypo_volume.png"
126                 dim="3"/>
127
128     <hypothesis type="ProjectionSource2D"
129                 label-id="Source Face"
130                 icon-id="mesh_hypo_area.png"
131                 dim="2"/>
132
133     <hypothesis type="ProjectionSource1D"
134                 label-id="Source Edge"
135                 icon-id="mesh_hypo_length.png"
136                 dim="1"/>
137
138     <hypothesis type="NumberOfLayers"
139                 label-id="Number of Layers"
140                 icon-id="mesh_hypo_length.png"
141                 dim="3"/>
142
143     <hypothesis type="LayerDistribution"
144                 label-id="Distribution of Layers"
145                 icon-id="mesh_hypo_length.png"
146                 dim="3"/>
147   </hypotheses>
148
149   <algorithms>
150
151     <algorithm type="SegmentAroundVertex_0D"
152                label-id="Segments around vertex"
153                icon-id="mesh_algo_regular.png"
154                hypos="SegmentLengthAroundVertex"
155                output="VERTEX"
156                dim="0"/>
157
158     <algorithm type="Regular_1D"
159                label-id="Wire discretisation"
160                icon-id="mesh_algo_regular.png"
161                hypos="LocalLength,MaxLength,Arithmetic1D,StartEndLength,NumberOfSegments,Deflection1D,AutomaticLength"
162                opt-hypos="Propagation,QuadraticMesh"
163                input="VERTEX"
164                output="EDGE"
165                dim="1"/>
166
167     <algorithm type="CompositeSegment_1D"
168                label-id="Composite side discretisation"
169                icon-id="mesh_algo_regular.png"
170                hypos="LocalLength,MaxLength,Arithmetic1D,StartEndLength,NumberOfSegments,Deflection1D,AutomaticLength"
171                opt-hypos="Propagation,QuadraticMesh"
172                input="VERTEX"
173                output="EDGE"
174                dim="1"/>
175
176     <algorithm type="MEFISTO_2D"
177                label-id="Triangle (Mefisto)"
178                icon-id="mesh_algo_mefisto.png"
179                hypos="LengthFromEdges,MaxElementArea"
180                input="EDGE"
181                output="TRIA"
182                dim="2"/>
183
184     <algorithm type="Quadrangle_2D"
185                label-id="Quadrangle (Mapping)"
186                icon-id="mesh_algo_quad.png"
187                opt-hypos="QuadranglePreference,TrianglePreference"
188                input="EDGE"
189                output="QUAD"
190                dim="2"/>
191
192     <algorithm type="Hexa_3D"
193                label-id="Hexahedron (i,j,k)"
194                icon-id="mesh_algo_hexa.png"
195                input="QUAD"
196                dim="3"/>
197
198     <algorithm type="Projection_1D"
199                label-id="Projection 1D"
200                icon-id="mesh_algo_regular.png"
201                hypos="ProjectionSource1D"
202                output="EDGE"
203                dim="1"/>
204
205     <algorithm type="Projection_2D"
206                label-id="Projection 2D"
207                icon-id="mesh_algo_quad.png"
208                input="EDGE"
209                hypos="ProjectionSource2D"
210                output="QUAD,TRIA"
211                dim="2"/>
212
213     <algorithm type="Projection_3D"
214                label-id="Projection 3D"
215                icon-id="mesh_algo_hexa.png"
216                hypos="ProjectionSource3D"
217                input="QUAD,TRIA"
218                dim="3"/>
219
220     <algorithm type="Prism_3D"
221                label-id="3D extrusion"
222                icon-id="mesh_algo_hexa.png"
223                input="QUAD,TRIA"
224                dim="3"/>
225
226     <algorithm type="RadialPrism_3D"
227                label-id="Radial Prism 3D"
228                icon-id="mesh_algo_hexa.png"
229                hypos="NumberOfLayers, LayerDistribution"
230                input="QUAD,TRIA"
231                dim="3"/>
232
233     <algorithm type="UseExisting_1D"
234                label-id="Use existing edges"
235                icon-id="mesh_algo_regular.png"
236                input="VERTEX"
237                output="EDGE"
238                dim="1"/>
239
240     <algorithm type="UseExisting_2D"
241                label-id="Use existing faces"
242                icon-id="mesh_algo_quad.png"
243                input="EDGE"
244                output="QUAD,TRIA"
245                dim="2"/>
246
247   </algorithms>
248 </meshers-group>
249
250 <meshers-group name="Your Meshers Group"
251                resources=""
252                server-lib=""
253                gui-lib="">
254   <hypotheses>
255
256     <hypothesis type=""
257                 label-id=""
258                 icon-id=""/>
259   </hypotheses>
260
261   <algorithms>
262
263     <algorithm type=""
264                label-id=""
265                icon-id=""/>
266   </algorithms>
267 </meshers-group>
268
269
270 <hypotheses-set-group>
271
272     <hypotheses-set name="Automatic Tetrahedralization"
273                     hypos="MaxLength"
274                     algos="Regular_1D, MEFISTO_2D, NETGEN_3D"/>
275
276     <hypotheses-set name="Automatic Hexahedralization"
277                     hypos="NumberOfSegments"
278                     algos="Regular_1D, Quadrangle_2D, Hexa_3D"/>
279
280 </hypotheses-set-group>
281
282 </meshers>