summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/point_extractor.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-11-11 18:10:42 +0100
committerStanislaw Halik <sthalik@misaki.pl>2016-11-12 12:04:27 +0100
commite5d2902e11ae6ea2e26e0caa6588384225e018f6 (patch)
tree6b9660910daf250290c339780d5b2ef062646130 /tracker-pt/point_extractor.h
parent049044f181414991a103ace961214c78171c284d (diff)
tracker/pt: refactor
- separate .{cpp,hpp} for few classes - don't include namespaces globally; harmless but looks bad anyway - class with all public members to struct
Diffstat (limited to 'tracker-pt/point_extractor.h')
-rw-r--r--tracker-pt/point_extractor.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/tracker-pt/point_extractor.h b/tracker-pt/point_extractor.h
index a0afa45d..775e4292 100644
--- a/tracker-pt/point_extractor.h
+++ b/tracker-pt/point_extractor.h
@@ -8,14 +8,17 @@
#pragma once
+#include "ftnoir_tracker_pt_settings.h"
+#include "numeric.hpp"
+
#include <opencv2/core.hpp>
#include <opencv2/imgproc.hpp>
-#include "ftnoir_tracker_pt_settings.h"
-
#include <vector>
-using namespace pt_types;
+namespace impl {
+
+using namespace types;
class PointExtractor final
{
@@ -47,3 +50,7 @@ private:
std::vector<blob> blobs;
};
+
+} // ns impl
+
+using impl::PointExtractor;