1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#ifndef INCHIP_DOT_PROCESS_H
#define INCHIP_DOT_PROCESS_H
 
class CInChipDotProcess
{
public:
    CInChipDotProcess();
    CInChipDotProcess(DimensionDir eDir);
    ~CInChipDotProcess();
 
public:
    //1. Ö´ÐÐ
    int Execute(DimensionDir eDir,  int index, Point2I ptStart, Point2I ptEnd);
 
public:
    int m_nChipOffset;
    int m_nChipRange;
    
    int m_nLineWidth;             //ROIµÄ¿í¶È
    int m_nPointType;
    int m_nPointMode;
    int m_threshold;   //±ß½ç
    int m_nSampleNumber;          //²ÉÑùµãÊýÁ¿
    
    HalconCpp::HObject m_hRoiRegion;
 
private:
    DimensionDir m_eDir;
    int m_nFrameWidth;
    int m_nFrameHeight;
 
private:
    //1. Ö´Ðмì²â
    int ExeInChip(DimensionDir eDir, int index, Point2I ptStart, Point2I ptEnd);
 
};
 
#endif