matchScalesDlg.ui 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>MatchScalesDialog</class>
  4. <widget class="QDialog" name="MatchScalesDialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>400</width>
  10. <height>500</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Match scales</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout_3">
  17. <item>
  18. <widget class="QGroupBox" name="groupBox">
  19. <property name="toolTip">
  20. <string>Choose the reference entity (its scale won't change)</string>
  21. </property>
  22. <property name="title">
  23. <string>Reference entity</string>
  24. </property>
  25. <layout class="QVBoxLayout" name="verticalLayout_2">
  26. <item>
  27. <widget class="QListWidget" name="listWidget"/>
  28. </item>
  29. </layout>
  30. </widget>
  31. </item>
  32. <item>
  33. <widget class="QGroupBox" name="groupBox_2">
  34. <property name="title">
  35. <string>Matching criterion</string>
  36. </property>
  37. <layout class="QVBoxLayout" name="verticalLayout">
  38. <item>
  39. <widget class="QRadioButton" name="bbMaxDimRadioButton">
  40. <property name="toolTip">
  41. <string>The scaling ratio will be deduced from the largest bounding-box dimension</string>
  42. </property>
  43. <property name="text">
  44. <string>max bounding-box dimension</string>
  45. </property>
  46. </widget>
  47. </item>
  48. <item>
  49. <widget class="QRadioButton" name="bbVolumeRadioButton">
  50. <property name="toolTip">
  51. <string>The scaling ratio will be deduced from the bounding-box volume</string>
  52. </property>
  53. <property name="text">
  54. <string>bounding-box volume</string>
  55. </property>
  56. </widget>
  57. </item>
  58. <item>
  59. <widget class="QRadioButton" name="pcaRadioButton">
  60. <property name="toolTip">
  61. <string>The scaling ratio will be deduced from the principal cloud dimension (by PCA analysis)</string>
  62. </property>
  63. <property name="text">
  64. <string>principal dimension (PCA)</string>
  65. </property>
  66. <property name="checked">
  67. <bool>true</bool>
  68. </property>
  69. </widget>
  70. </item>
  71. <item>
  72. <widget class="QRadioButton" name="icpRadioButton">
  73. <property name="toolTip">
  74. <string>The scaling ratio will be deduced from automatic registration (with unconstrained scale).
  75. Should be used after one of the previous methods!</string>
  76. </property>
  77. <property name="text">
  78. <string>ICP (only the scale will be applied)</string>
  79. </property>
  80. </widget>
  81. </item>
  82. </layout>
  83. </widget>
  84. </item>
  85. <item>
  86. <widget class="QGroupBox" name="icpGroupBox">
  87. <property name="enabled">
  88. <bool>false</bool>
  89. </property>
  90. <property name="toolTip">
  91. <string>Parameters for ICP registration</string>
  92. </property>
  93. <property name="title">
  94. <string>ICP parameters</string>
  95. </property>
  96. <layout class="QFormLayout" name="formLayout">
  97. <item row="0" column="0">
  98. <widget class="QLabel" name="label_2">
  99. <property name="text">
  100. <string>RMS difference</string>
  101. </property>
  102. </widget>
  103. </item>
  104. <item row="0" column="1">
  105. <widget class="QLineEdit" name="rmsDifferenceLineEdit">
  106. <property name="sizePolicy">
  107. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  108. <horstretch>0</horstretch>
  109. <verstretch>0</verstretch>
  110. </sizepolicy>
  111. </property>
  112. <property name="toolTip">
  113. <string>Set the minimum RMS improvement between 2 consecutive iterations (below which the registration process will stop).</string>
  114. </property>
  115. <property name="layoutDirection">
  116. <enum>Qt::RightToLeft</enum>
  117. </property>
  118. <property name="text">
  119. <string notr="true">1.0e-5</string>
  120. </property>
  121. <property name="alignment">
  122. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  123. </property>
  124. </widget>
  125. </item>
  126. <item row="1" column="1">
  127. <widget class="QSpinBox" name="overlapSpinBox">
  128. <property name="toolTip">
  129. <string>Rough estimation of the final overlap ratio of the data cloud (the smaller, the better the initial registration should be!)</string>
  130. </property>
  131. <property name="alignment">
  132. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  133. </property>
  134. <property name="suffix">
  135. <string notr="true">%</string>
  136. </property>
  137. <property name="minimum">
  138. <number>1</number>
  139. </property>
  140. <property name="maximum">
  141. <number>100</number>
  142. </property>
  143. <property name="singleStep">
  144. <number>10</number>
  145. </property>
  146. <property name="value">
  147. <number>100</number>
  148. </property>
  149. </widget>
  150. </item>
  151. <item row="1" column="0">
  152. <widget class="QLabel" name="label_4">
  153. <property name="toolTip">
  154. <string>Rough estimation of the final overlap ratio of the data cloud (the smaller, the better the initial registration should be!)</string>
  155. </property>
  156. <property name="text">
  157. <string>Final overlap</string>
  158. </property>
  159. </widget>
  160. </item>
  161. </layout>
  162. </widget>
  163. </item>
  164. <item>
  165. <widget class="QDialogButtonBox" name="buttonBox">
  166. <property name="orientation">
  167. <enum>Qt::Horizontal</enum>
  168. </property>
  169. <property name="standardButtons">
  170. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  171. </property>
  172. </widget>
  173. </item>
  174. </layout>
  175. </widget>
  176. <resources/>
  177. <connections>
  178. <connection>
  179. <sender>buttonBox</sender>
  180. <signal>accepted()</signal>
  181. <receiver>MatchScalesDialog</receiver>
  182. <slot>accept()</slot>
  183. <hints>
  184. <hint type="sourcelabel">
  185. <x>248</x>
  186. <y>254</y>
  187. </hint>
  188. <hint type="destinationlabel">
  189. <x>157</x>
  190. <y>274</y>
  191. </hint>
  192. </hints>
  193. </connection>
  194. <connection>
  195. <sender>buttonBox</sender>
  196. <signal>rejected()</signal>
  197. <receiver>MatchScalesDialog</receiver>
  198. <slot>reject()</slot>
  199. <hints>
  200. <hint type="sourcelabel">
  201. <x>316</x>
  202. <y>260</y>
  203. </hint>
  204. <hint type="destinationlabel">
  205. <x>286</x>
  206. <y>274</y>
  207. </hint>
  208. </hints>
  209. </connection>
  210. <connection>
  211. <sender>icpRadioButton</sender>
  212. <signal>toggled(bool)</signal>
  213. <receiver>icpGroupBox</receiver>
  214. <slot>setEnabled(bool)</slot>
  215. <hints>
  216. <hint type="sourcelabel">
  217. <x>120</x>
  218. <y>120</y>
  219. </hint>
  220. <hint type="destinationlabel">
  221. <x>135</x>
  222. <y>205</y>
  223. </hint>
  224. </hints>
  225. </connection>
  226. </connections>
  227. </ui>