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