summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/ftnoir_tracker_pt.h
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-pt/ftnoir_tracker_pt.h')
-rw-r--r--tracker-pt/ftnoir_tracker_pt.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/tracker-pt/ftnoir_tracker_pt.h b/tracker-pt/ftnoir_tracker_pt.h
index 489175e4..31bdc6bb 100644
--- a/tracker-pt/ftnoir_tracker_pt.h
+++ b/tracker-pt/ftnoir_tracker_pt.h
@@ -9,12 +9,9 @@
#pragma once
#include "api/plugin-api.hpp"
-
-#include "cv/numeric.hpp"
-
#include "pt-api.hpp"
#include "point_tracker.h"
-#include "cv/video-widget.hpp"
+#include "cv/numeric.hpp"
#include <atomic>
#include <memory>
@@ -25,9 +22,9 @@
#include <QThread>
#include <QMutex>
#include <QLayout>
-#include <QTimer>
class TrackerDialog_PT;
+class cv_video_widget;
namespace pt_module {
@@ -40,10 +37,9 @@ class Tracker_PT : public QThread, public ITracker
friend class ::TrackerDialog_PT;
public:
- template<typename t>
- using pointer = typename pt_runtime_traits::pointer<t>;
+ template<typename t> using pointer = pt_pointer<t>;
- Tracker_PT(pointer<pt_runtime_traits> pt_runtime_traits);
+ Tracker_PT(pointer<pt_runtime_traits> const& pt_runtime_traits);
~Tracker_PT() override;
module_status start_tracker(QFrame* parent_window) override;
void data(double* data) override;