派生自 development/c++

miyanhui
2019-02-13 e4c9b5bfb1d9000c08d84f2f044cd0c3605a2945
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);
@@ -123,7 +125,8 @@
    std::map<long, std::list<float>> m_mapPerDirection;
    //跟踪id,逆行状态
    std::map<long, bool> m_mapPerRet;
 //  std::map<long, bool> m_mapPerRet;
     std::map<long, int> m_mapPerRet;
    QPolygon m_polygon;
@@ -137,6 +140,12 @@
    cv::Mat image;
    EsDBTool *pManagerEsDB;
    cv::Point2i* pointArray;
    int npts;
    QString m_area;
    QString m_line;
    bool m_bSetWH;
};