diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-09-16 16:10:52 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-09-16 18:04:36 +0200 |
commit | b3476cc5f25c6039ebec6174c9e719f0ca37d24f (patch) | |
tree | 37bc982a87495cad0f466d93c966032e8b8ee0be /tracker-pt/ftnoir_tracker_pt.h | |
parent | 707edf55646b62d74a3ff3de9acc274687c13e05 (diff) |
tracker/pt: get rid of pt_types class
Diffstat (limited to 'tracker-pt/ftnoir_tracker_pt.h')
-rw-r--r-- | tracker-pt/ftnoir_tracker_pt.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tracker-pt/ftnoir_tracker_pt.h b/tracker-pt/ftnoir_tracker_pt.h index 29902260..047aedda 100644 --- a/tracker-pt/ftnoir_tracker_pt.h +++ b/tracker-pt/ftnoir_tracker_pt.h @@ -11,12 +11,13 @@ #include "api/plugin-api.hpp" #include "ftnoir_tracker_pt_settings.h" +using namespace pt_types; + #include "camera.h" #include "point_extractor.h" #include "point_tracker.h" #include "compat/timer.hpp" #include "cv/video-widget.hpp" -#include "compat/pi-constant.hpp" #include <QThread> #include <QMutex> @@ -30,9 +31,9 @@ class TrackerDialog_PT; //----------------------------------------------------------------------------- // Constantly processes the tracking chain in a separate thread -class Tracker_PT : public QThread, public ITracker, private pt_types +class Tracker_PT : public QThread, public ITracker { - static constexpr double pi = OPENTRACK_PI; + static constexpr f pi = constants::pi; Q_OBJECT friend class camera_dialog; |