summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/point_tracker.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-09-26 15:54:58 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-09-26 15:54:58 +0200
commit829b046649d3de6a37dd0983f3e3beb8f033e19e (patch)
treebf35f0f82263fec7e3b69520ede4178621c29be3 /tracker-pt/point_tracker.h
parent36d52b1d84f057712b0be1791a9b7981ee455495 (diff)
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
Diffstat (limited to 'tracker-pt/point_tracker.h')
-rw-r--r--tracker-pt/point_tracker.h4
1 files changed, 2 insertions, 2 deletions
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: