alignDlg.ui 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>AlignDialog</class>
  4. <widget class="QDialog" name="AlignDialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>600</width>
  10. <height>361</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Clouds alignment</string>
  15. </property>
  16. <layout class="QHBoxLayout" name="horizontalLayout_13">
  17. <item>
  18. <layout class="QVBoxLayout" name="verticalLayout_7">
  19. <item>
  20. <widget class="QGroupBox" name="groupBox_5">
  21. <property name="sizePolicy">
  22. <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
  23. <horstretch>0</horstretch>
  24. <verstretch>0</verstretch>
  25. </sizepolicy>
  26. </property>
  27. <property name="minimumSize">
  28. <size>
  29. <width>320</width>
  30. <height>0</height>
  31. </size>
  32. </property>
  33. <property name="title">
  34. <string>Model and data</string>
  35. </property>
  36. <layout class="QVBoxLayout" name="verticalLayout_5">
  37. <item>
  38. <layout class="QHBoxLayout" name="horizontalLayout_6">
  39. <item>
  40. <widget class="QToolButton" name="dataColorButton">
  41. <property name="enabled">
  42. <bool>false</bool>
  43. </property>
  44. </widget>
  45. </item>
  46. <item>
  47. <widget class="QLabel" name="label_10">
  48. <property name="text">
  49. <string>Data:</string>
  50. </property>
  51. </widget>
  52. </item>
  53. <item>
  54. <widget class="QLineEdit" name="dataCloud">
  55. <property name="toolTip">
  56. <string>the data cloud is the entity to align with the model cloud: it will be displaced (green cloud)</string>
  57. </property>
  58. <property name="readOnly">
  59. <bool>true</bool>
  60. </property>
  61. </widget>
  62. </item>
  63. </layout>
  64. </item>
  65. <item>
  66. <layout class="QHBoxLayout" name="horizontalLayout_11">
  67. <item>
  68. <widget class="QToolButton" name="modelColorButton">
  69. <property name="enabled">
  70. <bool>false</bool>
  71. </property>
  72. </widget>
  73. </item>
  74. <item>
  75. <widget class="QLabel" name="label_9">
  76. <property name="text">
  77. <string>Model:</string>
  78. </property>
  79. </widget>
  80. </item>
  81. <item>
  82. <widget class="QLineEdit" name="modelCloud">
  83. <property name="toolTip">
  84. <string>the model cloud is the reference: it won't move (red cloud)</string>
  85. </property>
  86. <property name="readOnly">
  87. <bool>true</bool>
  88. </property>
  89. </widget>
  90. </item>
  91. </layout>
  92. </item>
  93. <item>
  94. <layout class="QHBoxLayout" name="horizontalLayout_12">
  95. <item>
  96. <spacer name="horizontalSpacer_5">
  97. <property name="orientation">
  98. <enum>Qt::Horizontal</enum>
  99. </property>
  100. <property name="sizeHint" stdset="0">
  101. <size>
  102. <width>40</width>
  103. <height>20</height>
  104. </size>
  105. </property>
  106. </spacer>
  107. </item>
  108. <item>
  109. <widget class="QPushButton" name="swapButton">
  110. <property name="toolTip">
  111. <string>press once to exchange model and data clouds</string>
  112. </property>
  113. <property name="statusTip">
  114. <string>press once to exchange model and data clouds</string>
  115. </property>
  116. <property name="text">
  117. <string>swap</string>
  118. </property>
  119. <property name="flat">
  120. <bool>false</bool>
  121. </property>
  122. </widget>
  123. </item>
  124. </layout>
  125. </item>
  126. </layout>
  127. </widget>
  128. </item>
  129. <item>
  130. <widget class="QGroupBox" name="groupBox">
  131. <property name="sizePolicy">
  132. <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
  133. <horstretch>0</horstretch>
  134. <verstretch>0</verstretch>
  135. </sizepolicy>
  136. </property>
  137. <property name="minimumSize">
  138. <size>
  139. <width>320</width>
  140. <height>0</height>
  141. </size>
  142. </property>
  143. <property name="title">
  144. <string>Alignment parameters</string>
  145. </property>
  146. <layout class="QVBoxLayout" name="verticalLayout">
  147. <item>
  148. <layout class="QHBoxLayout" name="horizontalLayout_8">
  149. <item>
  150. <widget class="QLabel" name="label">
  151. <property name="text">
  152. <string>Number of trials:</string>
  153. </property>
  154. </widget>
  155. </item>
  156. <item>
  157. <widget class="QSpinBox" name="nbTries">
  158. <property name="toolTip">
  159. <string>Number of 4 points bases tested to find the best rigid transform. Great values may lead to long computation time.</string>
  160. </property>
  161. <property name="alignment">
  162. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  163. </property>
  164. <property name="minimum">
  165. <number>1</number>
  166. </property>
  167. <property name="maximum">
  168. <number>999999</number>
  169. </property>
  170. <property name="value">
  171. <number>50</number>
  172. </property>
  173. </widget>
  174. </item>
  175. </layout>
  176. </item>
  177. <item>
  178. <layout class="QHBoxLayout" name="horizontalLayout_9">
  179. <item>
  180. <widget class="QLabel" name="label_2">
  181. <property name="text">
  182. <string>Overlap:</string>
  183. </property>
  184. </widget>
  185. </item>
  186. <item>
  187. <widget class="QDoubleSpinBox" name="overlap">
  188. <property name="toolTip">
  189. <string>Rough estimation of the two clouds overlap rate (between 0 and 1)</string>
  190. </property>
  191. <property name="alignment">
  192. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  193. </property>
  194. <property name="minimum">
  195. <double>0.010000000000000</double>
  196. </property>
  197. <property name="maximum">
  198. <double>1.000000000000000</double>
  199. </property>
  200. <property name="singleStep">
  201. <double>0.100000000000000</double>
  202. </property>
  203. <property name="value">
  204. <double>1.000000000000000</double>
  205. </property>
  206. </widget>
  207. </item>
  208. </layout>
  209. </item>
  210. <item>
  211. <layout class="QHBoxLayout" name="horizontalLayout_10">
  212. <item>
  213. <widget class="QLabel" name="label_3">
  214. <property name="text">
  215. <string>Delta:</string>
  216. </property>
  217. </widget>
  218. </item>
  219. <item>
  220. <widget class="QDoubleSpinBox" name="delta">
  221. <property name="toolTip">
  222. <string>Estimation of the distance wished between the two clouds after registration.</string>
  223. </property>
  224. <property name="alignment">
  225. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  226. </property>
  227. <property name="maximum">
  228. <double>9999.989999999999782</double>
  229. </property>
  230. <property name="singleStep">
  231. <double>0.100000000000000</double>
  232. </property>
  233. <property name="value">
  234. <double>1.000000000000000</double>
  235. </property>
  236. </widget>
  237. </item>
  238. <item>
  239. <widget class="QPushButton" name="deltaEstimation">
  240. <property name="toolTip">
  241. <string>The computer will estimate the best delta parameter</string>
  242. </property>
  243. <property name="statusTip">
  244. <string>The computer will estimate the best delta parameter</string>
  245. </property>
  246. <property name="text">
  247. <string>Estimate</string>
  248. </property>
  249. </widget>
  250. </item>
  251. </layout>
  252. </item>
  253. <item>
  254. <layout class="QHBoxLayout" name="horizontalLayout_7">
  255. <item>
  256. <widget class="QCheckBox" name="isNbCandLimited">
  257. <property name="toolTip">
  258. <string>For each attempt (see above parameter), candidate bases are found. If there are too much candidates, the program may take a long time to finish. Check this box to bound the number of candidates.</string>
  259. </property>
  260. <property name="text">
  261. <string>Limit max. number of candidates</string>
  262. </property>
  263. </widget>
  264. </item>
  265. <item>
  266. <widget class="QSpinBox" name="nbMaxCandidates">
  267. <property name="toolTip">
  268. <string>Maximal number of candidates allowed (check the left box to use this parameter)</string>
  269. </property>
  270. <property name="alignment">
  271. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  272. </property>
  273. <property name="maximum">
  274. <number>9999999</number>
  275. </property>
  276. <property name="value">
  277. <number>2000</number>
  278. </property>
  279. </widget>
  280. </item>
  281. </layout>
  282. </item>
  283. </layout>
  284. </widget>
  285. </item>
  286. <item>
  287. <spacer name="verticalSpacer">
  288. <property name="orientation">
  289. <enum>Qt::Vertical</enum>
  290. </property>
  291. <property name="sizeHint" stdset="0">
  292. <size>
  293. <width>20</width>
  294. <height>40</height>
  295. </size>
  296. </property>
  297. </spacer>
  298. </item>
  299. </layout>
  300. </item>
  301. <item>
  302. <layout class="QVBoxLayout" name="verticalLayout_6">
  303. <item>
  304. <widget class="QGroupBox" name="groupBox_2">
  305. <property name="title">
  306. <string>Sampling</string>
  307. </property>
  308. <layout class="QVBoxLayout" name="verticalLayout_4">
  309. <item>
  310. <layout class="QHBoxLayout" name="horizontalLayout_5">
  311. <item>
  312. <widget class="QLabel" name="label_4">
  313. <property name="text">
  314. <string>Method:</string>
  315. </property>
  316. </widget>
  317. </item>
  318. <item>
  319. <widget class="QComboBox" name="samplingMethod"/>
  320. </item>
  321. </layout>
  322. </item>
  323. <item>
  324. <widget class="QGroupBox" name="groupBox_3">
  325. <property name="title">
  326. <string>Data</string>
  327. </property>
  328. <layout class="QVBoxLayout" name="verticalLayout_2">
  329. <property name="leftMargin">
  330. <number>6</number>
  331. </property>
  332. <property name="topMargin">
  333. <number>6</number>
  334. </property>
  335. <property name="rightMargin">
  336. <number>6</number>
  337. </property>
  338. <property name="bottomMargin">
  339. <number>6</number>
  340. </property>
  341. <item>
  342. <layout class="QHBoxLayout" name="horizontalLayout">
  343. <item>
  344. <widget class="QLabel" name="label_7">
  345. <property name="text">
  346. <string>None</string>
  347. </property>
  348. <property name="alignment">
  349. <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
  350. </property>
  351. </widget>
  352. </item>
  353. <item>
  354. <spacer name="horizontalSpacer">
  355. <property name="orientation">
  356. <enum>Qt::Horizontal</enum>
  357. </property>
  358. <property name="sizeHint" stdset="0">
  359. <size>
  360. <width>40</width>
  361. <height>20</height>
  362. </size>
  363. </property>
  364. </spacer>
  365. </item>
  366. <item>
  367. <widget class="QLabel" name="label_8">
  368. <property name="text">
  369. <string>All</string>
  370. </property>
  371. <property name="alignment">
  372. <set>Qt::AlignBottom|Qt::AlignRight|Qt::AlignTrailing</set>
  373. </property>
  374. </widget>
  375. </item>
  376. </layout>
  377. </item>
  378. <item>
  379. <widget class="QSlider" name="dataSample">
  380. <property name="toolTip">
  381. <string>Move to the left (none) to decrease the number of points to keep in the data cloud.</string>
  382. </property>
  383. <property name="statusTip">
  384. <string>Move to the left (none) to decrease the number of points to keep in the data cloud.</string>
  385. </property>
  386. <property name="maximum">
  387. <number>10000000</number>
  388. </property>
  389. <property name="value">
  390. <number>1000</number>
  391. </property>
  392. <property name="orientation">
  393. <enum>Qt::Horizontal</enum>
  394. </property>
  395. </widget>
  396. </item>
  397. <item>
  398. <layout class="QHBoxLayout" name="horizontalLayout_2">
  399. <item>
  400. <spacer name="horizontalSpacer_4">
  401. <property name="orientation">
  402. <enum>Qt::Horizontal</enum>
  403. </property>
  404. <property name="sizeHint" stdset="0">
  405. <size>
  406. <width>40</width>
  407. <height>20</height>
  408. </size>
  409. </property>
  410. </spacer>
  411. </item>
  412. <item>
  413. <widget class="QDoubleSpinBox" name="dataSamplingRate">
  414. <property name="alignment">
  415. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  416. </property>
  417. <property name="decimals">
  418. <number>4</number>
  419. </property>
  420. <property name="maximum">
  421. <double>100.000000000000000</double>
  422. </property>
  423. <property name="singleStep">
  424. <double>0.010000000000000</double>
  425. </property>
  426. <property name="value">
  427. <double>100.000000000000000</double>
  428. </property>
  429. </widget>
  430. </item>
  431. <item>
  432. <widget class="QLabel" name="dataRemaining">
  433. <property name="text">
  434. <string>remaining points</string>
  435. </property>
  436. </widget>
  437. </item>
  438. </layout>
  439. </item>
  440. </layout>
  441. </widget>
  442. </item>
  443. <item>
  444. <widget class="QGroupBox" name="groupBox_4">
  445. <property name="title">
  446. <string>Model</string>
  447. </property>
  448. <layout class="QVBoxLayout" name="verticalLayout_3">
  449. <property name="leftMargin">
  450. <number>6</number>
  451. </property>
  452. <property name="topMargin">
  453. <number>6</number>
  454. </property>
  455. <property name="rightMargin">
  456. <number>6</number>
  457. </property>
  458. <property name="bottomMargin">
  459. <number>6</number>
  460. </property>
  461. <item>
  462. <layout class="QHBoxLayout" name="horizontalLayout_4">
  463. <item>
  464. <widget class="QLabel" name="label_6">
  465. <property name="text">
  466. <string>None</string>
  467. </property>
  468. <property name="alignment">
  469. <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
  470. </property>
  471. </widget>
  472. </item>
  473. <item>
  474. <spacer name="horizontalSpacer_3">
  475. <property name="orientation">
  476. <enum>Qt::Horizontal</enum>
  477. </property>
  478. <property name="sizeHint" stdset="0">
  479. <size>
  480. <width>40</width>
  481. <height>20</height>
  482. </size>
  483. </property>
  484. </spacer>
  485. </item>
  486. <item>
  487. <widget class="QLabel" name="label_5">
  488. <property name="text">
  489. <string>All</string>
  490. </property>
  491. <property name="alignment">
  492. <set>Qt::AlignBottom|Qt::AlignRight|Qt::AlignTrailing</set>
  493. </property>
  494. </widget>
  495. </item>
  496. </layout>
  497. </item>
  498. <item>
  499. <widget class="QSlider" name="modelSample">
  500. <property name="toolTip">
  501. <string>Move to the left (none) to decrease the number of points to keep in the model cloud.</string>
  502. </property>
  503. <property name="statusTip">
  504. <string>Move to the left (none) to decrease the number of points to keep in the model cloud.</string>
  505. </property>
  506. <property name="maximum">
  507. <number>10000000</number>
  508. </property>
  509. <property name="value">
  510. <number>1000</number>
  511. </property>
  512. <property name="orientation">
  513. <enum>Qt::Horizontal</enum>
  514. </property>
  515. </widget>
  516. </item>
  517. <item>
  518. <layout class="QHBoxLayout" name="horizontalLayout_3">
  519. <item>
  520. <spacer name="horizontalSpacer_2">
  521. <property name="orientation">
  522. <enum>Qt::Horizontal</enum>
  523. </property>
  524. <property name="sizeHint" stdset="0">
  525. <size>
  526. <width>40</width>
  527. <height>20</height>
  528. </size>
  529. </property>
  530. </spacer>
  531. </item>
  532. <item>
  533. <widget class="QDoubleSpinBox" name="modelSamplingRate">
  534. <property name="alignment">
  535. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  536. </property>
  537. <property name="decimals">
  538. <number>4</number>
  539. </property>
  540. <property name="maximum">
  541. <double>100.000000000000000</double>
  542. </property>
  543. <property name="singleStep">
  544. <double>0.010000000000000</double>
  545. </property>
  546. <property name="value">
  547. <double>100.000000000000000</double>
  548. </property>
  549. </widget>
  550. </item>
  551. <item>
  552. <widget class="QLabel" name="modelRemaining">
  553. <property name="text">
  554. <string>remaining points</string>
  555. </property>
  556. </widget>
  557. </item>
  558. </layout>
  559. </item>
  560. </layout>
  561. </widget>
  562. </item>
  563. </layout>
  564. </widget>
  565. </item>
  566. <item>
  567. <widget class="QDialogButtonBox" name="buttonBox">
  568. <property name="orientation">
  569. <enum>Qt::Horizontal</enum>
  570. </property>
  571. <property name="standardButtons">
  572. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  573. </property>
  574. </widget>
  575. </item>
  576. </layout>
  577. </item>
  578. </layout>
  579. </widget>
  580. <resources/>
  581. <connections>
  582. <connection>
  583. <sender>buttonBox</sender>
  584. <signal>accepted()</signal>
  585. <receiver>AlignDialog</receiver>
  586. <slot>accept()</slot>
  587. <hints>
  588. <hint type="sourcelabel">
  589. <x>248</x>
  590. <y>254</y>
  591. </hint>
  592. <hint type="destinationlabel">
  593. <x>157</x>
  594. <y>274</y>
  595. </hint>
  596. </hints>
  597. </connection>
  598. <connection>
  599. <sender>buttonBox</sender>
  600. <signal>rejected()</signal>
  601. <receiver>AlignDialog</receiver>
  602. <slot>reject()</slot>
  603. <hints>
  604. <hint type="sourcelabel">
  605. <x>316</x>
  606. <y>260</y>
  607. </hint>
  608. <hint type="destinationlabel">
  609. <x>286</x>
  610. <y>274</y>
  611. </hint>
  612. </hints>
  613. </connection>
  614. </connections>
  615. </ui>