| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>InterpolationDlg</class>
- <widget class="QDialog" name="InterpolationDlg">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>400</width>
- <height>260</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>Interpolation</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout">
- <item>
- <widget class="QGroupBox" name="groupBox">
- <property name="title">
- <string>Neighbors extraction</string>
- </property>
- <layout class="QGridLayout" name="gridLayout">
- <item row="1" column="2">
- <widget class="QDoubleSpinBox" name="radiusDoubleSpinBox">
- <property name="toolTip">
- <string>Radius of the sphere inside which neighbors will be extracted</string>
- </property>
- <property name="decimals">
- <number>6</number>
- </property>
- <property name="maximum">
- <double>1000000000.000000000000000</double>
- </property>
- </widget>
- </item>
- <item row="0" column="2">
- <widget class="QRadioButton" name="radiusRadioButton">
- <property name="toolTip">
- <string>Extracts the neighbors inside a sphere</string>
- </property>
- <property name="text">
- <string>Radius (Sphere)</string>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item row="0" column="0">
- <widget class="QRadioButton" name="nnRadioButton">
- <property name="toolTip">
- <string>Use only the nearest neighbor (fast)</string>
- </property>
- <property name="text">
- <string>Nearest neighbor</string>
- </property>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="QRadioButton" name="knnRadioButton">
- <property name="toolTip">
- <string>Use the 'k' nearest neighbors
- (faster than 'radius' based search, but more approximate)</string>
- </property>
- <property name="text">
- <string>Nearest neighbors</string>
- </property>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="QSpinBox" name="knnSpinBox">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="toolTip">
- <string>Number of neighbors to extract</string>
- </property>
- <property name="minimum">
- <number>3</number>
- </property>
- <property name="maximum">
- <number>1000000000</number>
- </property>
- <property name="value">
- <number>8</number>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="algoGroupBox">
- <property name="title">
- <string>Interpolation algorithm</string>
- </property>
- <layout class="QGridLayout" name="gridLayout_2">
- <item row="1" column="0">
- <widget class="QRadioButton" name="medianRadioButton">
- <property name="toolTip">
- <string>Keep the median of the neighbors SF values</string>
- </property>
- <property name="text">
- <string>Median</string>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item row="0" column="0">
- <widget class="QRadioButton" name="averageRadioButton">
- <property name="toolTip">
- <string>Keep the average of the neighbors SF values</string>
- </property>
- <property name="text">
- <string>Average</string>
- </property>
- </widget>
- </item>
- <item row="2" column="0">
- <widget class="QRadioButton" name="normalDistribRadioButton">
- <property name="toolTip">
- <string>Compute a weighted average of the neighbors SF values
- (the weights will follow a Normal distribution)</string>
- </property>
- <property name="text">
- <string>Normal distribution</string>
- </property>
- </widget>
- </item>
- <item row="2" column="1">
- <widget class="QFrame" name="kernelFrame">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout">
- <property name="margin">
- <number>0</number>
- </property>
- <item>
- <spacer name="horizontalSpacer">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>81</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QLabel" name="label">
- <property name="text">
- <string>sigma</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QDoubleSpinBox" name="kernelDoubleSpinBox">
- <property name="toolTip">
- <string>Kernel of the Normal distribution</string>
- </property>
- <property name="decimals">
- <number>6</number>
- </property>
- <property name="maximum">
- <double>1000000000.000000000000000</double>
- </property>
- <property name="value">
- <double>1.000000000000000</double>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <spacer name="verticalSpacer">
- <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="QDialogButtonBox" name="buttonBox">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="standardButtons">
- <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections>
- <connection>
- <sender>buttonBox</sender>
- <signal>accepted()</signal>
- <receiver>InterpolationDlg</receiver>
- <slot>accept()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>248</x>
- <y>254</y>
- </hint>
- <hint type="destinationlabel">
- <x>157</x>
- <y>274</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>buttonBox</sender>
- <signal>rejected()</signal>
- <receiver>InterpolationDlg</receiver>
- <slot>reject()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>316</x>
- <y>260</y>
- </hint>
- <hint type="destinationlabel">
- <x>286</x>
- <y>274</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>knnRadioButton</sender>
- <signal>toggled(bool)</signal>
- <receiver>knnSpinBox</receiver>
- <slot>setEnabled(bool)</slot>
- <hints>
- <hint type="sourcelabel">
- <x>59</x>
- <y>40</y>
- </hint>
- <hint type="destinationlabel">
- <x>37</x>
- <y>64</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>radiusRadioButton</sender>
- <signal>toggled(bool)</signal>
- <receiver>radiusDoubleSpinBox</receiver>
- <slot>setEnabled(bool)</slot>
- <hints>
- <hint type="sourcelabel">
- <x>194</x>
- <y>40</y>
- </hint>
- <hint type="destinationlabel">
- <x>194</x>
- <y>64</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>normalDistribRadioButton</sender>
- <signal>toggled(bool)</signal>
- <receiver>kernelFrame</receiver>
- <slot>setEnabled(bool)</slot>
- <hints>
- <hint type="sourcelabel">
- <x>74</x>
- <y>168</y>
- </hint>
- <hint type="destinationlabel">
- <x>258</x>
- <y>170</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>nnRadioButton</sender>
- <signal>toggled(bool)</signal>
- <receiver>algoGroupBox</receiver>
- <slot>setDisabled(bool)</slot>
- <hints>
- <hint type="sourcelabel">
- <x>76</x>
- <y>40</y>
- </hint>
- <hint type="destinationlabel">
- <x>199</x>
- <y>141</y>
- </hint>
- </hints>
- </connection>
- </connections>
- </ui>
|