summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/point_tracker.h
diff options
context:
space:
mode:
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: