diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-09-27 20:04:47 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-09-27 20:06:45 +0200 |
commit | 01f1a5f2b9ed1846423eee0336450f32b836536b (patch) | |
tree | bdf27366094eeca485d7ce5122db3cb097cb8ffb /ftnoir_tracker_pt/point_extractor.h | |
parent | c04f90dcc3054d296dc1f6798ccf22f71a10836b (diff) |
make stuff private, not protected
clang generates warnings for unused private stuff, so use that.
Diffstat (limited to 'ftnoir_tracker_pt/point_extractor.h')
-rw-r--r-- | ftnoir_tracker_pt/point_extractor.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/ftnoir_tracker_pt/point_extractor.h b/ftnoir_tracker_pt/point_extractor.h index 21d548af..3ef82900 100644 --- a/ftnoir_tracker_pt/point_extractor.h +++ b/ftnoir_tracker_pt/point_extractor.h @@ -15,21 +15,21 @@ // Extracts points from an opencv image class PointExtractor { -public: - // extracts points from frame and draws some processing info into frame, if draw_output is set - // dt: time since last call in seconds - // WARNING: returned reference is valid as long as object - const std::vector<cv::Vec2f>& extract_points(cv::Mat &frame); - const std::vector<cv::Vec2f>& get_points() { return points; } - PointExtractor(); +public: + // extracts points from frame and draws some processing info into frame, if draw_output is set + // dt: time since last call in seconds + // WARNING: returned reference is valid as long as object + const std::vector<cv::Vec2f>& extract_points(cv::Mat &frame); + const std::vector<cv::Vec2f>& get_points() { return points; } + PointExtractor(); - int threshold_val; - int threshold_secondary_val; - int min_size, max_size; + int threshold_val; + int threshold_secondary_val; + int min_size, max_size; -protected: - std::vector<cv::Vec2f> points; - cv::Mat frame_last; +private: + std::vector<cv::Vec2f> points; + cv::Mat frame_last; }; #endif //POINTEXTRACTOR_H |