clippingBoxRepeatDlg.ui 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>ClippingBoxRepeatDlg</class>
  4. <widget class="QDialog" name="ClippingBoxRepeatDlg">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>400</width>
  10. <height>550</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Slice extraction</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout">
  17. <item>
  18. <widget class="QGroupBox" name="repeatDimGroupBox">
  19. <property name="toolTip">
  20. <string>The segmentation process will be repeated along the following dimensions (+/-)</string>
  21. </property>
  22. <property name="title">
  23. <string>Repeat dimensions</string>
  24. </property>
  25. <layout class="QHBoxLayout" name="horizontalLayout">
  26. <item>
  27. <widget class="QCheckBox" name="xRepeatCheckBox">
  28. <property name="styleSheet">
  29. <string notr="true">background-color: red;
  30. color: white;</string>
  31. </property>
  32. <property name="text">
  33. <string notr="true">X</string>
  34. </property>
  35. </widget>
  36. </item>
  37. <item>
  38. <widget class="QCheckBox" name="yRepeatCheckBox">
  39. <property name="styleSheet">
  40. <string notr="true">background-color: green;
  41. color: white;</string>
  42. </property>
  43. <property name="text">
  44. <string notr="true">Y</string>
  45. </property>
  46. </widget>
  47. </item>
  48. <item>
  49. <widget class="QCheckBox" name="zRepeatCheckBox">
  50. <property name="styleSheet">
  51. <string notr="true">background-color: blue;
  52. color: white;</string>
  53. </property>
  54. <property name="text">
  55. <string notr="true">Z</string>
  56. </property>
  57. <property name="checked">
  58. <bool>true</bool>
  59. </property>
  60. </widget>
  61. </item>
  62. </layout>
  63. </widget>
  64. </item>
  65. <item>
  66. <widget class="QGroupBox" name="extractSliceEntitiesGroupBox">
  67. <property name="minimumSize">
  68. <size>
  69. <width>0</width>
  70. <height>30</height>
  71. </size>
  72. </property>
  73. <property name="title">
  74. <string>Extract slice cloud(s) or mesh(es)</string>
  75. </property>
  76. <property name="checkable">
  77. <bool>true</bool>
  78. </property>
  79. <layout class="QVBoxLayout" name="verticalLayout_4">
  80. <item>
  81. <widget class="QCheckBox" name="randomColorCheckBox">
  82. <property name="toolTip">
  83. <string>If checked, a random color will be assigned to each slice (warning: will overwrite any existing color!)</string>
  84. </property>
  85. <property name="text">
  86. <string>random colors per slice (will overwrite existing colors!)</string>
  87. </property>
  88. </widget>
  89. </item>
  90. </layout>
  91. </widget>
  92. </item>
  93. <item>
  94. <widget class="QGroupBox" name="extractEnvelopesGroupBox">
  95. <property name="toolTip">
  96. <string>Check that option if you wish to extract the envelope of each slice</string>
  97. </property>
  98. <property name="title">
  99. <string>Extract envelope(s)</string>
  100. </property>
  101. <property name="checkable">
  102. <bool>true</bool>
  103. </property>
  104. <property name="checked">
  105. <bool>false</bool>
  106. </property>
  107. <layout class="QVBoxLayout" name="verticalLayout_3">
  108. <item>
  109. <layout class="QFormLayout" name="formLayout">
  110. <item row="0" column="0">
  111. <widget class="QLabel" name="label_3">
  112. <property name="text">
  113. <string>Envelope type</string>
  114. </property>
  115. </widget>
  116. </item>
  117. <item row="0" column="1">
  118. <widget class="QComboBox" name="envelopeTypeComboBox">
  119. <property name="toolTip">
  120. <string>Envelope type (lower or upper part, or both)</string>
  121. </property>
  122. <property name="currentIndex">
  123. <number>2</number>
  124. </property>
  125. <item>
  126. <property name="text">
  127. <string>Lower</string>
  128. </property>
  129. </item>
  130. <item>
  131. <property name="text">
  132. <string>Upper</string>
  133. </property>
  134. </item>
  135. <item>
  136. <property name="text">
  137. <string>Full</string>
  138. </property>
  139. </item>
  140. </widget>
  141. </item>
  142. <item row="1" column="0">
  143. <widget class="QLabel" name="label_2">
  144. <property name="text">
  145. <string>Max edge length</string>
  146. </property>
  147. </widget>
  148. </item>
  149. <item row="1" column="1">
  150. <widget class="QDoubleSpinBox" name="maxEnvelopeEdgeLengthDoubleSpinBox">
  151. <property name="toolTip">
  152. <string>Max edge length (if 0, generates a unique and closed envelope = convex hull)</string>
  153. </property>
  154. <property name="decimals">
  155. <number>6</number>
  156. </property>
  157. <property name="maximum">
  158. <double>1000000000.000000000000000</double>
  159. </property>
  160. </widget>
  161. </item>
  162. </layout>
  163. </item>
  164. <item>
  165. <widget class="QCheckBox" name="multiPassEnvelopeCheckBox">
  166. <property name="toolTip">
  167. <string>Multi-pass process where longer edges may be temporarily created to obtain a better fit... or a worst one ;)</string>
  168. </property>
  169. <property name="text">
  170. <string>multi-pass</string>
  171. </property>
  172. </widget>
  173. </item>
  174. <item>
  175. <widget class="QCheckBox" name="envProjectPointsOnBestFitCheckBox">
  176. <property name="toolTip">
  177. <string>Before extracting the contour, points can be projected along the repeat dimension (if only one is defined) or on the best fit plane</string>
  178. </property>
  179. <property name="text">
  180. <string>project slice(s) points on their best fit plane</string>
  181. </property>
  182. </widget>
  183. </item>
  184. <item>
  185. <widget class="QCheckBox" name="splitEnvelopeCheckBox">
  186. <property name="toolTip">
  187. <string>split the generated contour(s) in smaller parts to avoid creating edges longer than the specified max edge length.</string>
  188. </property>
  189. <property name="text">
  190. <string>split envelope(s) on longer edges</string>
  191. </property>
  192. </widget>
  193. </item>
  194. <item>
  195. <widget class="QCheckBox" name="envDebugModeCheckBox">
  196. <property name="toolTip">
  197. <string>Display a dialog with step-by-step execution of the algorithm (debug mode - very slow)</string>
  198. </property>
  199. <property name="text">
  200. <string>visual debug mode</string>
  201. </property>
  202. </widget>
  203. </item>
  204. </layout>
  205. </widget>
  206. </item>
  207. <item>
  208. <widget class="QGroupBox" name="extractLevelSetGroupBox">
  209. <property name="toolTip">
  210. <string>Extract the point contours (via a rasterization process)</string>
  211. </property>
  212. <property name="title">
  213. <string>Extract contours</string>
  214. </property>
  215. <property name="checkable">
  216. <bool>true</bool>
  217. </property>
  218. <property name="checked">
  219. <bool>false</bool>
  220. </property>
  221. <layout class="QFormLayout" name="formLayout_2">
  222. <item row="0" column="0">
  223. <widget class="QLabel" name="label_4">
  224. <property name="text">
  225. <string>Grid step</string>
  226. </property>
  227. </widget>
  228. </item>
  229. <item row="0" column="1">
  230. <widget class="QDoubleSpinBox" name="lsGridStepDoubleSpinBox">
  231. <property name="toolTip">
  232. <string>Step of the internally generated grid obtained by rasterizing the points and exporting the contours</string>
  233. </property>
  234. <property name="decimals">
  235. <number>6</number>
  236. </property>
  237. <property name="minimum">
  238. <double>0.000001000000000</double>
  239. </property>
  240. <property name="maximum">
  241. <double>100000.000000000000000</double>
  242. </property>
  243. <property name="value">
  244. <double>1.000000000000000</double>
  245. </property>
  246. </widget>
  247. </item>
  248. <item row="1" column="0">
  249. <widget class="QLabel" name="label_11">
  250. <property name="text">
  251. <string>Min. vertex count</string>
  252. </property>
  253. </widget>
  254. </item>
  255. <item row="1" column="1">
  256. <widget class="QSpinBox" name="minLSVertexCountSpinBox">
  257. <property name="toolTip">
  258. <string>Min vertex count per contour (to ignore the smallest ones)</string>
  259. </property>
  260. <property name="minimum">
  261. <number>3</number>
  262. </property>
  263. <property name="maximum">
  264. <number>10000000</number>
  265. </property>
  266. </widget>
  267. </item>
  268. </layout>
  269. </widget>
  270. </item>
  271. <item>
  272. <widget class="QGroupBox" name="otherOptionsGroupBox">
  273. <property name="title">
  274. <string>Other options</string>
  275. </property>
  276. <layout class="QFormLayout" name="formLayout_3">
  277. <item row="0" column="0">
  278. <widget class="QLabel" name="label">
  279. <property name="text">
  280. <string>Gap</string>
  281. </property>
  282. </widget>
  283. </item>
  284. <item row="0" column="1">
  285. <widget class="QDoubleSpinBox" name="gapDoubleSpinBox">
  286. <property name="toolTip">
  287. <string>Gap between the slices</string>
  288. </property>
  289. <property name="decimals">
  290. <number>6</number>
  291. </property>
  292. <property name="maximum">
  293. <double>1000000000.000000000000000</double>
  294. </property>
  295. </widget>
  296. </item>
  297. <item row="1" column="0">
  298. <widget class="QLabel" name="label_5">
  299. <property name="text">
  300. <string>Group generated entities by</string>
  301. </property>
  302. </widget>
  303. </item>
  304. <item row="1" column="1">
  305. <widget class="QComboBox" name="groupByTypeComboBox">
  306. <property name="toolTip">
  307. <string>How generated slices, envelopes and contours will be regrouped in the DB tree</string>
  308. </property>
  309. <property name="currentIndex">
  310. <number>3</number>
  311. </property>
  312. <item>
  313. <property name="text">
  314. <string>Type</string>
  315. </property>
  316. </item>
  317. <item>
  318. <property name="text">
  319. <string>Origin entity</string>
  320. </property>
  321. </item>
  322. <item>
  323. <property name="text">
  324. <string>Slice</string>
  325. </property>
  326. </item>
  327. <item>
  328. <property name="text">
  329. <string>Origin entity, then slice</string>
  330. </property>
  331. </item>
  332. <item>
  333. <property name="text">
  334. <string>Slice, then origin entity</string>
  335. </property>
  336. </item>
  337. </widget>
  338. </item>
  339. </layout>
  340. </widget>
  341. </item>
  342. <item>
  343. <spacer name="verticalSpacer">
  344. <property name="orientation">
  345. <enum>Qt::Vertical</enum>
  346. </property>
  347. <property name="sizeHint" stdset="0">
  348. <size>
  349. <width>20</width>
  350. <height>4</height>
  351. </size>
  352. </property>
  353. </spacer>
  354. </item>
  355. <item>
  356. <widget class="QDialogButtonBox" name="buttonBox">
  357. <property name="orientation">
  358. <enum>Qt::Horizontal</enum>
  359. </property>
  360. <property name="standardButtons">
  361. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  362. </property>
  363. </widget>
  364. </item>
  365. </layout>
  366. </widget>
  367. <resources/>
  368. <connections>
  369. <connection>
  370. <sender>buttonBox</sender>
  371. <signal>accepted()</signal>
  372. <receiver>ClippingBoxRepeatDlg</receiver>
  373. <slot>accept()</slot>
  374. <hints>
  375. <hint type="sourcelabel">
  376. <x>248</x>
  377. <y>254</y>
  378. </hint>
  379. <hint type="destinationlabel">
  380. <x>157</x>
  381. <y>274</y>
  382. </hint>
  383. </hints>
  384. </connection>
  385. <connection>
  386. <sender>buttonBox</sender>
  387. <signal>rejected()</signal>
  388. <receiver>ClippingBoxRepeatDlg</receiver>
  389. <slot>reject()</slot>
  390. <hints>
  391. <hint type="sourcelabel">
  392. <x>316</x>
  393. <y>260</y>
  394. </hint>
  395. <hint type="destinationlabel">
  396. <x>286</x>
  397. <y>274</y>
  398. </hint>
  399. </hints>
  400. </connection>
  401. </connections>
  402. </ui>