702 lines
18 KiB
XML
702 lines
18 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>MainWindow</class>
|
|
<widget class="QMainWindow" name="MainWindow">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>1600</width>
|
|
<height>1200</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>MainWindow</string>
|
|
</property>
|
|
<widget class="QWidget" name="centralwidget">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<item>
|
|
<widget class="Viewport" name="viewport" native="true"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QMenuBar" name="menubar">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>1600</width>
|
|
<height>38</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QStatusBar" name="statusbar"/>
|
|
<widget class="QDockWidget" name="dockWidget">
|
|
<property name="features">
|
|
<set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable</set>
|
|
</property>
|
|
<attribute name="dockWidgetArea">
|
|
<number>2</number>
|
|
</attribute>
|
|
<widget class="QWidget" name="dockWidgetContents">
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox">
|
|
<property name="title">
|
|
<string>Camera</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QLabel" name="cameraYawLabel">
|
|
<property name="text">
|
|
<string>Yaw</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>cameraYaw</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QSlider" name="cameraYaw">
|
|
<property name="minimum">
|
|
<number>-180</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>180</number>
|
|
</property>
|
|
<property name="pageStep">
|
|
<number>15</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>45</number>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="cameraPitchLabel">
|
|
<property name="text">
|
|
<string>Pitch</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>cameraPitch</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QSlider" name="cameraPitch">
|
|
<property name="minimum">
|
|
<number>-90</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>90</number>
|
|
</property>
|
|
<property name="pageStep">
|
|
<number>15</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>35</number>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="cameraDistanceLabel">
|
|
<property name="text">
|
|
<string>Distance</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>cameraDistance</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QSlider" name="cameraDistance">
|
|
<property name="maximum">
|
|
<number>50</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>30</number>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_2">
|
|
<property name="title">
|
|
<string>Light</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
<item>
|
|
<widget class="QLabel" name="lightYawLabel">
|
|
<property name="text">
|
|
<string>Yaw</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>lightYaw</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QSlider" name="lightYaw">
|
|
<property name="minimum">
|
|
<number>-180</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>180</number>
|
|
</property>
|
|
<property name="pageStep">
|
|
<number>15</number>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="lightPitchLabel">
|
|
<property name="text">
|
|
<string>Pitch</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>lightPitch</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QSlider" name="lightPitch">
|
|
<property name="minimum">
|
|
<number>-90</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>90</number>
|
|
</property>
|
|
<property name="pageStep">
|
|
<number>15</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>60</number>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="invertedAppearance">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="lightDistanceLabel">
|
|
<property name="text">
|
|
<string>Distance</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>lightDistance</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QSlider" name="lightDistance">
|
|
<property name="maximum">
|
|
<number>50</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>10</number>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_3">
|
|
<property name="title">
|
|
<string>Lighting</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
|
<item>
|
|
<widget class="QLabel" name="accumSigmaLabel">
|
|
<property name="text">
|
|
<string>Averaging radius</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>accumSigma</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QSlider" name="accumSigma">
|
|
<property name="minimum">
|
|
<number>-100</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>-45</number>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="accumScaleLabel">
|
|
<property name="text">
|
|
<string>Brightness</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>accumScale</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QSlider" name="accumScale">
|
|
<property name="minimum">
|
|
<number>-100</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>-85</number>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>Reflections</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>reflections</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QSpinBox" name="reflections">
|
|
<property name="maximum">
|
|
<number>20</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>2</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="text">
|
|
<string>Use normal at</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="normalFromLight">
|
|
<property name="text">
|
|
<string>Hit position</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="normalFromCamera">
|
|
<property name="text">
|
|
<string>Show position</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_4">
|
|
<property name="title">
|
|
<string>Show</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_5">
|
|
<item>
|
|
<widget class="QCheckBox" name="displayAxes">
|
|
<property name="text">
|
|
<string>Axes</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="displayShapes">
|
|
<property name="text">
|
|
<string>Shapes</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="displayEmitted">
|
|
<property name="text">
|
|
<string>Emitted rays</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="displayDirectHits">
|
|
<property name="text">
|
|
<string>Direct incident rays</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="displayIndirectHits">
|
|
<property name="text">
|
|
<string>Indirect incident rays</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="displayResult">
|
|
<property name="text">
|
|
<string>Average light</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>false</bool>
|
|
</property>
|
|
</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>385</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>Viewport</class>
|
|
<extends>QWidget</extends>
|
|
<header>viewport.hxx</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>cameraYaw</sender>
|
|
<signal>valueChanged(int)</signal>
|
|
<receiver>MainWindow</receiver>
|
|
<slot>updateView()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>1585</x>
|
|
<y>169</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>403</x>
|
|
<y>362</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>cameraPitch</sender>
|
|
<signal>valueChanged(int)</signal>
|
|
<receiver>MainWindow</receiver>
|
|
<slot>updateView()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>1585</x>
|
|
<y>225</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>403</x>
|
|
<y>362</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>lightYaw</sender>
|
|
<signal>valueChanged(int)</signal>
|
|
<receiver>MainWindow</receiver>
|
|
<slot>updateView()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>1585</x>
|
|
<y>385</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>403</x>
|
|
<y>362</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>lightPitch</sender>
|
|
<signal>valueChanged(int)</signal>
|
|
<receiver>MainWindow</receiver>
|
|
<slot>updateView()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>1585</x>
|
|
<y>441</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>403</x>
|
|
<y>362</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>accumSigma</sender>
|
|
<signal>valueChanged(int)</signal>
|
|
<receiver>MainWindow</receiver>
|
|
<slot>updateView()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>1585</x>
|
|
<y>601</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>399</x>
|
|
<y>299</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>accumScale</sender>
|
|
<signal>valueChanged(int)</signal>
|
|
<receiver>MainWindow</receiver>
|
|
<slot>updateView()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>1585</x>
|
|
<y>657</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>399</x>
|
|
<y>299</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>cameraDistance</sender>
|
|
<signal>valueChanged(int)</signal>
|
|
<receiver>MainWindow</receiver>
|
|
<slot>updateView()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>1489</x>
|
|
<y>271</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>799</x>
|
|
<y>599</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>lightDistance</sender>
|
|
<signal>valueChanged(int)</signal>
|
|
<receiver>MainWindow</receiver>
|
|
<slot>updateView()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>1489</x>
|
|
<y>487</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>799</x>
|
|
<y>599</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>displayAxes</sender>
|
|
<signal>stateChanged(int)</signal>
|
|
<receiver>MainWindow</receiver>
|
|
<slot>updateView()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>1489</x>
|
|
<y>799</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>799</x>
|
|
<y>599</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>displayDirectHits</sender>
|
|
<signal>stateChanged(int)</signal>
|
|
<receiver>MainWindow</receiver>
|
|
<slot>updateView()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>1489</x>
|
|
<y>901</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>799</x>
|
|
<y>599</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>displayEmitted</sender>
|
|
<signal>stateChanged(int)</signal>
|
|
<receiver>MainWindow</receiver>
|
|
<slot>updateView()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>1489</x>
|
|
<y>867</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>799</x>
|
|
<y>599</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>displayIndirectHits</sender>
|
|
<signal>stateChanged(int)</signal>
|
|
<receiver>MainWindow</receiver>
|
|
<slot>updateView()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>1489</x>
|
|
<y>935</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>799</x>
|
|
<y>599</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>displayResult</sender>
|
|
<signal>stateChanged(int)</signal>
|
|
<receiver>MainWindow</receiver>
|
|
<slot>updateView()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>1489</x>
|
|
<y>969</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>799</x>
|
|
<y>599</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>displayShapes</sender>
|
|
<signal>stateChanged(int)</signal>
|
|
<receiver>MainWindow</receiver>
|
|
<slot>updateView()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>1489</x>
|
|
<y>833</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>799</x>
|
|
<y>599</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>reflections</sender>
|
|
<signal>valueChanged(int)</signal>
|
|
<receiver>MainWindow</receiver>
|
|
<slot>updateView()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>1489</x>
|
|
<y>712</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>799</x>
|
|
<y>599</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>normalFromLight</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>MainWindow</receiver>
|
|
<slot>updateViewIf(bool)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>1429</x>
|
|
<y>787</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>1381</x>
|
|
<y>783</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>normalFromCamera</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>MainWindow</receiver>
|
|
<slot>updateViewIf(bool)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>1932</x>
|
|
<y>816</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>1600</x>
|
|
<y>874</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
<slots>
|
|
<slot>updateView()</slot>
|
|
<slot>updateViewIf(bool)</slot>
|
|
</slots>
|
|
</ui>
|