diff options
author | Wim Vriend <facetracknoir@gmail.com> | 2011-10-04 19:59:49 +0000 |
---|---|---|
committer | Wim Vriend <facetracknoir@gmail.com> | 2011-10-04 19:59:49 +0000 |
commit | c802311ccbf6b3d7c3bffd19be84711205655f17 (patch) | |
tree | b01102343cf939bebffde16c0bf63df2f5e19b7a | |
parent | 1ef199b2369d78558df6c706592ae1def10adfd7 (diff) |
Fiddling with Reverse Axis: UI.
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@90 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
-rw-r--r-- | FaceTrackNoIR/FTNoIR_KeyboardShortcuts.ui | 126 | ||||
-rw-r--r-- | FaceTrackNoIR/tracker.cpp | 3 |
2 files changed, 127 insertions, 2 deletions
diff --git a/FaceTrackNoIR/FTNoIR_KeyboardShortcuts.ui b/FaceTrackNoIR/FTNoIR_KeyboardShortcuts.ui index 2de9eede..39a3de0d 100644 --- a/FaceTrackNoIR/FTNoIR_KeyboardShortcuts.ui +++ b/FaceTrackNoIR/FTNoIR_KeyboardShortcuts.ui @@ -7,7 +7,7 @@ <x>0</x>
<y>0</y>
<width>558</width>
- <height>308</height>
+ <height>404</height>
</rect>
</property>
<property name="windowTitle">
@@ -552,6 +552,130 @@ </layout>
</item>
<item>
+ <widget class="Line" name="line">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout_5">
+ <item>
+ <layout class="QGridLayout" name="gridLayout_2">
+ <item row="1" column="1">
+ <widget class="QLabel" name="lblYawAngle4ReverseAxis">
+ <property name="text">
+ <string>Yaw angle for Reverse Axis</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="2">
+ <widget class="QSpinBox" name="spinYawAngle4ReverseAxis">
+ <property name="maximumSize">
+ <size>
+ <width>40</width>
+ <height>16777215</height>
+ </size>
+ </property>
+ <property name="maximum">
+ <number>90</number>
+ </property>
+ <property name="value">
+ <number>45</number>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="7">
+ <spacer name="horizontalSpacer_4">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>40</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item row="1" column="3">
+ <widget class="QLabel" name="lblYawAngle4ReverseAxisEgu">
+ <property name="text">
+ <string>degrees</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="1">
+ <widget class="QLabel" name="lblZ_Pos4ReverseAxis">
+ <property name="text">
+ <string>Yaw angle for Reverse Axis</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="2">
+ <widget class="QSpinBox" name="spinZ_Pos4ReverseAxis">
+ <property name="maximumSize">
+ <size>
+ <width>40</width>
+ <height>16777215</height>
+ </size>
+ </property>
+ <property name="minimum">
+ <number>-50</number>
+ </property>
+ <property name="maximum">
+ <number>50</number>
+ </property>
+ <property name="value">
+ <number>-20</number>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="3">
+ <widget class="QLabel" name="lblZ_Pos4ReverseAxisEgu">
+ <property name="text">
+ <string>cm</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="4">
+ <widget class="QLabel" name="label_7">
+ <property name="text">
+ <string>When Reverse:</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="5">
+ <widget class="QSpinBox" name="spinZ_PosWhenReverseAxis">
+ <property name="maximumSize">
+ <size>
+ <width>40</width>
+ <height>16777215</height>
+ </size>
+ </property>
+ <property name="minimum">
+ <number>-50</number>
+ </property>
+ <property name="maximum">
+ <number>50</number>
+ </property>
+ <property name="value">
+ <number>-20</number>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="6">
+ <widget class="QLabel" name="lblZ_PosWhenReverseAxisEgu">
+ <property name="text">
+ <string>cm</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </item>
+ <item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
diff --git a/FaceTrackNoIR/tracker.cpp b/FaceTrackNoIR/tracker.cpp index 799c274e..5f67352a 100644 --- a/FaceTrackNoIR/tracker.cpp +++ b/FaceTrackNoIR/tracker.cpp @@ -351,7 +351,8 @@ T6DOF offset_camera(0,0,0,0,0,0); T6DOF gamezero_camera(0,0,0,0,0,0);
T6DOF gameoutput_camera(0,0,0,0,0,0);
- Tracker::do_center = true; // Center initially
+ Tracker::do_tracking = true; // Start initially
+ Tracker::do_center = true; // Center initially
current_camera.initHeadPoseData();
target_camera.initHeadPoseData();
|