SDC C-Project CF Review 프로그램
LYW
2021-10-14 26e2541b87ca76e16cf69399eb9a3cce62d2e864
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#pragma once
#include "CHCommonControls/GridCtrl.h"
#include "afxwin.h"
 
class CCHImageData;
class CCHImageView;
class CReviewDefectFinder;
 
#define DEFECT_FIND_INFO_GRID_ROW_COUNT        6 
#define DEFECT_FIND_INFO_GRID_COL_COUNT        2
#define DEFECT_RESULT_GRID_ROW_COUNT        12 
#define DEFECT_RESULT_GRID_COL_COUNT        2
 
// CDlgDefectFind ´ëÈ­ »óÀÚÀÔ´Ï´Ù.
 
class CDlgDefectFind : public CDialog
{
    DECLARE_DYNAMIC(CDlgDefectFind)
 
public:
    CDlgDefectFind(CWnd* pParent = NULL);   // Ç¥ÁØ »ý¼ºÀÚÀÔ´Ï´Ù.
    virtual ~CDlgDefectFind();
 
public:
    void InitDefectFindInfoGridControl();
    void FillDefectFindInfo();
    void InitDefectResultGridControl();
    void FillDefectResult();
    void UpdateDialogData();
 
// ´ëÈ­ »óÀÚ µ¥ÀÌÅÍÀÔ´Ï´Ù.
    enum { IDD = IDD_DIALOG_REVIEW_RCP_EDITOR_DEFECT_FIND };
 
protected:
    CGridCtrl        m_ctrlGridDefectFindInfo;
    CGridCtrl        m_ctrlGridDefectResult;
    CButton            m_ctrlCheckDefectFind;
    CCHImageView*                m_pImageView;
    CCHImageData*                m_pSourceImage;
    CCHImageData*                m_pBandImage;
    CCHImageData*                m_pResultImage;
    CReviewDefectFinder*        m_pDefectFindProcess;
 
    virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV Áö¿øÀÔ´Ï´Ù.
 
    DECLARE_MESSAGE_MAP()
public:
    virtual BOOL OnInitDialog();
    virtual BOOL PreTranslateMessage(MSG* pMsg);
    afx_msg void OnBnClickedButtonRcpDefectFindReset();
    afx_msg void OnBnClickedButtonRcpDefectFindApply();
 
    afx_msg void OnBnClickedButtonLoadImage();
    afx_msg void OnBnClickedButtonInspectTest();
    afx_msg void OnBnClickedButtonSaveImage();
    CButton m_ctrlViewType;
    CButton m_ctrlViewDefect;
    afx_msg void OnBnClickedRadioViewType0();
    afx_msg void OnBnClickedRadioViewType1();
    afx_msg void OnBnClickedCheckViewDefect();
};