geomFeaturesDlg.ui 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>GeomFeaturesDialog</class>
  4. <widget class="QDialog" name="GeomFeaturesDialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>526</width>
  10. <height>608</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Geometric features</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout_7">
  17. <item>
  18. <widget class="QFrame" name="frame">
  19. <layout class="QHBoxLayout" name="horizontalLayout_2">
  20. <item>
  21. <spacer name="horizontalSpacer">
  22. <property name="orientation">
  23. <enum>Qt::Horizontal</enum>
  24. </property>
  25. <property name="sizeHint" stdset="0">
  26. <size>
  27. <width>101</width>
  28. <height>20</height>
  29. </size>
  30. </property>
  31. </spacer>
  32. </item>
  33. <item>
  34. <widget class="QLabel" name="label">
  35. <property name="text">
  36. <string>Local neighborhood radius</string>
  37. </property>
  38. </widget>
  39. </item>
  40. <item>
  41. <widget class="QDoubleSpinBox" name="radiusDoubleSpinBox">
  42. <property name="decimals">
  43. <number>6</number>
  44. </property>
  45. <property name="minimum">
  46. <double>0.000001000000000</double>
  47. </property>
  48. <property name="maximum">
  49. <double>1000000.000000000000000</double>
  50. </property>
  51. <property name="value">
  52. <double>1.000000000000000</double>
  53. </property>
  54. </widget>
  55. </item>
  56. <item>
  57. <spacer name="horizontalSpacer_2">
  58. <property name="orientation">
  59. <enum>Qt::Horizontal</enum>
  60. </property>
  61. <property name="sizeHint" stdset="0">
  62. <size>
  63. <width>101</width>
  64. <height>20</height>
  65. </size>
  66. </property>
  67. </spacer>
  68. </item>
  69. </layout>
  70. </widget>
  71. </item>
  72. <item>
  73. <layout class="QHBoxLayout" name="horizontalLayout">
  74. <item>
  75. <layout class="QVBoxLayout" name="verticalLayout_5">
  76. <item>
  77. <widget class="QGroupBox" name="roughnessGroupBox">
  78. <property name="title">
  79. <string>Roughness</string>
  80. </property>
  81. <layout class="QVBoxLayout" name="verticalLayout_4">
  82. <item>
  83. <widget class="QCheckBox" name="roughnessCheckBox">
  84. <property name="text">
  85. <string>Roughness</string>
  86. </property>
  87. </widget>
  88. </item>
  89. <item>
  90. <widget class="QGroupBox" name="upDirGroupBox">
  91. <property name="enabled">
  92. <bool>false</bool>
  93. </property>
  94. <property name="sizePolicy">
  95. <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
  96. <horstretch>0</horstretch>
  97. <verstretch>0</verstretch>
  98. </sizepolicy>
  99. </property>
  100. <property name="toolTip">
  101. <string>Defining a 'up direction' allows to compute signed roughness</string>
  102. </property>
  103. <property name="title">
  104. <string>Up direction</string>
  105. </property>
  106. <property name="checkable">
  107. <bool>true</bool>
  108. </property>
  109. <property name="checked">
  110. <bool>false</bool>
  111. </property>
  112. <layout class="QHBoxLayout" name="horizontalLayout_3">
  113. <item>
  114. <widget class="QDoubleSpinBox" name="upDirXDoubleSpinBox">
  115. <property name="prefix">
  116. <string>X=</string>
  117. </property>
  118. <property name="decimals">
  119. <number>2</number>
  120. </property>
  121. <property name="minimum">
  122. <double>-1.000000000000000</double>
  123. </property>
  124. <property name="maximum">
  125. <double>1.000000000000000</double>
  126. </property>
  127. <property name="singleStep">
  128. <double>0.010000000000000</double>
  129. </property>
  130. </widget>
  131. </item>
  132. <item>
  133. <widget class="QDoubleSpinBox" name="upDirYDoubleSpinBox">
  134. <property name="prefix">
  135. <string>Y=</string>
  136. </property>
  137. <property name="decimals">
  138. <number>2</number>
  139. </property>
  140. <property name="minimum">
  141. <double>-1.000000000000000</double>
  142. </property>
  143. <property name="maximum">
  144. <double>1.000000000000000</double>
  145. </property>
  146. <property name="singleStep">
  147. <double>0.010000000000000</double>
  148. </property>
  149. </widget>
  150. </item>
  151. <item>
  152. <widget class="QDoubleSpinBox" name="upDirZDoubleSpinBox">
  153. <property name="prefix">
  154. <string>Z=</string>
  155. </property>
  156. <property name="decimals">
  157. <number>2</number>
  158. </property>
  159. <property name="minimum">
  160. <double>-1.000000000000000</double>
  161. </property>
  162. <property name="maximum">
  163. <double>1.000000000000000</double>
  164. </property>
  165. <property name="singleStep">
  166. <double>0.010000000000000</double>
  167. </property>
  168. <property name="value">
  169. <double>1.000000000000000</double>
  170. </property>
  171. </widget>
  172. </item>
  173. </layout>
  174. </widget>
  175. </item>
  176. </layout>
  177. </widget>
  178. </item>
  179. <item>
  180. <widget class="QGroupBox" name="curvatureGroupBox">
  181. <property name="title">
  182. <string>Curvature</string>
  183. </property>
  184. <layout class="QVBoxLayout" name="verticalLayout">
  185. <item>
  186. <widget class="QCheckBox" name="curvMeanCheckBox">
  187. <property name="toolTip">
  188. <string>Mean curvature (unsigned)</string>
  189. </property>
  190. <property name="text">
  191. <string>Mean</string>
  192. </property>
  193. </widget>
  194. </item>
  195. <item>
  196. <widget class="QCheckBox" name="curvGaussCheckBox">
  197. <property name="toolTip">
  198. <string>Gaussian curvature (unsigned)</string>
  199. </property>
  200. <property name="text">
  201. <string>Gaussian</string>
  202. </property>
  203. </widget>
  204. </item>
  205. <item>
  206. <widget class="QCheckBox" name="curvNCRCheckBox">
  207. <property name="toolTip">
  208. <string>'Speed' of orientation change</string>
  209. </property>
  210. <property name="text">
  211. <string>Normal change rate</string>
  212. </property>
  213. </widget>
  214. </item>
  215. </layout>
  216. </widget>
  217. </item>
  218. <item>
  219. <widget class="QGroupBox" name="desnityGroupBox">
  220. <property name="title">
  221. <string>Density</string>
  222. </property>
  223. <layout class="QVBoxLayout" name="verticalLayout_3">
  224. <item>
  225. <widget class="QCheckBox" name="densityKnnCheckBox">
  226. <property name="toolTip">
  227. <string>Number of neighbors</string>
  228. </property>
  229. <property name="text">
  230. <string>Number of neighbors</string>
  231. </property>
  232. </widget>
  233. </item>
  234. <item>
  235. <widget class="QCheckBox" name="densitySurfCheckBox">
  236. <property name="toolTip">
  237. <string>Number of neighbors / neighborhood area</string>
  238. </property>
  239. <property name="text">
  240. <string>Surface density</string>
  241. </property>
  242. </widget>
  243. </item>
  244. <item>
  245. <widget class="QCheckBox" name="densityVolCheckBox">
  246. <property name="toolTip">
  247. <string>Number of neighbors / neighborhood volume</string>
  248. </property>
  249. <property name="text">
  250. <string>Volume density</string>
  251. </property>
  252. </widget>
  253. </item>
  254. </layout>
  255. </widget>
  256. </item>
  257. <item>
  258. <widget class="QGroupBox" name="groupBox_2">
  259. <property name="title">
  260. <string>Moment</string>
  261. </property>
  262. <layout class="QVBoxLayout" name="verticalLayout_8">
  263. <item>
  264. <widget class="QCheckBox" name="firstOrderMomentCheckBox">
  265. <property name="text">
  266. <string>1st order moment</string>
  267. </property>
  268. </widget>
  269. </item>
  270. </layout>
  271. </widget>
  272. </item>
  273. <item>
  274. <spacer name="verticalSpacer">
  275. <property name="orientation">
  276. <enum>Qt::Vertical</enum>
  277. </property>
  278. <property name="sizeHint" stdset="0">
  279. <size>
  280. <width>20</width>
  281. <height>40</height>
  282. </size>
  283. </property>
  284. </spacer>
  285. </item>
  286. </layout>
  287. </item>
  288. <item>
  289. <layout class="QVBoxLayout" name="verticalLayout_6">
  290. <item>
  291. <widget class="QGroupBox" name="featureGroupBox">
  292. <property name="toolTip">
  293. <string>Geometric features (based on local eigenvalues: (L1, L2, L3))</string>
  294. </property>
  295. <property name="title">
  296. <string>Features</string>
  297. </property>
  298. <layout class="QVBoxLayout" name="verticalLayout_2">
  299. <item>
  300. <widget class="QCheckBox" name="eigSumCheckBox">
  301. <property name="toolTip">
  302. <string>L1 + L2 + L3</string>
  303. </property>
  304. <property name="text">
  305. <string>Sum of eigenvalues</string>
  306. </property>
  307. </widget>
  308. </item>
  309. <item>
  310. <widget class="QCheckBox" name="eigOmnivarianceCheckBox">
  311. <property name="toolTip">
  312. <string>(L1 * L2 * L3)^(1/3)</string>
  313. </property>
  314. <property name="text">
  315. <string>Omnivariance</string>
  316. </property>
  317. </widget>
  318. </item>
  319. <item>
  320. <widget class="QCheckBox" name="eigenentropyCheckBox">
  321. <property name="toolTip">
  322. <string>-( L1*ln(L1) + L2*ln(L2) + L3*ln(L3) )</string>
  323. </property>
  324. <property name="text">
  325. <string>Eigenentropy</string>
  326. </property>
  327. </widget>
  328. </item>
  329. <item>
  330. <widget class="QCheckBox" name="eigAnisotropyCheckBox">
  331. <property name="toolTip">
  332. <string>(L1 - L3)/L1</string>
  333. </property>
  334. <property name="text">
  335. <string>Anisotropy</string>
  336. </property>
  337. </widget>
  338. </item>
  339. <item>
  340. <widget class="QCheckBox" name="eigPlanarityBox">
  341. <property name="toolTip">
  342. <string>(L2 - L3)/L1</string>
  343. </property>
  344. <property name="text">
  345. <string>Planarity</string>
  346. </property>
  347. </widget>
  348. </item>
  349. <item>
  350. <widget class="QCheckBox" name="eigLinearityCheckBox">
  351. <property name="toolTip">
  352. <string>(L1 - L2)/L1</string>
  353. </property>
  354. <property name="text">
  355. <string>Linearity</string>
  356. </property>
  357. </widget>
  358. </item>
  359. <item>
  360. <widget class="QCheckBox" name="eigPCA1CheckBox">
  361. <property name="toolTip">
  362. <string>L1 / (L1 + L2 + L3)</string>
  363. </property>
  364. <property name="text">
  365. <string>PCA1</string>
  366. </property>
  367. </widget>
  368. </item>
  369. <item>
  370. <widget class="QCheckBox" name="eigPCA2CheckBox">
  371. <property name="toolTip">
  372. <string>L2 / (L1 + L2 + L3)</string>
  373. </property>
  374. <property name="text">
  375. <string>PCA2</string>
  376. </property>
  377. </widget>
  378. </item>
  379. <item>
  380. <widget class="QCheckBox" name="eigSurfaceVarCheckBox">
  381. <property name="toolTip">
  382. <string>L3 / (L1 + L2 + L3)</string>
  383. </property>
  384. <property name="text">
  385. <string>Surface variation</string>
  386. </property>
  387. </widget>
  388. </item>
  389. <item>
  390. <widget class="QCheckBox" name="eigSphericityCheckBox">
  391. <property name="toolTip">
  392. <string>L3 / L1</string>
  393. </property>
  394. <property name="text">
  395. <string>Sphericity</string>
  396. </property>
  397. </widget>
  398. </item>
  399. <item>
  400. <widget class="QCheckBox" name="eigVerticalityCheckBox">
  401. <property name="toolTip">
  402. <string>1 - |Z.N|</string>
  403. </property>
  404. <property name="text">
  405. <string>Verticality</string>
  406. </property>
  407. </widget>
  408. </item>
  409. <item>
  410. <widget class="QCheckBox" name="eigenvalue1CheckBox">
  411. <property name="text">
  412. <string>1st eigenvalue</string>
  413. </property>
  414. </widget>
  415. </item>
  416. <item>
  417. <widget class="QCheckBox" name="eigenvalue2CheckBox">
  418. <property name="text">
  419. <string>2nd eigenvalue</string>
  420. </property>
  421. </widget>
  422. </item>
  423. <item>
  424. <widget class="QCheckBox" name="eigenvalue3CheckBox">
  425. <property name="text">
  426. <string>3rd eigenvalue</string>
  427. </property>
  428. </widget>
  429. </item>
  430. </layout>
  431. </widget>
  432. </item>
  433. <item>
  434. <spacer name="verticalSpacer_2">
  435. <property name="orientation">
  436. <enum>Qt::Vertical</enum>
  437. </property>
  438. <property name="sizeHint" stdset="0">
  439. <size>
  440. <width>20</width>
  441. <height>40</height>
  442. </size>
  443. </property>
  444. </spacer>
  445. </item>
  446. </layout>
  447. </item>
  448. </layout>
  449. </item>
  450. <item>
  451. <spacer name="verticalSpacer_3">
  452. <property name="orientation">
  453. <enum>Qt::Vertical</enum>
  454. </property>
  455. <property name="sizeHint" stdset="0">
  456. <size>
  457. <width>20</width>
  458. <height>6</height>
  459. </size>
  460. </property>
  461. </spacer>
  462. </item>
  463. <item>
  464. <widget class="QDialogButtonBox" name="buttonBox">
  465. <property name="orientation">
  466. <enum>Qt::Horizontal</enum>
  467. </property>
  468. <property name="standardButtons">
  469. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok|QDialogButtonBox::Reset</set>
  470. </property>
  471. </widget>
  472. </item>
  473. </layout>
  474. </widget>
  475. <resources/>
  476. <connections>
  477. <connection>
  478. <sender>buttonBox</sender>
  479. <signal>accepted()</signal>
  480. <receiver>GeomFeaturesDialog</receiver>
  481. <slot>accept()</slot>
  482. <hints>
  483. <hint type="sourcelabel">
  484. <x>248</x>
  485. <y>254</y>
  486. </hint>
  487. <hint type="destinationlabel">
  488. <x>157</x>
  489. <y>274</y>
  490. </hint>
  491. </hints>
  492. </connection>
  493. <connection>
  494. <sender>buttonBox</sender>
  495. <signal>rejected()</signal>
  496. <receiver>GeomFeaturesDialog</receiver>
  497. <slot>reject()</slot>
  498. <hints>
  499. <hint type="sourcelabel">
  500. <x>316</x>
  501. <y>260</y>
  502. </hint>
  503. <hint type="destinationlabel">
  504. <x>286</x>
  505. <y>274</y>
  506. </hint>
  507. </hints>
  508. </connection>
  509. <connection>
  510. <sender>roughnessCheckBox</sender>
  511. <signal>toggled(bool)</signal>
  512. <receiver>upDirGroupBox</receiver>
  513. <slot>setEnabled(bool)</slot>
  514. <hints>
  515. <hint type="sourcelabel">
  516. <x>134</x>
  517. <y>86</y>
  518. </hint>
  519. <hint type="destinationlabel">
  520. <x>134</x>
  521. <y>127</y>
  522. </hint>
  523. </hints>
  524. </connection>
  525. </connections>
  526. </ui>