diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-10-15 08:52:25 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-10-15 08:52:25 +0200 |
commit | 864910a1fb753629d2852a91ffae4ebba374358c (patch) | |
tree | 7fbee6d32dd5312e592ab3a41219a7daa9cf56ae /FTNoIR_Tracker_PT/ftnoir_tracker_pt.h | |
parent | a73f49c89299ec69dda73e3e7a16cebe76da373e (diff) |
fix trackers for qt5
Assorted changes:
- make filenames unique, since automoc made a boo-boo
- adjust include paths, "QtGui" -> ""
- use std::shared_ptr in c++11 mode (thanks Patrick!)
- make class names unique, automoc sucks, but saves typing
- add a dummy class in one file since moronic automoc thinks
every target contains Q_OBJECTS!!!
Diffstat (limited to 'FTNoIR_Tracker_PT/ftnoir_tracker_pt.h')
-rw-r--r-- | FTNoIR_Tracker_PT/ftnoir_tracker_pt.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/FTNoIR_Tracker_PT/ftnoir_tracker_pt.h b/FTNoIR_Tracker_PT/ftnoir_tracker_pt.h index 7dcfc8bb..2430f5f0 100644 --- a/FTNoIR_Tracker_PT/ftnoir_tracker_pt.h +++ b/FTNoIR_Tracker_PT/ftnoir_tracker_pt.h @@ -11,15 +11,13 @@ #ifdef OPENTRACK_API
# include "ftnoir_tracker_base/ftnoir_tracker_base.h"
# include "facetracknoir/global-settings.h"
-#else
-# include "..\ftnoir_tracker_base\ftnoir_tracker_base.h"
#endif
#include "ftnoir_tracker_pt_settings.h"
#include "frame_observer.h"
#include "camera.h"
#include "point_extractor.h"
#include "point_tracker.h"
-#include "video_widget.h"
+#include "pt_video_widget.h"
#include "timer.h"
#include <QThread>
@@ -82,7 +80,6 @@ protected: // --- tracking chain ---
#ifdef OPENTRACK_API
-#define VideoWidget VideoWidget2
CVCamera camera;
#else
VICamera camera;
@@ -101,7 +98,9 @@ protected: void update_show_video_widget();
bool show_video_widget;
- VideoWidget* video_widget;
+#ifdef OPENTRACK_API
+ PTVideoWidget* video_widget;
+#endif
QFrame* video_frame;
// --- misc ---
|