| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>GlobalShiftSettingsDialog</class>
- <widget class="QDialog" name="GlobalShiftSettingsDialog">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>370</width>
- <height>280</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>Global Shift settings</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout">
- <item>
- <widget class="QPlainTextEdit" name="plainTextEdit">
- <property name="styleSheet">
- <string notr="true">color: grey; font-style: italic;</string>
- </property>
- <property name="readOnly">
- <bool>true</bool>
- </property>
- <property name="plainText">
- <string>The Global Shift & Scale mechanism aims at reducing the loss of precision when working with big coordinates.
- As CloudCompare and most graphic cards work with 32 bits floating point values, their resolution and the computation precision is limited. The bigger the numbers the less resolute they are.
- Here below you can set the limits above which the 'Global Shift & Scale' mechanism will be triggered.
- Note: the diagonal is not tested at loading time.</string>
- </property>
- <property name="textInteractionFlags">
- <set>Qt::NoTextInteraction</set>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="label_3">
- <property name="text">
- <string>Global Shift & Scale triggering limits:</string>
- </property>
- </widget>
- </item>
- <item>
- <layout class="QFormLayout" name="formLayout">
- <item row="0" column="0">
- <widget class="QLabel" name="label">
- <property name="text">
- <string>Max absolute coordinate</string>
- </property>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="QSpinBox" name="maxAbsCoordSpinBox">
- <property name="toolTip">
- <string>CloudCompare will suggest to apply a Global Shift to the loaded entities if their coordinates are above this limit</string>
- </property>
- <property name="suffix">
- <string/>
- </property>
- <property name="prefix">
- <string notr="true">10^</string>
- </property>
- <property name="minimum">
- <number>2</number>
- </property>
- <property name="maximum">
- <number>12</number>
- </property>
- <property name="value">
- <number>4</number>
- </property>
- </widget>
- </item>
- <item row="1" column="0">
- <widget class="QLabel" name="label_2">
- <property name="text">
- <string>Max entity diagonal</string>
- </property>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="QSpinBox" name="maxAbsDiagSpinBox">
- <property name="toolTip">
- <string>CloudCompare will suggest to apply a Global Scale to the loaded entities if their bounding-box diagonal is above this limit</string>
- </property>
- <property name="suffix">
- <string/>
- </property>
- <property name="prefix">
- <string notr="true">10^</string>
- </property>
- <property name="minimum">
- <number>2</number>
- </property>
- <property name="maximum">
- <number>12</number>
- </property>
- <property name="value">
- <number>6</number>
- </property>
- </widget>
- </item>
- </layout>
- </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>GlobalShiftSettingsDialog</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>GlobalShiftSettingsDialog</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>
- </connections>
- </ui>
|