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