From 829b046649d3de6a37dd0983f3e3beb8f033e19e Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 26 Sep 2016 15:54:58 +0200 Subject: gui: remove several user-visible settings - dynamic pose is now enable iff current model is cap - dynamic pose timeout is now always 500 ms - fov is now always 75 --- tracker-pt/point_tracker.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tracker-pt/point_tracker.h') diff --git a/tracker-pt/point_tracker.h b/tracker-pt/point_tracker.h index 77c07125..e3ad81b6 100644 --- a/tracker-pt/point_tracker.h +++ b/tracker-pt/point_tracker.h @@ -55,6 +55,8 @@ class PointModel { friend class PointTracker; public: + enum { Cap = 0, ClipRight = 1, ClipLeft = 2 }; + static constexpr int N_POINTS = 3; cv::Vec3d M01; // M01 in model frame @@ -80,8 +82,6 @@ public: void set_model(settings_pt& s) { - enum { Cap = 0, ClipRight = 1, ClipLeft = 2 }; - switch (s.model_used) { default: -- cgit v1.2.3