| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>ClippingBoxRepeatDlg</class>
- <widget class="QDialog" name="ClippingBoxRepeatDlg">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>400</width>
- <height>550</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>Slice extraction</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout">
- <item>
- <widget class="QGroupBox" name="repeatDimGroupBox">
- <property name="toolTip">
- <string>The segmentation process will be repeated along the following dimensions (+/-)</string>
- </property>
- <property name="title">
- <string>Repeat dimensions</string>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout">
- <item>
- <widget class="QCheckBox" name="xRepeatCheckBox">
- <property name="styleSheet">
- <string notr="true">background-color: red;
- color: white;</string>
- </property>
- <property name="text">
- <string notr="true">X</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="yRepeatCheckBox">
- <property name="styleSheet">
- <string notr="true">background-color: green;
- color: white;</string>
- </property>
- <property name="text">
- <string notr="true">Y</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="zRepeatCheckBox">
- <property name="styleSheet">
- <string notr="true">background-color: blue;
- color: white;</string>
- </property>
- <property name="text">
- <string notr="true">Z</string>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="extractSliceEntitiesGroupBox">
- <property name="minimumSize">
- <size>
- <width>0</width>
- <height>30</height>
- </size>
- </property>
- <property name="title">
- <string>Extract slice cloud(s) or mesh(es)</string>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_4">
- <item>
- <widget class="QCheckBox" name="randomColorCheckBox">
- <property name="toolTip">
- <string>If checked, a random color will be assigned to each slice (warning: will overwrite any existing color!)</string>
- </property>
- <property name="text">
- <string>random colors per slice (will overwrite existing colors!)</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="extractEnvelopesGroupBox">
- <property name="toolTip">
- <string>Check that option if you wish to extract the envelope of each slice</string>
- </property>
- <property name="title">
- <string>Extract envelope(s)</string>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="checked">
- <bool>false</bool>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_3">
- <item>
- <layout class="QFormLayout" name="formLayout">
- <item row="0" column="0">
- <widget class="QLabel" name="label_3">
- <property name="text">
- <string>Envelope type</string>
- </property>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="QComboBox" name="envelopeTypeComboBox">
- <property name="toolTip">
- <string>Envelope type (lower or upper part, or both)</string>
- </property>
- <property name="currentIndex">
- <number>2</number>
- </property>
- <item>
- <property name="text">
- <string>Lower</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Upper</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Full</string>
- </property>
- </item>
- </widget>
- </item>
- <item row="1" column="0">
- <widget class="QLabel" name="label_2">
- <property name="text">
- <string>Max edge length</string>
- </property>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="QDoubleSpinBox" name="maxEnvelopeEdgeLengthDoubleSpinBox">
- <property name="toolTip">
- <string>Max edge length (if 0, generates a unique and closed envelope = convex hull)</string>
- </property>
- <property name="decimals">
- <number>6</number>
- </property>
- <property name="maximum">
- <double>1000000000.000000000000000</double>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <widget class="QCheckBox" name="multiPassEnvelopeCheckBox">
- <property name="toolTip">
- <string>Multi-pass process where longer edges may be temporarily created to obtain a better fit... or a worst one ;)</string>
- </property>
- <property name="text">
- <string>multi-pass</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="envProjectPointsOnBestFitCheckBox">
- <property name="toolTip">
- <string>Before extracting the contour, points can be projected along the repeat dimension (if only one is defined) or on the best fit plane</string>
- </property>
- <property name="text">
- <string>project slice(s) points on their best fit plane</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="splitEnvelopeCheckBox">
- <property name="toolTip">
- <string>split the generated contour(s) in smaller parts to avoid creating edges longer than the specified max edge length.</string>
- </property>
- <property name="text">
- <string>split envelope(s) on longer edges</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="envDebugModeCheckBox">
- <property name="toolTip">
- <string>Display a dialog with step-by-step execution of the algorithm (debug mode - very slow)</string>
- </property>
- <property name="text">
- <string>visual debug mode</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="extractLevelSetGroupBox">
- <property name="toolTip">
- <string>Extract the point contours (via a rasterization process)</string>
- </property>
- <property name="title">
- <string>Extract contours</string>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="checked">
- <bool>false</bool>
- </property>
- <layout class="QFormLayout" name="formLayout_2">
- <item row="0" column="0">
- <widget class="QLabel" name="label_4">
- <property name="text">
- <string>Grid step</string>
- </property>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="QDoubleSpinBox" name="lsGridStepDoubleSpinBox">
- <property name="toolTip">
- <string>Step of the internally generated grid obtained by rasterizing the points and exporting the contours</string>
- </property>
- <property name="decimals">
- <number>6</number>
- </property>
- <property name="minimum">
- <double>0.000001000000000</double>
- </property>
- <property name="maximum">
- <double>100000.000000000000000</double>
- </property>
- <property name="value">
- <double>1.000000000000000</double>
- </property>
- </widget>
- </item>
- <item row="1" column="0">
- <widget class="QLabel" name="label_11">
- <property name="text">
- <string>Min. vertex count</string>
- </property>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="QSpinBox" name="minLSVertexCountSpinBox">
- <property name="toolTip">
- <string>Min vertex count per contour (to ignore the smallest ones)</string>
- </property>
- <property name="minimum">
- <number>3</number>
- </property>
- <property name="maximum">
- <number>10000000</number>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="otherOptionsGroupBox">
- <property name="title">
- <string>Other options</string>
- </property>
- <layout class="QFormLayout" name="formLayout_3">
- <item row="0" column="0">
- <widget class="QLabel" name="label">
- <property name="text">
- <string>Gap</string>
- </property>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="QDoubleSpinBox" name="gapDoubleSpinBox">
- <property name="toolTip">
- <string>Gap between the slices</string>
- </property>
- <property name="decimals">
- <number>6</number>
- </property>
- <property name="maximum">
- <double>1000000000.000000000000000</double>
- </property>
- </widget>
- </item>
- <item row="1" column="0">
- <widget class="QLabel" name="label_5">
- <property name="text">
- <string>Group generated entities by</string>
- </property>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="QComboBox" name="groupByTypeComboBox">
- <property name="toolTip">
- <string>How generated slices, envelopes and contours will be regrouped in the DB tree</string>
- </property>
- <property name="currentIndex">
- <number>3</number>
- </property>
- <item>
- <property name="text">
- <string>Type</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Origin entity</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Slice</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Origin entity, then slice</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Slice, then origin entity</string>
- </property>
- </item>
- </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>4</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>ClippingBoxRepeatDlg</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>ClippingBoxRepeatDlg</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>
|