#pragma once
|
|
#include "CutProcess.h"
|
// CCutSetDlg ¶Ô»°¿ò
|
|
class CCutSetDlg : public CDialogEx
|
{
|
DECLARE_DYNAMIC(CCutSetDlg)
|
|
public:
|
CCutSetDlg(CWnd* pParent = NULL); // ±ê×¼¹¹Ô캯Êý
|
virtual ~CCutSetDlg();
|
|
// ¶Ô»°¿òÊý¾Ý
|
#ifdef AFX_DESIGN_TIME
|
enum {
|
IDD = IDD_DIALOG_CUTLINE_SET
|
};
|
#endif
|
|
|
protected:
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV Ö§³Ö
|
|
DECLARE_MESSAGE_MAP()
|
|
private:
|
DimensionDir m_eDir;
|
CGridCtrl m_PanelCutLine;
|
std::vector<CString> m_vParams;
|
CCutProcess *m_dot;
|
|
private:
|
//1. ³õʼ»¯
|
void InitPanel(void);
|
|
//2. ±£´æÊý¾Ý
|
void SaveCutLineParam(void);
|
|
//3. ÏÔʾ²ÎÊý
|
void ShowCutLineParam(void);
|
|
//4. ÏÔʾ½á¹û
|
void DispAllResult(void);
|
|
public:
|
virtual BOOL OnInitDialog();
|
afx_msg void OnClose();
|
virtual BOOL PreTranslateMessage(MSG* pMsg);
|
void ChangeVisionType(DimensionDir eDir);
|
void setDimensionDir(DimensionDir eDir);
|
|
afx_msg void OnBnClickedButtonProcessCut();
|
afx_msg void OnBnClickedButtonSaveCut();
|
};
|