Salome HOME
Pour prise en compte de la bonne valeur par defaut du chordal deviation
[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       <zorder>layoutWidget</zorder>
554       <zorder>layoutWidget</zorder>
555       <zorder>groupBox</zorder>
556       <zorder>GBOptim</zorder>
557       <zorder>SP_Tolerance</zorder>
558      </widget>
559      <widget class="QWidget" name="advanced">
560       <attribute name="title">
561        <string>Advanced  Remeshing Options</string>
562       </attribute>
563       <widget class="QGroupBox" name="groupBox_2">
564        <property name="geometry">
565         <rect>
566          <x>10</x>
567          <y>10</y>
568          <width>761</width>
569          <height>71</height>
570         </rect>
571        </property>
572        <property name="title">
573         <string>You can disable :</string>
574        </property>
575        <widget class="QCheckBox" name="CB_Ridge">
576         <property name="geometry">
577          <rect>
578           <x>100</x>
579           <y>20</y>
580           <width>271</width>
581           <height>23</height>
582          </rect>
583         </property>
584         <property name="toolTip">
585          <string>if not set (ridge detection disabled), Yams will not try to detect any new ridge edge by its own mechanism : 
586 it will consider as ridge only the ridges given in the mesh. 
587 All non-ridge edges that would have been detected as ridge by the Ridge angle paramaeter 
588 (see below)  will be considered as part of the same continuous patch.
589 This option should not be checked when all the known ridges of the mesh are given and
590 when all other possible ridges are not geometric ridges to take into account.</string>
591         </property>
592         <property name="text">
593          <string>ridge detection</string>
594         </property>
595         <property name="checked">
596          <bool>true</bool>
597         </property>
598        </widget>
599        <widget class="QCheckBox" name="CB_Point">
600         <property name="geometry">
601          <rect>
602           <x>100</x>
603           <y>40</y>
604           <width>271</width>
605           <height>23</height>
606          </rect>
607         </property>
608         <property name="toolTip">
609          <string>When not set (point smoothing is disabled), Yams will not try to move the initial given vertices 
610 (along an edge, a ridge or onto the surface), hence Yams will only swap edges, remove vertices
611 or add vertices (refines) to change the mesh.</string>
612         </property>
613         <property name="text">
614          <string>point smoothing</string>
615         </property>
616         <property name="checked">
617          <bool>true</bool>
618         </property>
619        </widget>
620       </widget>
621       <widget class="QGroupBox" name="groupBox_5">
622        <property name="geometry">
623         <rect>
624          <x>10</x>
625          <y>90</y>
626          <width>841</width>
627          <height>391</height>
628         </rect>
629        </property>
630        <property name="title">
631         <string>You can control </string>
632        </property>
633        <widget class="QDoubleSpinBox" name="SP_Geomapp">
634         <property name="geometry">
635          <rect>
636           <x>10</x>
637           <y>30</y>
638           <width>91</width>
639           <height>23</height>
640          </rect>
641         </property>
642         <property name="maximum">
643          <double>0.890000000000000</double>
644         </property>
645         <property name="singleStep">
646          <double>0.010000000000000</double>
647         </property>
648         <property name="value">
649          <double>0.040000000000000</double>
650         </property>
651        </widget>
652        <widget class="QLabel" name="label_2">
653         <property name="geometry">
654          <rect>
655           <x>120</x>
656           <y>20</y>
657           <width>731</width>
658           <height>61</height>
659          </rect>
660         </property>
661         <property name="toolTip">
662          <string>This field (as well as tolerance) enables the user to control the accuracy of the
663 piecewise linear approximation of the surface. This parameter enables the user to
664 control the maximal angle allowed between two adjacent faces. It can be used to 
665 bound the maximal deviation of the mesh faces from the tangent planes at mesh vertices. 
666 In other words, it avoids having sharp angles between faces representing a smooth curve.
667 This parameter enables the user to specify the maximal chordal deviation &quot;max relatively to the curvature.
668 Following that criterion:
669 - if the chordal deviation epsilon  is smaller than epsilon max *r, it is acceptable to remove the considered point;
670 - if the chordal deviation epsilon is greater than epsiolon max*r, the considered mesh face should be redefined 
671 by adding a point on the curve.
672 One can see that the smaller the radius r, the harder it is to satisfy this criterion:  
673 epsilon max is a real value corresponding to a percentage, the ratio between the chordal deviation to 
674 the local curvature. This field is used only for optimisation style -O values of  -1, 0 and 1.
675 The default value for &quot;max is set to 0:04 which leads to angles of less than 33 degrees between two adjacent
676 faces .</string>
677         </property>
678         <property name="text">
679          <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;
680 &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;
681 p, li { white-space: pre-wrap; }
682 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
683 &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;
684 &lt;tr&gt;
685 &lt;td style=&quot;border: none;&quot;&gt;
686 &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;
687 &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;
688 &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>
689         </property>
690        </widget>
691        <widget class="QLabel" name="label_4">
692         <property name="geometry">
693          <rect>
694           <x>120</x>
695           <y>80</y>
696           <width>691</width>
697           <height>71</height>
698          </rect>
699         </property>
700         <property name="text">
701          <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;
702 &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;
703 p, li { white-space: pre-wrap; }
704 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
705 &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;
706 &lt;tr&gt;
707 &lt;td style=&quot;border: none;&quot;&gt;
708 &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;
709 &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;
710 &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;
711 &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>
712         </property>
713        </widget>
714        <widget class="QDoubleSpinBox" name="SP_Ridge">
715         <property name="geometry">
716          <rect>
717           <x>10</x>
718           <y>100</y>
719           <width>91</width>
720           <height>23</height>
721          </rect>
722         </property>
723         <property name="maximum">
724          <double>90.000000000000000</double>
725         </property>
726         <property name="value">
727          <double>45.000000000000000</double>
728         </property>
729        </widget>
730        <widget class="QLabel" name="label_5">
731         <property name="geometry">
732          <rect>
733           <x>120</x>
734           <y>160</y>
735           <width>681</width>
736           <height>61</height>
737          </rect>
738         </property>
739         <property name="toolTip">
740          <string>This parameter allows the user to prescribe  a maximal size hmax
741 for the mesh elements i.e., the lengths of the edges with respect to the specified
742  size map. The corresponding values are either relative or absolute depending on the choosen parameter.
743 The default values are automatically set based on the surface geometry (curvature dependent) and its
744 bounding box size.
745 Please note that, as it is not strictly possible to obey the given or computed size map, the actual maximal
746 size  may be slightly bigger than the prescribed ones.</string>
747         </property>
748         <property name="text">
749          <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;
750 &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;
751 p, li { white-space: pre-wrap; }
752 &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;
753 &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;
754 &lt;tr&gt;
755 &lt;td style=&quot;border: none;&quot;&gt;
756 &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;
757 &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>
758         </property>
759        </widget>
760        <widget class="QLabel" name="label_3">
761         <property name="geometry">
762          <rect>
763           <x>120</x>
764           <y>290</y>
765           <width>691</width>
766           <height>91</height>
767          </rect>
768         </property>
769         <property name="toolTip">
770          <string>This parameter enables the user to control the element size variation in the triangulation.
771 Yams will avoid getting two adjacent edges which sizes differ by a factor bigger than this parameter. 
772 To avoid rapid size variations, a size correction procedure is applied to the size map. 
773 In other words: if two adjacent edges are respectively e1 and e2 long 
774 if  e2 &gt; parameter * e1 then e02 the new size for the second edge will be set to  parameter* e1.
775 This procedure is de-activated if yams computes a mesh for finite element with only coarsening.
776 The default value is 1.3, which is the usual value set for computational meshes.</string>
777         </property>
778         <property name="text">
779          <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;
780 &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;
781 p, li { white-space: pre-wrap; }
782 &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;
783 &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;
784 &lt;tr&gt;
785 &lt;td style=&quot;border: none;&quot;&gt;
786 &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;
787 &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;
788 &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>
789         </property>
790        </widget>
791        <widget class="QDoubleSpinBox" name="SP_Gradation">
792         <property name="geometry">
793          <rect>
794           <x>10</x>
795           <y>300</y>
796           <width>91</width>
797           <height>23</height>
798          </rect>
799         </property>
800         <property name="singleStep">
801          <double>0.010000000000000</double>
802         </property>
803         <property name="value">
804          <double>1.300000000000000</double>
805         </property>
806        </widget>
807        <widget class="QDoubleSpinBox" name="SP_MaxSize">
808         <property name="geometry">
809          <rect>
810           <x>10</x>
811           <y>170</y>
812           <width>91</width>
813           <height>23</height>
814          </rect>
815         </property>
816         <property name="minimum">
817          <double>0.010000000000000</double>
818         </property>
819         <property name="maximum">
820          <double>100.000000000000000</double>
821         </property>
822         <property name="singleStep">
823          <double>0.100000000000000</double>
824         </property>
825         <property name="value">
826          <double>100.000000000000000</double>
827         </property>
828        </widget>
829        <widget class="QLabel" name="label_9">
830         <property name="geometry">
831          <rect>
832           <x>120</x>
833           <y>230</y>
834           <width>661</width>
835           <height>51</height>
836          </rect>
837         </property>
838         <property name="toolTip">
839          <string>This parameter allows the user to prescribe  a maximal size hmax
840 for the mesh elements i.e., the lengths of the edges with respect to the specified
841  size map. The corresponding values are either relative or absolute depending on the choosen parameter.
842 The default values are automatically set based on the surface geometry (curvature dependent) and its
843 bounding box size.
844 Please note that, as it is not strictly possible to obey the given or computed size map, the actual maximal
845 size  may be slightly bigger than the prescribed ones.</string>
846         </property>
847         <property name="text">
848          <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;
849 &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;
850 p, li { white-space: pre-wrap; }
851 &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;
852 &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;
853 &lt;tr&gt;
854 &lt;td style=&quot;border: none;&quot;&gt;
855 &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;
856 &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>
857         </property>
858        </widget>
859        <widget class="QDoubleSpinBox" name="SP_MinSize">
860         <property name="geometry">
861          <rect>
862           <x>10</x>
863           <y>230</y>
864           <width>91</width>
865           <height>23</height>
866          </rect>
867         </property>
868         <property name="minimum">
869          <double>0.000000000000000</double>
870         </property>
871         <property name="maximum">
872          <double>100.000000000000000</double>
873         </property>
874         <property name="singleStep">
875          <double>0.100000000000000</double>
876         </property>
877         <property name="value">
878          <double>5.000000000000000</double>
879         </property>
880        </widget>
881       </widget>
882       <widget class="QGroupBox" name="groupBox_3">
883        <property name="geometry">
884         <rect>
885          <x>20</x>
886          <y>490</y>
887          <width>751</width>
888          <height>31</height>
889         </rect>
890        </property>
891        <property name="title">
892         <string>You can enable :</string>
893        </property>
894       </widget>
895       <widget class="QCheckBox" name="CB_SplitEdge">
896        <property name="geometry">
897         <rect>
898          <x>70</x>
899          <y>530</y>
900          <width>271</width>
901          <height>23</height>
902         </rect>
903        </property>
904        <property name="toolTip">
905         <string>if set, Yams creates new vertices placed on the curved surface and adds them to elements. 
906 It means one extra vertex on edge (P2 or quadratic triangles).
907 New created vertices  are saved in the .mesh file under keyword section Vertices</string>
908        </property>
909        <property name="text">
910         <string>split edge</string>
911        </property>
912        <property name="checked">
913         <bool>false</bool>
914        </property>
915       </widget>
916      </widget>
917      <widget class="QWidget" name="generic">
918       <attribute name="title">
919        <string>Generic Options</string>
920       </attribute>
921       <widget class="QGroupBox" name="groupBox_4">
922        <property name="geometry">
923         <rect>
924          <x>10</x>
925          <y>30</y>
926          <width>741</width>
927          <height>131</height>
928         </rect>
929        </property>
930        <property name="title">
931         <string>Yams Generic Options</string>
932        </property>
933        <widget class="QWidget" name="layoutWidget">
934         <property name="geometry">
935          <rect>
936           <x>40</x>
937           <y>30</y>
938           <width>441</width>
939           <height>34</height>
940          </rect>
941         </property>
942         <layout class="QHBoxLayout" name="horizontalLayout_3">
943          <item>
944           <widget class="QLabel" name="label">
945            <property name="text">
946             <string>Verbosity Level</string>
947            </property>
948           </widget>
949          </item>
950          <item>
951           <spacer name="horizontalSpacer_2">
952            <property name="orientation">
953             <enum>Qt::Horizontal</enum>
954            </property>
955            <property name="sizeHint" stdset="0">
956             <size>
957              <width>28</width>
958              <height>20</height>
959             </size>
960            </property>
961           </spacer>
962          </item>
963          <item>
964           <widget class="QSpinBox" name="SP_Verbosity">
965            <property name="maximum">
966             <number>10</number>
967            </property>
968            <property name="value">
969             <number>7</number>
970            </property>
971           </widget>
972          </item>
973         </layout>
974        </widget>
975        <widget class="QWidget" name="layoutWidget_2">
976         <property name="geometry">
977          <rect>
978           <x>40</x>
979           <y>70</y>
980           <width>441</width>
981           <height>34</height>
982          </rect>
983         </property>
984         <layout class="QHBoxLayout" name="horizontalLayout_4">
985          <item>
986           <widget class="QLabel" name="label_6">
987            <property name="minimumSize">
988             <size>
989              <width>225</width>
990              <height>25</height>
991             </size>
992            </property>
993            <property name="text">
994             <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;
995 &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;
996 p, li { white-space: pre-wrap; }
997 &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;
998 &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;
999 &lt;tr&gt;
1000 &lt;td style=&quot;border: none;&quot;&gt;
1001 &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>
1002            </property>
1003           </widget>
1004          </item>
1005          <item>
1006           <spacer name="horizontalSpacer_3">
1007            <property name="orientation">
1008             <enum>Qt::Horizontal</enum>
1009            </property>
1010            <property name="sizeHint" stdset="0">
1011             <size>
1012              <width>28</width>
1013              <height>20</height>
1014             </size>
1015            </property>
1016           </spacer>
1017          </item>
1018          <item>
1019           <widget class="QSpinBox" name="SP_Memory">
1020            <property name="toolTip">
1021             <string>The program requires roughly about 370 bytes per point. It is thus possible to estimate a priori 
1022 the required memory size to complete a job. As an example of memory space needed, a mesh 
1023 of 543,652 points (1,087,716 triangles) requires 182 Mbytes (about 351 bytes per point). Conversely, 
1024 a workstation having 512 Mbytes of memory can handle a mesh of about 2,750,000 points.
1025 The memory needed for mesh modification is allocated dynamically at the beginning of the procedure 
1026 (data reading), based on the initial triangulation size. When the program reaches the amount of maximal 
1027 memory allowed, it will stop inserting points and, if possible, the current mesh will be saved as it is, 
1028 valid and conformal, provided the input mesh was valid and conformal.
1029 Specify the memory if:
1030 - the automatically allocated memory reveals insufficient when the user asked to enrich the given mesh;
1031 - you want to limit the amount of memory used by the program.
1032 If the input mesh size requires more memory than requested or if the allocated memory (user defined or not)
1033 exceeds the machine capabilities, the tool will stop because of insufficient memory.</string>
1034            </property>
1035            <property name="maximum">
1036             <number>100000</number>
1037            </property>
1038            <property name="value">
1039             <number>0</number>
1040            </property>
1041           </widget>
1042          </item>
1043         </layout>
1044        </widget>
1045       </widget>
1046       <widget class="QGroupBox" name="groupBox_6">
1047        <property name="geometry">
1048         <rect>
1049          <x>10</x>
1050          <y>230</y>
1051          <width>741</width>
1052          <height>141</height>
1053         </rect>
1054        </property>
1055        <property name="title">
1056         <string>Plug-In Generic Options</string>
1057        </property>
1058        <widget class="QLabel" name="label_10">
1059         <property name="geometry">
1060          <rect>
1061           <x>20</x>
1062           <y>40</y>
1063           <width>391</width>
1064           <height>18</height>
1065          </rect>
1066         </property>
1067         <property name="text">
1068          <string>File used to save Yams Params :</string>
1069         </property>
1070        </widget>
1071        <widget class="QPushButton" name="PB_ParamsFileExplorer">
1072         <property name="geometry">
1073          <rect>
1074           <x>20</x>
1075           <y>70</y>
1076           <width>30</width>
1077           <height>31</height>
1078          </rect>
1079         </property>
1080         <property name="text">
1081          <string/>
1082         </property>
1083         <property name="icon">
1084          <iconset>
1085           <normaloff>../../../../../../../../SalomeSrc/SMESH_V6_main/src/Tools/YamsPlug/open.png</normaloff>../../../../../../../../SalomeSrc/SMESH_V6_main/src/Tools/YamsPlug/open.png</iconset>
1086         </property>
1087        </widget>
1088        <widget class="QLineEdit" name="LE_ParamsFile">
1089         <property name="geometry">
1090          <rect>
1091           <x>60</x>
1092           <y>70</y>
1093           <width>661</width>
1094           <height>31</height>
1095          </rect>
1096         </property>
1097        </widget>
1098       </widget>
1099      </widget>
1100     </widget>
1101    </item>
1102   </layout>
1103  </widget>
1104  <resources/>
1105  <connections/>
1106 </ui>