Salome HOME
more load/save hypothesis
[modules/smesh.git] / src / Tools / MGCleanerPlug / MGCleanerPlugDialog.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>MGCleanerPlugDialog</class>
4  <widget class="QWidget" name="MGCleanerPlugDialog">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>800</width>
10     <height>500</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>MGCleaner : 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       <spacer name="horizontalSpacer_xx">
24        <property name="orientation">
25         <enum>Qt::Horizontal</enum>
26        </property>
27        <property name="sizeType">
28         <enum>QSizePolicy::Minimum</enum>
29        </property>
30        <property name="sizeHint" stdset="0">
31         <size>
32          <width>10</width>
33          <height>20</height>
34         </size>
35        </property>
36       </spacer>
37          </item>
38      <item>
39       <widget class="QPushButton" name="PB_OK">
40        <property name="text">
41         <string>Compute</string>
42        </property>
43       </widget>
44      </item>
45      <item>
46       <widget class="QPushButton" name="PB_Cancel">
47        <property name="text">
48         <string>Close</string>
49        </property>
50       </widget>
51      </item>
52      <item>
53       <spacer name="horizontalSpacer_4">
54        <property name="orientation">
55         <enum>Qt::Horizontal</enum>
56        </property>
57        <property name="sizeHint" stdset="0">
58         <size>
59          <width>30</width>
60          <height>20</height>
61         </size>
62        </property>
63       </spacer>
64      </item>
65      <item>
66       <widget class="QPushButton" name="PB_SaveHyp">
67        <property name="text">
68         <string>Save</string>
69        </property>
70         <property name="iconSize">
71          <size>
72           <width>18</width>
73           <height>18</height>
74          </size>
75         </property>
76       </widget>
77      </item>
78      <item>
79       <widget class="QPushButton" name="PB_LoadHyp">
80        <property name="text">
81         <string>Load</string>
82        </property>
83         <property name="iconSize">
84          <size>
85           <width>18</width>
86           <height>18</height>
87          </size>
88         </property>
89       </widget>
90      </item>
91      <item>
92       <widget class="QPushButton" name="PB_Save">
93        <property name="text">
94         <string>Save</string>
95        </property>
96         <property name="iconSize">
97          <size>
98           <width>18</width>
99           <height>18</height>
100          </size>
101         </property>
102       </widget>
103      </item>
104      <item>
105       <widget class="QPushButton" name="PB_Load">
106        <property name="text">
107         <string>Load</string>
108        </property>
109         <property name="iconSize">
110          <size>
111           <width>18</width>
112           <height>18</height>
113          </size>
114         </property>
115       </widget>
116      </item>
117      <item>
118       <widget class="QPushButton" name="PB_Default">
119        <property name="text">
120         <string>Default</string>
121        </property>
122       </widget>
123      </item>
124      <item>
125       <spacer name="horizontalSpacer">
126        <property name="orientation">
127         <enum>Qt::Horizontal</enum>
128        </property>
129        <property name="sizeHint" stdset="0">
130         <size>
131          <width>30</width>
132          <height>20</height>
133         </size>
134        </property>
135       </spacer>
136      </item>
137      <item>
138       <widget class="QPushButton" name="PB_Help">
139        <property name="font">
140         <font>
141          <pointsize>10</pointsize>
142         </font>
143        </property>
144        <property name="text">
145         <string>Help</string>
146        </property>
147       </widget>
148      </item>
149          <item>
150       <spacer name="horizontalSpacer_xx">
151        <property name="orientation">
152         <enum>Qt::Horizontal</enum>
153        </property>
154        <property name="sizeType">
155         <enum>QSizePolicy::Minimum</enum>
156        </property>
157        <property name="sizeHint" stdset="0">
158         <size>
159          <width>10</width>
160          <height>20</height>
161         </size>
162        </property>
163       </spacer>
164          </item>
165     </layout>
166    </item>
167    <item row="1" column="0">
168     <widget class="QTabWidget" name="TWOptions">
169      <property name="font">
170       <font>
171        <pointsize>10</pointsize>
172       </font>
173      </property>
174      <property name="currentIndex">
175       <number>0</number>
176      </property>
177      <widget class="QWidget" name="simple">
178       <attribute name="title">
179        <string>Simple Remeshing Options</string>
180       </attribute>
181       <widget class="QGroupBox" name="GBOptim">
182        <property name="geometry">
183         <rect>
184          <x>10</x>
185          <y>140</y>
186          <width>750</width>
187          <height>270</height>
188         </rect>
189        </property>
190        <property name="title">
191         <string>Optimisation</string>
192        </property>
193
194         <layout class="QHBoxLayout" name="RBLayoutopt">
195
196          <item>
197       <spacer name="horizontalSpacer_xx">
198        <property name="orientation">
199         <enum>Qt::Horizontal</enum>
200        </property>
201        <property name="sizeType">
202         <enum>QSizePolicy::Minimum</enum>
203        </property>
204        <property name="sizeHint" stdset="0">
205         <size>
206          <width>30</width>
207          <height>20</height>
208         </size>
209        </property>
210       </spacer>
211          </item>
212
213          <item>
214         <layout class="QVBoxLayout" name="RBLayout1">
215          <item>
216           <widget class="QRadioButton" name="RB_Check">
217            <property name="toolTip">
218             <string>Performs checks only (no fixing).
219 Writes diagnostics into the output file.
220 Default is to fix with two passes.</string>
221            </property>
222            <property name="text">
223             <string>Only checking</string>
224            </property>
225            <property name="checked">
226             <bool>false</bool>
227            </property>
228           </widget>
229          </item>
230          <item>
231           <widget class="QRadioButton" name="RB_Fix1">
232            <property name="toolTip">
233             <string>Analyses and fixes mesh with only the first stage of the cleaning procedure.
234 Does not write diagnostics into the output file.
235 Default is to fix with two passes.</string>
236            </property>
237            <property name="text">
238             <string>Fix problems with one pass</string>
239            </property>
240            <property name="checked">
241             <bool>false</bool>
242            </property>
243           </widget>
244          </item>
245          <item>
246           <widget class="QRadioButton" name="RB_Fix2">
247            <property name="toolTip">
248             <string>Analyses and fixes mesh with the two stage cleaning procedure.
249 Does not write diagnostics into the output file.
250 Default is to fix with two passes.</string>
251            </property>
252            <property name="text">
253             <string>Fix problems with two passes</string>
254            </property>
255            <property name="checked">
256             <bool>true</bool>
257            </property>
258           </widget>
259          </item>
260
261        <item>
262        <widget class="QCheckBox" name="CB_PreserveTopology">
263            <property name="toolTip">
264             <string>Disables fixing operations which induce topology modifications.
265 Default is enable topology modifications.
266 (argument --topology)</string>
267            </property>
268            <property name="text">
269             <string>Preserve topology</string>
270            </property>
271            <property name="checked">
272             <bool>false</bool>
273            </property>
274           </widget>
275         </item>
276        <item>
277           <widget class="QCheckBox" name="CB_FillHoles">
278            <property name="toolTip">
279             <string>Default is not to fill holes.
280 if set: see 'surface size threshold of holes' in 'Advanced remeshing options'.</string>
281            </property>
282            <property name="text">
283             <string>Fill holes</string>
284            </property>
285            <property name="checked">
286             <bool>false</bool>
287            </property>
288           </widget>
289        </item>
290        <item>
291
292           <widget class="QCheckBox" name="CB_RemeshPlanes">
293            <property name="toolTip">
294             <string>Inserts vertices on planes to improve mesh quality .
295 May be useful for poor quality triangulations (eg .STL or .DXF triangulations).
296 Default is not to mesh planes.</string>
297            </property>
298            <property name="text">
299             <string>Remesh planes</string>
300            </property>
301            <property name="checked">
302             <bool>false</bool>
303            </property>
304            </widget>
305        </item>
306
307          </layout>
308
309          </item>
310
311         </layout>
312         
313       </widget>
314       <widget class="QGroupBox" name="groupBox">
315        <property name="geometry">
316         <rect>
317          <x>10</x>
318          <y>10</y>
319          <width>750</width>
320          <height>120</height>
321         </rect>
322        </property>
323        <property name="font">
324         <font>
325          <pointsize>10</pointsize>
326         </font>
327        </property>
328        <property name="title">
329         <string>Original Mesh</string>
330        </property>
331        <widget class="QPushButton" name="PB_MeshFile">
332         <property name="geometry">
333          <rect>
334           <x>40</x>
335           <y>70</y>
336           <width>190</width>
337           <height>31</height>
338          </rect>
339         </property>
340         <property name="font">
341          <font>
342           <pointsize>10</pointsize>
343          </font>
344         </property>
345         <property name="text">
346          <string>Mesh File GMF format</string>
347         </property>
348         <property name="iconSize">
349          <size>
350           <width>18</width>
351           <height>18</height>
352          </size>
353         </property>
354        </widget>
355        <widget class="QLineEdit" name="LE_MeshFile">
356         <property name="geometry">
357          <rect>
358           <x>240</x>
359           <y>70</y>
360           <width>481</width>
361           <height>31</height>
362          </rect>
363         </property>
364         <property name="font">
365          <font>
366           <pointsize>10</pointsize>
367          </font>
368         </property>
369        </widget>
370        <widget class="QPushButton" name="PB_MeshSmesh">
371         <property name="geometry">
372          <rect>
373           <x>40</x>
374           <y>30</y>
375           <width>190</width>
376           <height>31</height>
377          </rect>
378         </property>
379         <property name="text">
380          <string>Mesh Object Browser</string>
381         </property>
382         <property name="iconSize">
383          <size>
384           <width>18</width>
385           <height>18</height>
386          </size>
387         </property>
388         <property name="checkable">
389          <bool>false</bool>
390         </property>
391        </widget>
392        <widget class="QLineEdit" name="LE_MeshSmesh">
393         <property name="geometry">
394          <rect>
395           <x>240</x>
396           <y>30</y>
397           <width>481</width>
398           <height>31</height>
399          </rect>
400         </property>
401         <property name="font">
402          <font>
403           <pointsize>10</pointsize>
404          </font>
405         </property>
406        </widget>
407        <widget class="QLabel" name="label_8">
408         <property name="geometry">
409          <rect>
410           <x>10</x>
411           <y>80</y>
412           <width>31</width>
413           <height>18</height>
414          </rect>
415         </property>
416         <property name="text">
417          <string>or</string>
418         </property>
419        </widget>
420       </widget>
421       <zorder>groupBox</zorder>
422       <zorder>GBOptim</zorder>
423      </widget>
424      <widget class="QWidget" name="advanced">
425       <attribute name="title">
426        <string>Advanced Remeshing Options</string>
427       </attribute>
428       <widget class="QGroupBox" name="groupBox_5">
429        <property name="geometry">
430         <rect>
431          <x>10</x>
432          <y>10</y>
433          <width>750</width>
434          <height>400</height>
435         </rect>
436        </property>
437        <property name="title">
438         <string>You can control </string>
439        </property>
440 #1
441        <widget class="QDoubleSpinBox" name="SP_MinHoleSize">
442         <property name="geometry">
443          <rect>
444           <x>20</x>
445           <y>30</y>
446           <width>100</width>
447           <height>25</height>
448          </rect>
449         </property>
450         <property name="maximum">
451          <double>10000</double>
452         </property>
453         <property name="minimum">
454          <double>0</double>
455         </property>
456         <property name="singleStep">
457          <double>0.01</double>
458         </property>
459         <property name="value">
460          <double>0.01</double>
461         </property>
462            <property name="enabled">
463             <bool>false</bool>
464            </property>
465        </widget>
466        <widget class="QLabel" name="LA_minHoleSize">
467         <property name="geometry">
468          <rect>
469           <x>130</x>
470           <y>30</y>
471           <width>600</width>
472           <height>30</height>
473          </rect>
474         </property>
475         <property name="toolTip">
476          <string>sets the surface size threshold below which holes are filled.
477 Set 'Fill holes' in 'Simple Remeshing Options'.</string>
478         </property>
479         <property name="text">
480          <string>Surface size threshold of holes to fill (--min_hole_size)</string>
481         </property>
482        </widget>
483 #2
484        <widget class="QDoubleSpinBox" name="SP_ToleranceDisplacement">
485         <property name="geometry">
486          <rect>
487           <x>20</x>
488           <y>70</y>
489           <width>100</width>
490           <height>25</height>
491          </rect>
492         </property>
493         <property name="maximum">
494          <double>10000</double>
495         </property>
496         <property name="minimum">
497          <double>0</double>
498         </property>
499         <property name="singleStep">
500          <double>0.01</double>
501         </property>
502         <property name="value">
503          <double>0.01</double>
504         </property>
505            <property name="enabled">
506             <bool>false</bool>
507            </property>
508        </widget>
509        <widget class="QLabel" name="LA_toleranceDisplacement">
510         <property name="geometry">
511          <rect>
512           <x>130</x>
513           <y>70</y>
514           <width>600</width>
515           <height>30</height>
516          </rect>
517         </property>
518         <property name="toolTip">
519          <string>Sets the displacement threshold below which modification is allowed.
520 Unused in collision resolution .
521 'Tolerance displacement' is set to resolution_length if it is lower.</string>
522         </property>
523         <property name="text">
524          <string>Tolerance displacement threshold of points for modification
525 (--tolerance_displacement)</string>
526         </property>
527        </widget>
528
529           <widget class="QCheckBox" name="CB_ComputedToleranceDisplacement">
530         <property name="geometry">
531          <rect>
532           <x>650</x>
533           <y>70</y>
534           <width>100</width>
535           <height>30</height>
536          </rect>
537         </property>
538            <property name="toolTip">
539             <string>If set default value is computed from model.</string>
540            </property>
541            <property name="text">
542             <string>Computed</string>
543            </property>
544            <property name="checked">
545             <bool>true</bool>
546            </property>
547           </widget>
548
549 #3
550        <widget class="QDoubleSpinBox" name="SP_ResolutionLength">
551         <property name="geometry">
552          <rect>
553           <x>20</x>
554           <y>110</y>
555           <width>100</width>
556           <height>25</height>
557          </rect>
558         </property>
559         <property name="maximum">
560          <double>10000</double>
561         </property>
562         <property name="minimum">
563          <double>0</double>
564         </property>
565         <property name="singleStep">
566          <double>0.01</double>
567         </property>
568         <property name="value">
569          <double>0.01</double>
570         </property>
571            <property name="enabled">
572             <bool>false</bool>
573            </property>
574        </widget>
575        <widget class="QLabel" name="LA_resolutionLength">
576         <property name="geometry">
577          <rect>
578           <x>130</x>
579           <y>110</y>
580           <width>600</width>
581           <height>30</height>
582          </rect>
583         </property>
584         <property name="toolTip">
585          <string>sets the distance threshold above which 2 points are considered distinct.
586 Sets the tolerance displacement to 1/5 of this size.
587 Default is computed from model.</string>
588         </property>
589         <property name="text">
590          <string>Distance threshold for two points distinct (--resolution_length)</string>
591         </property>
592        </widget>
593           <widget class="QCheckBox" name="CB_ComputedResolutionLength">
594         <property name="geometry">
595          <rect>
596           <x>650</x>
597           <y>110</y>
598           <width>100</width>
599           <height>30</height>
600          </rect>
601         </property>
602            <property name="toolTip">
603             <string>If set default value is computed from model.</string>
604            </property>
605            <property name="text">
606             <string>Computed</string>
607            </property>
608            <property name="checked">
609             <bool>true</bool>
610            </property>
611           </widget>
612 #4
613        <widget class="QDoubleSpinBox" name="SP_FoldingAngle">
614         <property name="geometry">
615          <rect>
616           <x>20</x>
617           <y>150</y>
618           <width>100</width>
619           <height>25</height>
620          </rect>
621         </property>
622         <property name="maximum">
623          <double>10000</double>
624         </property>
625         <property name="minimum">
626          <double>0</double>
627         </property>
628         <property name="singleStep">
629          <double>0.01</double>
630         </property>
631         <property name="value">
632          <double>15</double>
633         </property>
634        </widget>
635        <widget class="QLabel" name="LA_foldingAngle">
636         <property name="geometry">
637          <rect>
638           <x>130</x>
639           <y>150</y>
640           <width>600</width>
641           <height>30</height>
642          </rect>
643         </property>
644         <property name="toolTip">
645          <string>Sets the threshold angle below which 2 connected triangles are considered overlapping .
646 Reduce this value if model contains sharp angles below this threshold that must be kept.
647 Overlap_angle is set to this angle if it is higher.
648 Default is 15 degrees.</string>
649         </property>
650         <property name="text">
651          <string>Angle threshold for two connected triangles overlapping (--folding_angle)</string>
652         </property>
653        </widget>
654 #5
655        <widget class="QDoubleSpinBox" name="SP_OverlapDistance">
656         <property name="geometry">
657          <rect>
658           <x>20</x>
659           <y>190</y>
660           <width>100</width>
661           <height>25</height>
662          </rect>
663         </property>
664         <property name="maximum">
665          <double>10000</double>
666         </property>
667         <property name="minimum">
668          <double>0</double>
669         </property>
670         <property name="singleStep">
671          <double>0.01</double>
672         </property>
673         <property name="value">
674          <double>0.01</double>
675         </property>
676            <property name="enabled">
677             <bool>false</bool>
678            </property>
679        </widget>
680        <widget class="QLabel" name="LA_overlapDistance">
681         <property name="geometry">
682          <rect>
683           <x>130</x>
684           <y>190</y>
685           <width>600</width>
686           <height>30</height>
687          </rect>
688         </property>
689         <property name="toolTip">
690          <string>sets the distance below which 2 unconnected triangles are considered overlapping.
691 Reduce this value if too many overlaps are detected.
692 Default is computed from model.</string>
693         </property>
694         <property name="text">
695          <string>Distance threshold for two unconnected triangles overlapping
696 (--overlap_distance)</string>
697         </property>
698        </widget>
699           <widget class="QCheckBox" name="CB_ComputedOverlapDistance">
700         <property name="geometry">
701          <rect>
702           <x>650</x>
703           <y>190</y>
704           <width>100</width>
705           <height>30</height>
706          </rect>
707         </property>
708            <property name="toolTip">
709             <string>If set default value is computed from model.</string>
710            </property>
711            <property name="text">
712             <string>Computed</string>
713            </property>
714            <property name="checked">
715             <bool>true</bool>
716            </property>
717           </widget>
718 #6
719        <widget class="QDoubleSpinBox" name="SP_OverlapAngle">
720         <property name="geometry">
721          <rect>
722           <x>20</x>
723           <y>230</y>
724           <width>100</width>
725           <height>25</height>
726          </rect>
727         </property>
728         <property name="maximum">
729          <double>10000</double>
730         </property>
731         <property name="minimum">
732          <double>0</double>
733         </property>
734         <property name="singleStep">
735          <double>1</double>
736         </property>
737         <property name="value">
738          <double>15</double>
739         </property>
740        </widget>
741        <widget class="QLabel" name="LA_overlapAngle">
742         <property name="geometry">
743          <rect>
744           <x>130</x>
745           <y>230</y>
746           <width>600</width>
747           <height>30</height>
748          </rect>
749         </property>
750         <property name="toolTip">
751          <string>Sets the angle below which 2 unconnected triangles are considered overlapping.
752 'Folding angle' is set to this angle if it is lower.
753 Default is 15 degrees.</string>
754         </property>
755         <property name="text">
756          <string>Angle threshold for two unconnected triangles overlapping (--overlap_angle)</string>
757         </property>
758        </widget>
759       </widget>
760      </widget>
761      <widget class="QWidget" name="generic">
762       <attribute name="title">
763        <string>Generic Options</string>
764       </attribute>
765       <widget class="QGroupBox" name="groupBox_4">
766        <property name="geometry">
767         <rect>
768          <x>10</x>
769          <y>10</y>
770          <width>750</width>
771          <height>130</height>
772         </rect>
773        </property>
774        <property name="title">
775         <string>MGCleaner Generic Options</string>
776        </property>
777        
778           <widget class="QSpinBox" name="SP_Verbosity">
779         <property name="geometry">
780          <rect>
781           <x>20</x>
782           <y>30</y>
783           <width>100</width>
784           <height>25</height>
785          </rect>
786         </property>
787            <property name="maximum">
788             <number>10</number>
789            </property>
790            <property name="value">
791             <number>3</number>
792            </property>
793           </widget>
794        
795           <widget class="QLabel" name="label">
796         <property name="geometry">
797          <rect>
798           <x>130</x>
799           <y>30</y>
800           <width>600</width>
801           <height>30</height>
802          </rect>
803         </property>
804         <property name="toolTip">
805          <string>sets the verbosity level.
806 From 0 (no detail) to 10 (very detailed).
807 Default is 3.</string>
808         </property>
809            <property name="text">
810             <string>Verbosity level</string>
811            </property>
812           </widget>
813        
814        
815       </widget>
816       <widget class="QGroupBox" name="groupBox_6">
817        <property name="geometry">
818         <rect>
819          <x>10</x>
820          <y>150</y>
821          <width>750</width>
822          <height>140</height>
823         </rect>
824        </property>
825        <property name="title">
826         <string>Plug-in Generic Options</string>
827        </property>
828        <widget class="QLabel" name="label_10">
829         <property name="geometry">
830          <rect>
831           <x>20</x>
832           <y>40</y>
833           <width>391</width>
834           <height>18</height>
835          </rect>
836         </property>
837         <property name="text">
838          <string>File used to save MGCleaner hypothesis parameters :</string>
839         </property>
840        </widget>
841        <widget class="QPushButton" name="PB_ParamsFileExplorer">
842         <property name="geometry">
843          <rect>
844           <x>20</x>
845           <y>70</y>
846           <width>30</width>
847           <height>31</height>
848          </rect>
849         </property>
850         <property name="text">
851          <string/>
852         </property>
853        </widget>
854        <widget class="QLineEdit" name="LE_ParamsFile">
855         <property name="geometry">
856          <rect>
857           <x>60</x>
858           <y>70</y>
859           <width>661</width>
860           <height>31</height>
861          </rect>
862         </property>
863        </widget>
864       </widget>
865      </widget>
866     </widget>
867    </item>
868   </layout>
869  </widget>
870  <resources/>
871  <connections/>
872 </ui>