summaryrefslogtreecommitdiffhomepage
path: root/tracker-wii/wii_point_extractor.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-12-20 21:04:56 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-12-24 19:32:10 +0100
commit582db45e356d5e7eb90606107c54db2e25cec644 (patch)
tree5e8200d9072dc90e5d503031722440c8d59a5c92 /tracker-wii/wii_point_extractor.h
parent1b1e0f4ef7ae31e2721e6a32a84548e66f4244ef (diff)
tracker/{pt,wii}: fix leading underscore identifiers
Diffstat (limited to 'tracker-wii/wii_point_extractor.h')
-rw-r--r--tracker-wii/wii_point_extractor.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/tracker-wii/wii_point_extractor.h b/tracker-wii/wii_point_extractor.h
index be0e5f45..a72ba861 100644
--- a/tracker-wii/wii_point_extractor.h
+++ b/tracker-wii/wii_point_extractor.h
@@ -21,18 +21,14 @@ using namespace types;
class WIIPointExtractor final : public pt_point_extractor
{
public:
- // extracts points from frame and draws some processing info into frame, if draw_output is set
- // dt: time since last call in seconds
void extract_points(const pt_frame& frame, pt_preview& preview_frame, std::vector<vec2>& points) override;
WIIPointExtractor(const QString& module_name);
-private:
- static constexpr int max_blobs = 16;
+private:
pt_settings s;
- void _draw_point(cv::Mat& preview_frame, const vec2& p, const cv::Scalar& color, int thinkness = 1);
- bool _draw_points(cv::Mat& preview_frame, const struct wii_info &wii, std::vector<vec2>& points);
- void _draw_bg(cv::Mat& preview_frame, const struct wii_info &wii);
+ void draw_point(cv::Mat& preview_frame, const vec2& p, const cv::Scalar& color, int thickness = 1);
+ bool draw_points(cv::Mat& preview_frame, const struct wii_info& wii, std::vector<vec2>& points);
+ void draw_bg(cv::Mat& preview_frame, const struct wii_info& wii);
};
} // ns impl
-