Salome HOME
0113a1bb16943c941547d3fd5fd2c42f54b46647
[modules/smesh.git] / src / Tools / YamsPlug / YamsPlugDialog.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>YamsPlugDialog</class>
4  <widget class="QWidget" name="YamsPlugDialog">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>799</width>
10     <height>602</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Yams : Remeshing tool</string>
15   </property>
16   <property name="sizeGripEnabled" stdset="0">
17    <bool>false</bool>
18   </property>
19   <layout class="QGridLayout" name="gridLayout">
20    <item row="2" column="0">
21     <layout class="QHBoxLayout" name="horizontalLayout">
22      <item>
23       <widget class="QPushButton" name="PB_OK">
24        <property name="text">
25         <string>Compute</string>
26        </property>
27       </widget>
28      </item>
29      <item>
30       <widget class="QPushButton" name="PB_Cancel">
31        <property name="text">
32         <string>Close</string>
33        </property>
34       </widget>
35      </item>
36      <item>
37       <spacer name="horizontalSpacer_4">
38        <property name="orientation">
39         <enum>Qt::Horizontal</enum>
40        </property>
41        <property name="sizeType">
42         <enum>QSizePolicy::Minimum</enum>
43        </property>
44        <property name="sizeHint" stdset="0">
45         <size>
46          <width>60</width>
47          <height>20</height>
48         </size>
49        </property>
50       </spacer>
51      </item>
52      <item>
53       <widget class="QPushButton" name="PB_Save">
54        <property name="text">
55         <string>Save Params</string>
56        </property>
57       </widget>
58      </item>
59      <item>
60       <widget class="QPushButton" name="PB_Load">
61        <property name="text">
62         <string>Load Params</string>
63        </property>
64       </widget>
65      </item>
66      <item>
67       <widget class="QPushButton" name="PB_Default">
68        <property name="text">
69         <string>Default Params</string>
70        </property>
71       </widget>
72      </item>
73      <item>
74       <spacer name="horizontalSpacer">
75        <property name="orientation">
76         <enum>Qt::Horizontal</enum>
77        </property>
78        <property name="sizeHint" stdset="0">
79         <size>
80          <width>338</width>
81          <height>25</height>
82         </size>
83        </property>
84       </spacer>
85      </item>
86      <item>
87       <widget class="QPushButton" name="PB_Help">
88        <property name="font">
89         <font>
90          <pointsize>10</pointsize>
91         </font>
92        </property>
93        <property name="text">
94         <string>Help</string>
95        </property>
96       </widget>
97      </item>
98     </layout>
99    </item>
100    <item row="1" column="0">
101     <widget class="QTabWidget" name="TWOptions">
102      <property name="font">
103       <font>
104        <pointsize>10</pointsize>
105       </font>
106      </property>
107      <property name="currentIndex">
108       <number>0</number>
109      </property>
110      <widget class="QWidget" name="simple">
111       <attribute name="title">
112        <string>Simple Remeshing Options</string>
113       </attribute>
114       <widget class="QGroupBox" name="GBOptim">
115        <property name="geometry">
116         <rect>
117          <x>20</x>
118          <y>140</y>
119          <width>741</width>
120          <height>271</height>
121         </rect>
122        </property>
123        <property name="title">
124         <string>Optimisation</string>
125        </property>
126        <widget class="QGroupBox" name="mesRB">
127         <property name="geometry">
128          <rect>
129           <x>10</x>
130           <y>30</y>
131           <width>611</width>
132           <height>209</height>
133          </rect>
134         </property>
135         <layout class="QVBoxLayout" name="monRBLayout">
136          <item>
137           <widget class="QRadioButton" name="RB_0">
138            <property name="toolTip">
139             <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
140 &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
141 p, li { white-space: pre-wrap; }
142 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
143 &lt;table style=&quot;-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;&quot;&gt;
144 &lt;tr&gt;
145 &lt;td style=&quot;border: none;&quot;&gt;
146 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Quality improvement&lt;/span&gt; is done by point smoothing and edge swapping&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/body&gt;&lt;/html&gt;</string>
147            </property>
148            <property name="text">
149             <string>Quality improvement Only (0)</string>
150            </property>
151            <property name="checked">
152             <bool>true</bool>
153            </property>
154           </widget>
155          </item>
156          <item>
157           <widget class="QRadioButton" name="RB_G">
158            <property name="toolTip">
159             <string>the given surface triangulation is enriched (no coarsening at all) in such away that the distance 
160 between the elements in the final mesh and those of the initial one is bounded by auser specified tolerance value. 
161 One should use this option, to enrich the mesh where purely
162 geometrical features may be insuficiently fine, i.e. the resulting mesh will be least as fine as the input.
163 Mesh and the geometric features will be refined if needed as specified by the other program parameters.
164 The meshes obtained with those settings may not be suitable for computation.</string>
165            </property>
166            <property name="text">
167             <string>Pure Geometry Enrichment (G)</string>
168            </property>
169            <property name="checked">
170             <bool>false</bool>
171            </property>
172           </widget>
173          </item>
174          <item>
175           <widget class="QRadioButton" name="RB_U">
176            <property name="toolTip">
177             <string>a uniform subdivision of the given surface triangulation is performed : 
178 each triangle of the given surface triangulation is considered at and
179 is divided into identical triangles.</string>
180            </property>
181            <property name="text">
182             <string>Uniform Subdivision(U)</string>
183            </property>
184            <property name="checked">
185             <bool>false</bool>
186            </property>
187           </widget>
188          </item>
189          <item>
190           <widget class="QRadioButton" name="RB_S">
191            <property name="toolTip">
192             <string>a surface sandpapering without shrinkage of the given surface
193 triangulation is performed, i.e., the high curvature variations of the
194 given surface will be smoothed out without shrinking the volume in
195 doing so. If ridges are defined, they will be kept as they are in the
196 resulting mesh.
197 This option modifies the goemetry.</string>
198            </property>
199            <property name="text">
200             <string>Smoothing (S)</string>
201            </property>
202            <property name="checked">
203             <bool>false</bool>
204            </property>
205           </widget>
206          </item>
207          <item>
208           <widget class="QRadioButton" name="RB__2">
209            <property name="toolTip">
210             <string>The given surface triangulation is modified in such a way that the distance between 
211 the elements in the final mesh and those of the initial one is bounded by a user specfied tolerance value.
212 One should use this option, to coarsen when a purely geometrical mesh is needed. (a mesh that keeps
213 and obeys its geometric features only.) The meshes obtained with this option are usually not suitable
214 for computation because anisotropic elements may be generated</string>
215            </property>
216            <property name="text">
217             <string>Geometrical Mesh : Coarsening(-2)</string>
218            </property>
219           </widget>
220          </item>
221          <item>
222           <widget class="QRadioButton" name="RB_2">
223            <property name="toolTip">
224             <string>The given surface triangulation is modified in such a way that the distance between 
225 the elements in the final mesh and those of the initial one is bounded by a user specfied tolerance value.
226 One should use this option, to coarsen and enrich when a purely geometrical mesh is needed. (a mesh that keeps
227 and obeys its geometric features only.) The meshes obtained with this setting are usually not suitable
228 for computation because anisotropic elements may be generated</string>
229            </property>
230            <property name="text">
231             <string>Geometrical Mesh :Coarsening and Enrichment (2)</string>
232            </property>
233           </widget>
234          </item>
235          <item>
236           <widget class="QRadioButton" name="RB__1">
237            <property name="toolTip">
238             <string>The given surface triangulation is modfied in accordance to a size map. 
239 The latter can be either the intrinsic size map (computed automatically
240 and based on the surface properties, i.e. the local curvatures),
241 or on a given size map (which is then combined to the intrinsic size map). 
242 One should use this option to coarsen  the mesh, when a regular mesh 
243 for computation purposes is desired, i.e. a mesh with good aspect ratios or 
244 good quality elements.</string>
245            </property>
246            <property name="text">
247             <string>Mesh for finite element computation : Coarsening (-1)</string>
248            </property>
249           </widget>
250          </item>
251          <item>
252           <widget class="QRadioButton" name="RB_1">
253            <property name="toolTip">
254             <string>The given surface triangulation is modfied in accordance to a size map. 
255 The latter can be either the intrinsic size map (computed automatically
256 and based on the surface properties, i.e. the local curvatures),
257 or on a given size map (which is then combined to the intrinsic size map). 
258 One should use this option to coarsen  and enrich the mesh, when a regular mesh 
259 for computation purposes is desired, i.e. a mesh with good aspect ratios or 
260 good quality elements</string>
261            </property>
262            <property name="text">
263             <string>Mesh for finite element computation : Coarsening and Enrichment  (1)</string>
264            </property>
265           </widget>
266          </item>
267         </layout>
268        </widget>
269       </widget>
270       <widget class="QGroupBox" name="GBUnit">
271        <property name="geometry">
272         <rect>
273          <x>20</x>
274          <y>420</y>
275          <width>301</width>
276          <height>71</height>
277         </rect>
278        </property>
279        <property name="toolTip">
280         <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
281 &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
282 p, li { white-space: pre-wrap; }
283 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
284 &lt;table border=&quot;0&quot; style=&quot;-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;&quot;&gt;
285 &lt;tr&gt;
286 &lt;td style=&quot;border: none;&quot;&gt;
287 &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/body&gt;&lt;/html&gt;</string>
288        </property>
289        <property name="title">
290         <string>Units</string>
291        </property>
292        <widget class="QRadioButton" name="RB_Absolute">
293         <property name="geometry">
294          <rect>
295           <x>10</x>
296           <y>30</y>
297           <width>110</width>
298           <height>24</height>
299          </rect>
300         </property>
301         <property name="toolTip">
302          <string>Values are expressed in the model units.</string>
303         </property>
304         <property name="text">
305          <string>Absolute</string>
306         </property>
307         <property name="checked">
308          <bool>false</bool>
309         </property>
310        </widget>
311        <widget class="QRadioButton" name="RB_Relative">
312         <property name="geometry">
313          <rect>
314           <x>160</x>
315           <y>30</y>
316           <width>110</width>
317           <height>24</height>
318          </rect>
319         </property>
320         <property name="toolTip">
321          <string>Values are relative to the bounding box size.</string>
322         </property>
323         <property name="text">
324          <string>Relative</string>
325         </property>
326         <property name="checked">
327          <bool>true</bool>
328         </property>
329        </widget>
330       </widget>
331       <widget class="QGroupBox" name="GBTolerance_2">
332        <property name="geometry">
333         <rect>
334          <x>410</x>
335          <y>430</y>
336          <width>351</width>
337          <height>71</height>
338         </rect>
339        </property>
340        <property name="toolTip">
341         <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
342 &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
343 p, li { white-space: pre-wrap; }
344 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
345 &lt;table border=&quot;0&quot; style=&quot;-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;&quot;&gt;
346 &lt;tr&gt;
347 &lt;td style=&quot;border: none;&quot;&gt;
348 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Set chordal deviation tolerance:&lt;/p&gt;
349 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;This parameter enables the user to bound the maximal chordal deviation allowed,&lt;/p&gt;
350 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;that is, the maximal distance allowed between the detected curve and the plane P&lt;/p&gt;
351 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;of the corresponding mesh face.&lt;/p&gt;
352 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;il faut mettre ici le png&lt;/p&gt;
353 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-style:italic;&quot;&gt;Definitions: chordal deviation epsilon; curvature r; bounding box s; angles alpha and beta&lt;/span&gt;&lt;/p&gt;
354 &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;
355 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;In other words, it avoids having faces too far away from the curve &lt;/p&gt;
356 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;they represent (or should represent).&lt;/p&gt;
357 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;This parameter enables the user to specify the maximal chordal deviation epsilon max.&lt;/p&gt;
358 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Following that criterion:&lt;/p&gt;
359 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;- if the chordal deviation epsilon is smaller than epsilon max, it is acceptable &lt;/p&gt;
360 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;  to remove the considered point.&lt;/p&gt;
361 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;- if the chordal deviation epsilon is greater than epsilon max, the considered mesh face should be &lt;/p&gt;
362 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;  redifined by adding a point on the curve.&lt;/p&gt;
363 &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/body&gt;&lt;/html&gt;</string>
364        </property>
365        <property name="title">
366         <string>Chordal deviation Tolerance</string>
367        </property>
368        <widget class="QDoubleSpinBox" name="SP_Tolerance">
369         <property name="geometry">
370          <rect>
371           <x>40</x>
372           <y>30</y>
373           <width>81</width>
374           <height>23</height>
375          </rect>
376         </property>
377         <property name="font">
378          <font>
379           <stylestrategy>PreferDefault</stylestrategy>
380          </font>
381         </property>
382         <property name="mouseTracking">
383          <bool>true</bool>
384         </property>
385         <property name="toolTip">
386          <string>If the Units parameter is relative epsilon max correspond to 0.0001x s x tolerance parameter where s is the size of the bounding box of the domain.
387 If the Units parameter is absolute, the tolerance parameter is expressed in model units :
388 if P=2 and point coordinaters are givin in millimetre, it menas that the maximal chordal deviation is 2 mm </string>
389         </property>
390         <property name="maximum">
391          <double>10000.000000000000000</double>
392         </property>
393         <property name="singleStep">
394          <double>1.000000000000000</double>
395         </property>
396         <property name="value">
397          <double>1.000000000000000</double>
398         </property>
399        </widget>
400       </widget>
401       <widget class="QGroupBox" name="groupBox">
402        <property name="geometry">
403         <rect>
404          <x>10</x>
405          <y>10</y>
406          <width>741</width>
407          <height>121</height>
408         </rect>
409        </property>
410        <property name="font">
411         <font>
412          <pointsize>12</pointsize>
413         </font>
414        </property>
415        <property name="title">
416         <string>Original Mesh</string>
417        </property>
418        <widget class="QPushButton" name="PB_MeshFile">
419         <property name="geometry">
420          <rect>
421           <x>40</x>
422           <y>70</y>
423           <width>191</width>
424           <height>33</height>
425          </rect>
426         </property>
427         <property name="font">
428          <font>
429           <pointsize>10</pointsize>
430          </font>
431         </property>
432         <property name="text">
433          <string>Mesh File (GMF format)</string>
434         </property>
435        </widget>
436        <widget class="QLineEdit" name="LE_MeshFile">
437         <property name="geometry">
438          <rect>
439           <x>240</x>
440           <y>70</y>
441           <width>481</width>
442           <height>31</height>
443          </rect>
444         </property>
445         <property name="font">
446          <font>
447           <pointsize>10</pointsize>
448          </font>
449         </property>
450        </widget>
451        <widget class="QPushButton" name="PB_MeshSmesh">
452         <property name="geometry">
453          <rect>
454           <x>190</x>
455           <y>30</y>
456           <width>41</width>
457           <height>31</height>
458          </rect>
459         </property>
460         <property name="text">
461          <string/>
462         </property>
463         <property name="icon">
464          <iconset>
465           <normaloff>../../../../../../../../SalomeSrc/SMESH_V6_main/src/Tools/YamsPlug/open.png</normaloff>../../../../../../../../SalomeSrc/SMESH_V6_main/src/Tools/YamsPlug/open.png</iconset>
466         </property>
467         <property name="iconSize">
468          <size>
469           <width>18</width>
470           <height>18</height>
471          </size>
472         </property>
473         <property name="checkable">
474          <bool>false</bool>
475         </property>
476        </widget>
477        <widget class="QLineEdit" name="LE_MeshSmesh">
478         <property name="geometry">
479          <rect>
480           <x>240</x>
481           <y>30</y>
482           <width>481</width>
483           <height>31</height>
484          </rect>
485         </property>
486         <property name="font">
487          <font>
488           <pointsize>10</pointsize>
489          </font>
490         </property>
491        </widget>
492        <widget class="QLabel" name="label_7">
493         <property name="geometry">
494          <rect>
495           <x>40</x>
496           <y>30</y>
497           <width>141</width>
498           <height>31</height>
499          </rect>
500         </property>
501         <property name="font">
502          <font>
503           <pointsize>10</pointsize>
504           <strikeout>false</strikeout>
505          </font>
506         </property>
507         <property name="frameShape">
508          <enum>QFrame::Box</enum>
509         </property>
510         <property name="text">
511          <string>Smesh mesh</string>
512         </property>
513         <property name="wordWrap">
514          <bool>false</bool>
515         </property>
516         <property name="margin">
517          <number>0</number>
518         </property>
519        </widget>
520        <widget class="QLabel" name="label_8">
521         <property name="geometry">
522          <rect>
523           <x>10</x>
524           <y>80</y>
525           <width>31</width>
526           <height>18</height>
527          </rect>
528         </property>
529         <property name="text">
530          <string>or</string>
531         </property>
532        </widget>
533       </widget>
534       <zorder>GBUnit</zorder>
535       <zorder>GBTolerance_2</zorder>
536       <zorder>groupBox</zorder>
537       <zorder>GBOptim</zorder>
538      </widget>
539      <widget class="QWidget" name="advanced">
540       <attribute name="title">
541        <string>Advanced  Remeshing Options</string>
542       </attribute>
543       <widget class="QGroupBox" name="groupBox_2">
544        <property name="geometry">
545         <rect>
546          <x>10</x>
547          <y>10</y>
548          <width>761</width>
549          <height>71</height>
550         </rect>
551        </property>
552        <property name="title">
553         <string>You can disable :</string>
554        </property>
555        <widget class="QCheckBox" name="CB_Ridge">
556         <property name="geometry">
557          <rect>
558           <x>100</x>
559           <y>20</y>
560           <width>271</width>
561           <height>23</height>
562          </rect>
563         </property>
564         <property name="toolTip">
565          <string>if not set (ridge detection disabled), Yams will not try to detect any new ridge edge by its own mechanism : 
566 it will consider as ridge only the ridges given in the mesh. 
567 All non-ridge edges that would have been detected as ridge by the Ridge angle paramaeter 
568 (see below)  will be considered as part of the same continuous patch.
569 This option should not be checked when all the known ridges of the mesh are given and
570 when all other possible ridges are not geometric ridges to take into account.</string>
571         </property>
572         <property name="text">
573          <string>ridge detection</string>
574         </property>
575         <property name="checked">
576          <bool>true</bool>
577         </property>
578        </widget>
579        <widget class="QCheckBox" name="CB_Point">
580         <property name="geometry">
581          <rect>
582           <x>100</x>
583           <y>40</y>
584           <width>271</width>
585           <height>23</height>
586          </rect>
587         </property>
588         <property name="toolTip">
589          <string>When not set (point smoothing is disabled), Yams will not try to move the initial given vertices 
590 (along an edge, a ridge or onto the surface), hence Yams will only swap edges, remove vertices
591 or add vertices (refines) to change the mesh.</string>
592         </property>
593         <property name="text">
594          <string>point smoothing</string>
595         </property>
596         <property name="checked">
597          <bool>true</bool>
598         </property>
599        </widget>
600       </widget>
601       <widget class="QGroupBox" name="groupBox_5">
602        <property name="geometry">
603         <rect>
604          <x>10</x>
605          <y>100</y>
606          <width>761</width>
607          <height>321</height>
608         </rect>
609        </property>
610        <property name="title">
611         <string>You can control </string>
612        </property>
613        <widget class="QDoubleSpinBox" name="SP_Geomapp">
614         <property name="geometry">
615          <rect>
616           <x>10</x>
617           <y>30</y>
618           <width>91</width>
619           <height>23</height>
620          </rect>
621         </property>
622         <property name="maximum">
623          <double>0.890000000000000</double>
624         </property>
625         <property name="singleStep">
626          <double>0.010000000000000</double>
627         </property>
628         <property name="value">
629          <double>0.040000000000000</double>
630         </property>
631        </widget>
632        <widget class="QLabel" name="label_2">
633         <property name="geometry">
634          <rect>
635           <x>120</x>
636           <y>20</y>
637           <width>631</width>
638           <height>61</height>
639          </rect>
640         </property>
641         <property name="toolTip">
642          <string>This field (as well as tolerance) enables the user to control the accuracy of the
643 piecewise linear approximation of the surface. This parameter enables the user to
644 control the maximal angle allowed between two adjacent faces. It can be used to 
645 bound the maximal deviation of the mesh faces from the tangent planes at mesh vertices. 
646 In other words, it avoids having sharp angles between faces representing a smooth curve.
647 This parameter enables the user to specify the maximal chordal deviation &quot;max relatively to the curvature.
648 Following that criterion:
649 - if the chordal deviation epsilon  is smaller than epsilon max *r, it is acceptable to remove the considered point;
650 - if the chordal deviation epsilon is greater than epsiolon max*r, the considered mesh face should be redefined 
651 by adding a point on the curve.
652 One can see that the smaller the radius r, the harder it is to satisfy this criterion:  
653 epsilon max is a real value corresponding to a percentage, the ratio between the chordal deviation to 
654 the local curvature. This field is used only for optimisation style -O values of  -1, 0 and 1.
655 The default value for &quot;max is set to 0:04 which leads to angles of less than 33 degrees between two adjacent
656 faces .</string>
657         </property>
658         <property name="text">
659          <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
660 &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
661 p, li { white-space: pre-wrap; }
662 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
663 &lt;table border=&quot;0&quot; style=&quot;-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;&quot;&gt;
664 &lt;tr&gt;
665 &lt;td style=&quot;border: none;&quot;&gt;
666 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Geometrical approximation :  Maximum angle allowed between a face and a curve &lt;/p&gt;
667 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:8pt;&quot;&gt;(not separated by a ridge). &lt;/span&gt;0.04 corresponds to 16.26 degrees  (arccos(1-0.04))&lt;/p&gt;
668 &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/body&gt;&lt;/html&gt;</string>
669         </property>
670        </widget>
671        <widget class="QLabel" name="label_4">
672         <property name="geometry">
673          <rect>
674           <x>120</x>
675           <y>70</y>
676           <width>581</width>
677           <height>71</height>
678          </rect>
679         </property>
680         <property name="text">
681          <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
682 &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
683 p, li { white-space: pre-wrap; }
684 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
685 &lt;table border=&quot;0&quot; style=&quot;-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;&quot;&gt;
686 &lt;tr&gt;
687 &lt;td style=&quot;border: none;&quot;&gt;
688 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Ridge angle:&lt;/p&gt;
689 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;if the angle between the normal vectors of two adjacent faces exceeds&lt;/p&gt;
690 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;this value, the edge common to the faces is a ridge&lt;/p&gt;
691 &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/body&gt;&lt;/html&gt;</string>
692         </property>
693        </widget>
694        <widget class="QDoubleSpinBox" name="SP_Ridge">
695         <property name="geometry">
696          <rect>
697           <x>10</x>
698           <y>90</y>
699           <width>91</width>
700           <height>23</height>
701          </rect>
702         </property>
703         <property name="maximum">
704          <double>90.000000000000000</double>
705         </property>
706         <property name="value">
707          <double>45.000000000000000</double>
708         </property>
709        </widget>
710        <widget class="QLabel" name="label_5">
711         <property name="geometry">
712          <rect>
713           <x>120</x>
714           <y>140</y>
715           <width>521</width>
716           <height>41</height>
717          </rect>
718         </property>
719         <property name="toolTip">
720          <string>This parameter allows the user to prescribe  a maximal size hmax
721 for the mesh elements i.e., the lengths of the edges with respect to the specified
722  size map. The corresponding values are either relative or absolute depending on the choosen parameter.
723 The default values are automatically set based on the surface geometry (curvature dependent) and its
724 bounding box size.
725 Please note that, as it is not strictly possible to obey the given or computed size map, the actual maximal
726 size  may be slightly bigger than the prescribed ones.</string>
727         </property>
728         <property name="text">
729          <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
730 &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
731 p, li { white-space: pre-wrap; }
732 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
733 &lt;table border=&quot;0&quot; style=&quot;-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;&quot;&gt;
734 &lt;tr&gt;
735 &lt;td style=&quot;border: none;&quot;&gt;
736 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Maximal size allowed around vertices:&lt;/p&gt;
737 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;the lengths of the edges with respect to the specified size map.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/body&gt;&lt;/html&gt;</string>
738         </property>
739        </widget>
740        <widget class="QLabel" name="label_3">
741         <property name="geometry">
742          <rect>
743           <x>120</x>
744           <y>240</y>
745           <width>591</width>
746           <height>61</height>
747          </rect>
748         </property>
749         <property name="toolTip">
750          <string>This parameter enables the user to control the element size variation in the triangulation.
751 Yams will avoid getting two adjacent edges which sizes differ by a factor bigger than this parameter. 
752 To avoid rapid size variations, a size correction procedure is applied to the size map. 
753 In other words: if two adjacent edges are respectively e1 and e2 long 
754 if  e2 &gt; parameter * e1 then e02 the new size for the second edge will be set to  parameter* e1.
755 This procedure is de-activated if yams computes a mesh for finite element with only coarsening.
756 The default value is 1.3, which is the usual value set for computational meshes.</string>
757         </property>
758         <property name="text">
759          <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
760 &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
761 p, li { white-space: pre-wrap; }
762 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
763 &lt;table border=&quot;0&quot; style=&quot;-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;&quot;&gt;
764 &lt;tr&gt;
765 &lt;td style=&quot;border: none;&quot;&gt;
766 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Mesh Gradation ie the element size variation in the triangulation:&lt;/p&gt;
767 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Yams will avoid having two adjacent edges which sizes &lt;/p&gt;
768 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;vary more than the given gradation.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/body&gt;&lt;/html&gt;</string>
769         </property>
770        </widget>
771        <widget class="QDoubleSpinBox" name="SP_Gradation">
772         <property name="geometry">
773          <rect>
774           <x>10</x>
775           <y>250</y>
776           <width>91</width>
777           <height>23</height>
778          </rect>
779         </property>
780         <property name="singleStep">
781          <double>0.010000000000000</double>
782         </property>
783         <property name="value">
784          <double>1.300000000000000</double>
785         </property>
786        </widget>
787        <widget class="QDoubleSpinBox" name="SP_MaxSize">
788         <property name="geometry">
789          <rect>
790           <x>10</x>
791           <y>150</y>
792           <width>91</width>
793           <height>23</height>
794          </rect>
795         </property>
796         <property name="minimum">
797          <double>-100.000000000000000</double>
798         </property>
799         <property name="singleStep">
800          <double>0.010000000000000</double>
801         </property>
802         <property name="value">
803          <double>-2.000000000000000</double>
804         </property>
805        </widget>
806        <widget class="QLabel" name="label_9">
807         <property name="geometry">
808          <rect>
809           <x>120</x>
810           <y>190</y>
811           <width>521</width>
812           <height>41</height>
813          </rect>
814         </property>
815         <property name="toolTip">
816          <string>This parameter allows the user to prescribe  a maximal size hmax
817 for the mesh elements i.e., the lengths of the edges with respect to the specified
818  size map. The corresponding values are either relative or absolute depending on the choosen parameter.
819 The default values are automatically set based on the surface geometry (curvature dependent) and its
820 bounding box size.
821 Please note that, as it is not strictly possible to obey the given or computed size map, the actual maximal
822 size  may be slightly bigger than the prescribed ones.</string>
823         </property>
824         <property name="text">
825          <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
826 &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
827 p, li { white-space: pre-wrap; }
828 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
829 &lt;table border=&quot;0&quot; style=&quot;-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;&quot;&gt;
830 &lt;tr&gt;
831 &lt;td style=&quot;border: none;&quot;&gt;
832 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Minimal size allowed around vertices:&lt;/p&gt;
833 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;the lengths of the edges with respect to the specified size map.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/body&gt;&lt;/html&gt;</string>
834         </property>
835        </widget>
836        <widget class="QDoubleSpinBox" name="SP_MinSize">
837         <property name="geometry">
838          <rect>
839           <x>10</x>
840           <y>200</y>
841           <width>91</width>
842           <height>23</height>
843          </rect>
844         </property>
845         <property name="minimum">
846          <double>-100.000000000000000</double>
847         </property>
848         <property name="singleStep">
849          <double>0.010000000000000</double>
850         </property>
851         <property name="value">
852          <double>-2.000000000000000</double>
853         </property>
854        </widget>
855       </widget>
856       <widget class="QGroupBox" name="groupBox_3">
857        <property name="geometry">
858         <rect>
859          <x>10</x>
860          <y>440</y>
861          <width>751</width>
862          <height>61</height>
863         </rect>
864        </property>
865        <property name="title">
866         <string>You can enable :</string>
867        </property>
868        <widget class="QCheckBox" name="CB_SplitEdge">
869         <property name="geometry">
870          <rect>
871           <x>100</x>
872           <y>20</y>
873           <width>271</width>
874           <height>23</height>
875          </rect>
876         </property>
877         <property name="toolTip">
878          <string>if set, Yams creates new vertices placed on the curved surface and adds them to elements. 
879 It means one extra vertex on edge (P2 or quadratic triangles).
880 New created vertices  are saved in the .mesh file under keyword section Vertices</string>
881         </property>
882         <property name="text">
883          <string>split edge</string>
884         </property>
885         <property name="checked">
886          <bool>false</bool>
887         </property>
888        </widget>
889       </widget>
890      </widget>
891      <widget class="QWidget" name="generic">
892       <attribute name="title">
893        <string>Generic Options</string>
894       </attribute>
895       <widget class="QWidget" name="layoutWidget">
896        <property name="geometry">
897         <rect>
898          <x>40</x>
899          <y>160</y>
900          <width>441</width>
901          <height>27</height>
902         </rect>
903        </property>
904        <layout class="QHBoxLayout" name="horizontalLayout_3">
905         <item>
906          <widget class="QLabel" name="label">
907           <property name="text">
908            <string>Verbosity Level</string>
909           </property>
910          </widget>
911         </item>
912         <item>
913          <spacer name="horizontalSpacer_2">
914           <property name="orientation">
915            <enum>Qt::Horizontal</enum>
916           </property>
917           <property name="sizeHint" stdset="0">
918            <size>
919             <width>28</width>
920             <height>20</height>
921            </size>
922           </property>
923          </spacer>
924         </item>
925         <item>
926          <widget class="QSpinBox" name="SP_Verbosity">
927           <property name="maximum">
928            <number>10</number>
929           </property>
930           <property name="value">
931            <number>3</number>
932           </property>
933          </widget>
934         </item>
935        </layout>
936       </widget>
937       <widget class="QWidget" name="layoutWidget_2">
938        <property name="geometry">
939         <rect>
940          <x>40</x>
941          <y>210</y>
942          <width>441</width>
943          <height>27</height>
944         </rect>
945        </property>
946        <layout class="QHBoxLayout" name="horizontalLayout_4">
947         <item>
948          <widget class="QLabel" name="label_6">
949           <property name="minimumSize">
950            <size>
951             <width>225</width>
952             <height>25</height>
953            </size>
954           </property>
955           <property name="text">
956            <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
957 &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
958 p, li { white-space: pre-wrap; }
959 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
960 &lt;table border=&quot;0&quot; style=&quot;-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;&quot;&gt;
961 &lt;tr&gt;
962 &lt;td style=&quot;border: none;&quot;&gt;
963 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Memory size (in Mbytes)&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/body&gt;&lt;/html&gt;</string>
964           </property>
965          </widget>
966         </item>
967         <item>
968          <spacer name="horizontalSpacer_3">
969           <property name="orientation">
970            <enum>Qt::Horizontal</enum>
971           </property>
972           <property name="sizeHint" stdset="0">
973            <size>
974             <width>28</width>
975             <height>20</height>
976            </size>
977           </property>
978          </spacer>
979         </item>
980         <item>
981          <widget class="QSpinBox" name="SP_Memory">
982           <property name="toolTip">
983            <string>The program requires roughly about 370 bytes per point. It is thus possible to estimate a priori 
984 the required memory size to complete a job. As an example of memory space needed, a mesh 
985 of 543,652 points (1,087,716 triangles) requires 182 Mbytes (about 351 bytes per point). Conversely, 
986 a workstation having 512 Mbytes of memory can handle a mesh of about 2,750,000 points.
987 The memory needed for mesh modification is allocated dynamically at the beginning of the procedure 
988 (data reading), based on the initial triangulation size. When the program reaches the amount of maximal 
989 memory allowed, it will stop inserting points and, if possible, the current mesh will be saved as it is, 
990 valid and conformal, provided the input mesh was valid and conformal.
991 Specify the memory if:
992 - the automatically allocated memory reveals insufficient when the user asked to enrich the given mesh;
993 - you want to limit the amount of memory used by the program.
994 If the input mesh size requires more memory than requested or if the allocated memory (user defined or not)
995 exceeds the machine capabilities, the tool will stop because of insufficient memory.</string>
996           </property>
997           <property name="maximum">
998            <number>100000</number>
999           </property>
1000           <property name="value">
1001            <number>0</number>
1002           </property>
1003          </widget>
1004         </item>
1005        </layout>
1006       </widget>
1007       <widget class="QPushButton" name="PB_ParamsFileExplorer">
1008        <property name="geometry">
1009         <rect>
1010          <x>40</x>
1011          <y>40</y>
1012          <width>30</width>
1013          <height>31</height>
1014         </rect>
1015        </property>
1016        <property name="text">
1017         <string/>
1018        </property>
1019        <property name="icon">
1020         <iconset>
1021          <normaloff>../../../../../../../../SalomeSrc/SMESH_V6_main/src/Tools/YamsPlug/open.png</normaloff>../../../../../../../../SalomeSrc/SMESH_V6_main/src/Tools/YamsPlug/open.png</iconset>
1022        </property>
1023       </widget>
1024       <widget class="QLineEdit" name="LE_ParamsFile">
1025        <property name="geometry">
1026         <rect>
1027          <x>80</x>
1028          <y>40</y>
1029          <width>661</width>
1030          <height>31</height>
1031         </rect>
1032        </property>
1033       </widget>
1034       <widget class="QLabel" name="label_10">
1035        <property name="geometry">
1036         <rect>
1037          <x>40</x>
1038          <y>10</y>
1039          <width>391</width>
1040          <height>18</height>
1041         </rect>
1042        </property>
1043        <property name="text">
1044         <string>File used to save Yams Params :</string>
1045        </property>
1046       </widget>
1047      </widget>
1048     </widget>
1049    </item>
1050   </layout>
1051  </widget>
1052  <resources/>
1053  <connections/>
1054 </ui>