summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/facetracknoir.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-04-29 23:30:37 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-04-29 23:30:37 +0200
commitd9c4dade582e506e8b7af5534399bd3a712be2b1 (patch)
treee9826ef16044a082ad76063d03126c54f33faec9 /facetracknoir/facetracknoir.h
parentd54a040cf1ce51641bd74d3d83eae52fd70ec1b6 (diff)
Fix breakage introduced in latest commits
Diffstat (limited to 'facetracknoir/facetracknoir.h')
-rw-r--r--facetracknoir/facetracknoir.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/facetracknoir/facetracknoir.h b/facetracknoir/facetracknoir.h
index b2f1ea27..aa657c0e 100644
--- a/facetracknoir/facetracknoir.h
+++ b/facetracknoir/facetracknoir.h
@@ -63,6 +63,7 @@
#include "ftnoir_filter_base/ftnoir_filter_base.h"
#include "global-settings.h"
+#include "tracker.h"
class Tracker; // pre-define class to avoid circular includes
class FaceTrackNoIR;
@@ -116,6 +117,10 @@ public:
DynamicLibrary* current_filter() {
return dlopen_filters.value(ui.iconcomboFilter->currentIndex(), (DynamicLibrary*) NULL);
}
+ THeadPoseDOF& axis(int idx) {
+ return *pose.axes[idx];
+ }
+
#if defined(_WIN32) || defined(__WIN32)
Key keyCenter, keyZero, keyStartStop, keyInhibit;
KeybindingWorker* keybindingWorker;
@@ -129,6 +134,7 @@ public slots:
void shortcutRecentered();
private:
+ HeadPoseData pose;
Ui::FaceTrackNoIRClass ui;
QTimer timUpdateHeadPose; // Timer to display headpose
QStringList iniFileList; // List of INI-files, that are present in the Settings folder
@@ -207,7 +213,7 @@ private:
};
-class KeyboardShortcutDialog: public QWidget, public Ui::UICKeyboardShortcutDialog
+class KeyboardShortcutDialog: public QWidget
{
Q_OBJECT
public:
@@ -233,7 +239,7 @@ private slots:
};
// Widget that has controls for Keyboard shortcuts.
-class CurveConfigurationDialog: public QWidget, public Ui::UICCurveConfigurationDialog
+class CurveConfigurationDialog: public QWidget
{
Q_OBJECT
public: