diff options
author | Stéphane Lenclud <github@lenclud.com> | 2019-04-13 12:24:17 +0200 |
---|---|---|
committer | Stéphane Lenclud <github@lenclud.com> | 2019-04-24 18:46:12 +0200 |
commit | 4af0298b4844727e87964697357af088b63921d1 (patch) | |
tree | 03c49473e6a8e65ee3e8ac9cc4b79766444bf412 /tracker-easy/tracker-easy.h | |
parent | 547f3314f2a4e75a5d2c540a5f1221e9c59277ae (diff) |
Easy Tracker: Deleting legacy point extractor. Various clean-up. Head center preview now working.
Diffstat (limited to 'tracker-easy/tracker-easy.h')
-rw-r--r-- | tracker-easy/tracker-easy.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tracker-easy/tracker-easy.h b/tracker-easy/tracker-easy.h index 6dea5712..23c9252a 100644 --- a/tracker-easy/tracker-easy.h +++ b/tracker-easy/tracker-easy.h @@ -36,7 +36,7 @@ struct EasyTracker : QThread, ITracker template<typename t> using pointer = pt_pointer<t>; - explicit EasyTracker(pointer<pt_runtime_traits> const& pt_runtime_traits); + explicit EasyTracker(pointer<IEasyTrackerTraits> const& pt_runtime_traits); ~EasyTracker() override; module_status start_tracker(QFrame* parent_window) override; void data(double* data) override; @@ -50,7 +50,7 @@ private: bool maybe_reopen_camera(); void set_fov(int value); - pointer<pt_runtime_traits> traits; + pointer<IEasyTrackerTraits> traits; QMutex camera_mtx; @@ -58,12 +58,11 @@ private: pt_settings s; std::unique_ptr<QLayout> layout; - std::vector<vec2> points; - std::vector<vec2> iImagePoints; + std::vector<vec2> iPoints; int preview_width = 320, preview_height = 240; - pointer<pt_point_extractor> point_extractor; + pointer<IPointExtractor> point_extractor; std::unique_ptr<video::impl::camera> camera; video::impl::camera::info iCameraInfo; pointer<video_widget> widget; |