派生自 development/c++

miyanhui
2019-02-15 ae5899dc884d8d7e1427e45c35e865d7ca51c34b
QiaoJiaSystem/StructureApp/JudgmentRetrogradeTool.h
@@ -1,10 +1,11 @@
//
//
// Created by basic on 18-8-24.
//
#ifndef JUDGINGRETROGRADE_JUDGMENTRETROGRADETOOL_H
#define JUDGINGRETROGRADE_JUDGMENTRETROGRADETOOL_H
#include "SaveVideoRpc.h"
#include <iostream>
#include <map>
#include <list>
@@ -55,7 +56,8 @@
public:
    JudgmentRetrogradeTool() {}
    JudgmentRetrogradeTool(const SdkRule &rule);
    JudgmentRetrogradeTool(const SdkRule &rule,SaveVideoRpcClient_t& rpcClient);
    virtual ~JudgmentRetrogradeTool();
@@ -74,6 +76,9 @@
    void setImage(const cv::Mat &value);
private:
    JudgmentRetrogradeTool(const SdkRule &rule);
    bool setMask(QString area, QString line);
    void setPerPoint(const long &, cv::Point2f);
    void setPerRect(const long &, cv::Rect rect);
@@ -141,6 +146,10 @@
    cv::Point2i* pointArray;
    int npts;
    QString m_area;
    QString m_line;
    bool m_bSetWH;
    SaveVideoRpcClient_t& m_rpcClient;
};