From 53630c440d592792dcdd86f8d5b2c59da4f3c359 Mon Sep 17 00:00:00 2001 From: pans <pansen626@sina.com> Date: 星期一, 28 一月 2019 20:35:35 +0800 Subject: [PATCH] Merge branch 'ywv1.2' into ywv1.2_布控feature --- QiaoJiaSystem/StructureApp/JudgmentRetrogradeTool.h | 14 +++++++++++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/QiaoJiaSystem/StructureApp/JudgmentRetrogradeTool.h b/QiaoJiaSystem/StructureApp/JudgmentRetrogradeTool.h index e3cd93f..6ab8995 100644 --- a/QiaoJiaSystem/StructureApp/JudgmentRetrogradeTool.h +++ b/QiaoJiaSystem/StructureApp/JudgmentRetrogradeTool.h @@ -1,4 +1,4 @@ -// +锘�// // Created by basic on 18-8-24. // @@ -22,8 +22,8 @@ #include <jsoncpp/json/json.h> #include <basic/pipe/PipeElement.h> struct VectorPoint { - cv::Point2f start_Point; - cv::Point2f end_Point; + cv::Point2i start_Point; + cv::Point2i end_Point; }; typedef VectorPoint BaseLine; @@ -74,6 +74,8 @@ void setImage(const cv::Mat &value); private: + bool setMask(QString area, QString line); + void setPerPoint(const long &, cv::Point2f); void setPerRect(const long &, cv::Rect rect); @@ -138,6 +140,12 @@ cv::Mat image; EsDBTool *pManagerEsDB; + cv::Point2i* pointArray; + + int npts; + QString m_area; + QString m_line; + bool m_bSetWH; }; -- Gitblit v1.8.0