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