派生自 development/c++

chenshijun
2019-01-24 114e9783e9b7ad0e12fe24415fe34d75ee4b4af7
QiaoJiaSystem/StructureApp/PerimeterElement.h
@@ -11,6 +11,7 @@
#include <basic/util/fastdfs/FastFds.hpp>
#include "DBStruct.h"
#include <basic/db/Elasticsearch/EsDBTool.h>
#include "IntAreaCalcUtil.h"
class PerimeterElement : public basic::PipeElement
{
public:
@@ -65,6 +66,7 @@
    void setMask(std::string mask);
    bool isInWeek(const std::vector<LActRuleWeekRecord>& ruleWeek);
    cv::Rect CutMask();
    bool isAnd();
private:
    cv::Mat image;
    //cv::Mat mask;
@@ -82,7 +84,12 @@
   int npts;
   vector<cv::Rect> m_recVec;
   std::vector<cv::Rect> m_recVec;
   bool m_bIsMask;
   std::vector<Point> poly1;
};
#endif // PAELEMENT_H