subdividerControls.ui 9.79 KB
Newer Older
Jan Möbius's avatar
 
Jan Möbius committed
1
2
3
4
5
6
7
8
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>SubdividerControls</class>
 <widget class="QWidget" name="SubdividerControls">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
9
    <width>410</width>
Jan Möbius's avatar
 
Jan Möbius committed
10
11
12
13
14
15
    <height>646</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>Form</string>
  </property>
16
  <layout class="QVBoxLayout" name="verticalLayout_4">
Jan Möbius's avatar
 
Jan Möbius committed
17
   <item>
18
19
20
    <widget class="QTabWidget" name="tabWidget">
     <property name="currentIndex">
      <number>0</number>
21
     </property>
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
     <widget class="QWidget" name="Uniform">
      <attribute name="title">
       <string>Uniform</string>
      </attribute>
      <layout class="QVBoxLayout" name="verticalLayout_3">
       <item>
        <layout class="QHBoxLayout" name="horizontalLayout_3">
         <item>
          <widget class="QLabel" name="label">
           <property name="text">
            <string>Subdivision steps:</string>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QSpinBox" name="subdivision_steps_spinBox">
           <property name="value">
            <number>1</number>
           </property>
          </widget>
         </item>
        </layout>
       </item>
       <item>
        <widget class="QGroupBox" name="groupBox">
         <property name="title">
          <string>Uniform Subdivision</string>
         </property>
         <layout class="QVBoxLayout" name="verticalLayout_2">
51
          <item>
52
           <layout class="QHBoxLayout" name="horizontalLayout_2">
53
            <item>
54
             <widget class="QLabel" name="label_2">
55
              <property name="text">
56
               <string>Method:</string>
57
58
59
              </property>
             </widget>
            </item>
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
            <item>
             <layout class="QVBoxLayout" name="verticalLayout">
              <item>
               <layout class="QHBoxLayout" name="horizontalLayout">
                <item>
                 <widget class="QRadioButton" name="loop_radioButton">
                  <property name="toolTip">
                   <string>C. T. Loop, &quot;Smooth Subdivision Surfaces Based on Triangles&quot;,
M.S. Thesis, Department of Mathematics, University of Utah, August 1987.</string>
                  </property>
                  <property name="text">
                   <string>Loop</string>
                  </property>
                  <property name="checked">
                   <bool>true</bool>
                  </property>
                 </widget>
                </item>
               </layout>
              </item>
              <item>
               <widget class="QRadioButton" name="sqrt3_radioButton">
                <property name="toolTip">
                 <string>L. Kobbelt, &lt;a href=&quot;http://www-i8.informatik.rwth-aachen.de/publications/downloads/sqrt3.pdf&quot;&gt;&quot;Sqrt(3) subdivision&quot;&lt;/a&gt;, Proceedings of SIGGRAPH 2000.</string>
                </property>
                <property name="text">
                 <string>Sqrt3</string>
                </property>
               </widget>
              </item>
              <item>
               <widget class="QRadioButton" name="LabsikGreiner_radioButton">
                <property name="toolTip">
                 <string>Interpolating Labsik Greiner Subdivider as described in &quot;interpolating sqrt(3) subdivision&quot; Labsik &amp; Greiner, 2000</string>
                </property>
                <property name="text">
                 <string>Interpolating Sqrt3</string>
                </property>
               </widget>
              </item>
              <item>
               <widget class="QRadioButton" name="modifiedButterfly_radioButton">
                <property name="toolTip">
                 <string>The modified butterfly scheme of Denis Zorin, Peter Schröder and Wim Sweldens, 
``Interpolating subdivision for meshes with arbitrary topology,'' in Proceedings 
of SIGGRAPH 1996, ACM SIGGRAPH, 1996, pp. 189-192.</string>
                </property>
                <property name="text">
                 <string>Modified Butterfly</string>
                </property>
               </widget>
              </item>
112
113
114
115
116
117
118
119
120
121
              <item>
               <widget class="QRadioButton" name="catmullClark_radioButton">
                <property name="toolTip">
                 <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Catmull Clark subdivision&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Note: Only works on quadrangular meshes!&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
                </property>
                <property name="text">
                 <string>Catmull Clark</string>
                </property>
               </widget>
              </item>
122
123
             </layout>
            </item>
124
125
126
           </layout>
          </item>
          <item>
127
128
           <widget class="QCheckBox" name="updatePoints">
            <property name="enabled">
129
             <bool>true</bool>
130
            </property>
131
            <property name="toolTip">
132
             <string/>
133
134
            </property>
            <property name="text">
135
             <string>Update Points</string>
136
            </property>
137
138
            <property name="checkable">
             <bool>true</bool>
139
            </property>
140
141
            <property name="checked">
             <bool>true</bool>
142
143
144
145
            </property>
           </widget>
          </item>
          <item>
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
           <layout class="QHBoxLayout" name="horizontalLayout_4">
            <item>
             <spacer name="horizontalSpacer_2">
              <property name="orientation">
               <enum>Qt::Horizontal</enum>
              </property>
              <property name="sizeHint" stdset="0">
               <size>
                <width>40</width>
                <height>20</height>
               </size>
              </property>
             </spacer>
            </item>
            <item>
             <widget class="QToolButton" name="subdivide_uniform_toolButton">
              <property name="text">
               <string>Uniform Subdivide</string>
              </property>
             </widget>
            </item>
            <item>
             <spacer name="horizontalSpacer">
              <property name="orientation">
               <enum>Qt::Horizontal</enum>
              </property>
              <property name="sizeHint" stdset="0">
               <size>
                <width>40</width>
                <height>20</height>
               </size>
              </property>
             </spacer>
            </item>
           </layout>
181
182
          </item>
         </layout>
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
        </widget>
       </item>
      </layout>
     </widget>
     <widget class="QWidget" name="Simple">
      <attribute name="title">
       <string>Simple</string>
      </attribute>
      <layout class="QVBoxLayout" name="verticalLayout_5">
       <item>
        <layout class="QHBoxLayout" name="horizontalLayout_6">
         <item>
          <widget class="QRadioButton" name="longestEdgeSplit">
           <property name="toolTip">
            <string>This algorithm splits edges longer than the given maximal length. For each split, the longest edge is split at its midpoint.</string>
           </property>
           <property name="text">
            <string>Longest Edge </string>
           </property>
           <property name="checked">
            <bool>true</bool>
           </property>
          </widget>
         </item>
         <item>
          <layout class="QHBoxLayout" name="horizontalLayout_5">
           <item>
            <spacer name="horizontalSpacer_3">
             <property name="orientation">
              <enum>Qt::Horizontal</enum>
             </property>
             <property name="sizeHint" stdset="0">
              <size>
               <width>40</width>
               <height>20</height>
              </size>
             </property>
            </spacer>
           </item>
           <item>
            <widget class="QLabel" name="label_3">
             <property name="text">
              <string>Max Edge Length</string>
             </property>
            </widget>
           </item>
           <item>
            <widget class="QDoubleSpinBox" name="maximalEdgeLength">
             <property name="toolTip">
              <string>Maximal edge length after the algorithm</string>
             </property>
             <property name="decimals">
              <number>3</number>
             </property>
             <property name="minimum">
              <double>0.000000000000000</double>
             </property>
             <property name="maximum">
              <double>1000.000000000000000</double>
             </property>
             <property name="value">
              <double>1.000000000000000</double>
             </property>
            </widget>
           </item>
          </layout>
         </item>
        </layout>
       </item>
       <item>
        <spacer name="verticalSpacer_2">
         <property name="orientation">
          <enum>Qt::Vertical</enum>
         </property>
         <property name="sizeHint" stdset="0">
          <size>
           <width>20</width>
           <height>40</height>
          </size>
         </property>
        </spacer>
       </item>
       <item>
        <widget class="QPushButton" name="simpleButton">
         <property name="text">
          <string>Subdivide</string>
         </property>
        </widget>
       </item>
      </layout>
     </widget>
274
    </widget>
Jan Möbius's avatar
 
Jan Möbius committed
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
   </item>
   <item>
    <spacer name="verticalSpacer">
     <property name="orientation">
      <enum>Qt::Vertical</enum>
     </property>
     <property name="sizeHint" stdset="0">
      <size>
       <width>20</width>
       <height>495</height>
      </size>
     </property>
    </spacer>
   </item>
  </layout>
 </widget>
 <resources/>
 <connections/>
</ui>