summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_hatire/ftnoir_tracker_hat.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-03-31 05:52:43 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-03-31 05:52:43 +0200
commit6722803ee7e8c34649a351df0ea069ab4065de3a (patch)
treeaaaf13343e087225a6b38982e498c7d50d55f3e9 /ftnoir_tracker_hatire/ftnoir_tracker_hat.h
parentf11305e6d89661f6a8552ff344358d93d09dd4ab (diff)
hatire: minor opentrack API usage updates
Diffstat (limited to 'ftnoir_tracker_hatire/ftnoir_tracker_hat.h')
-rw-r--r--ftnoir_tracker_hatire/ftnoir_tracker_hat.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/ftnoir_tracker_hatire/ftnoir_tracker_hat.h b/ftnoir_tracker_hatire/ftnoir_tracker_hat.h
index ba96d91c..2abeb77d 100644
--- a/ftnoir_tracker_hatire/ftnoir_tracker_hat.h
+++ b/ftnoir_tracker_hatire/ftnoir_tracker_hat.h
@@ -2,8 +2,7 @@
#define FTNOIR_TRACKER_HAT_H
#ifdef OPENTRACK_API
-# include "ftnoir_tracker_base/ftnoir_tracker_base.h"
-# include "facetracknoir/plugin-support.h"
+# include "opentrack/plugin-support.h"
#else
# include "..\ftnoir_tracker_base\ftnoir_tracker_base.h"
#endif
@@ -30,10 +29,10 @@ public:
~FTNoIR_Tracker();
#ifdef OPENTRACK_API
- void StartTracker(QFrame*);
- void GetHeadPoseData(double *data);
- int preferredHz();
- void center();
+ void start_tracker(QFrame*);
+ void data(double *data);
+ int preferredHz(); // unused
+ void center(); // unused
#else
void Initialize( QFrame *videoframe );
void StartTracker(HWND parent_window);
@@ -134,11 +133,16 @@ public:
#ifndef OPENTRACK_API
void Initialize();
#endif
-
+
+#ifdef OPENTRACK_API
+ QString name();
+ QIcon icon();
+#else
void getFullName(QString *strToBeFilled);
void getShortName(QString *strToBeFilled);
void getDescription(QString *strToBeFilled);
void getIcon(QIcon *icon);
+#endif
private:
QString trackerFullName; // Trackers' name and description