summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/tracker.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-10-11 20:26:34 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-10-11 20:26:34 +0200
commite8f28d843af7b181593e58eaaea16816699b8d76 (patch)
tree5469f39ead71bd1d73d0a131cf1cff7edd70d7db /facetracknoir/tracker.h
parent42f13fed362891c5ca8f4d6f7ed070cbd09dd846 (diff)
cleanup includes
Diffstat (limited to 'facetracknoir/tracker.h')
-rw-r--r--facetracknoir/tracker.h31
1 files changed, 11 insertions, 20 deletions
diff --git a/facetracknoir/tracker.h b/facetracknoir/tracker.h
index 5f9639b2..d65e1cf1 100644
--- a/facetracknoir/tracker.h
+++ b/facetracknoir/tracker.h
@@ -1,27 +1,19 @@
-#ifndef __TRACKER_H__
-#define __TRACKER_H__
+#pragma once
-#include <QThread>
-#include <QMessageBox>
-#include <QLineEdit>
-#include <QPoint>
-#include <QWaitCondition>
-#include <QList>
-#include <QPainterPath>
-#include <QDebug>
-#include <QMutex>
+#include <atomic>
+#include <vector>
+
+#include "./timer.hpp"
#include "./plugin-support.h"
#include "./mappings.hpp"
#include "./pose.hpp"
-#include <vector>
-#include <atomic>
+#include "../qfunctionconfigurator/functionconfig.h"
+#include "./main-settings.hpp"
+#include "./options.h"
-#include <qfunctionconfigurator/functionconfig.h>
-#include "./quat.hpp"
-#include "facetracknoir/main-settings.hpp"
-#include "facetracknoir/options.h"
-#include "facetracknoir/timer.hpp"
+#include <QMutex>
+#include <QThread>
class Tracker : protected QThread {
Q_OBJECT
@@ -46,7 +38,6 @@ public:
void get_raw_and_mapped_poses(double* mapped, double* raw) const;
void start() { QThread::start(); }
- void center() { centerp.store(true); }
void toggle_enabled() { enabledp.store(!enabledp.load()); }
+ void center() { centerp.store(!centerp.load()); }
};
-#endif