#pragma once
|
|
#include "KDistProcess.h"
|
// CKDistSetDlg ¶Ô»°¿ò
|
|
class CKDistSetDlg : public CDialogEx
|
{
|
DECLARE_DYNAMIC(CKDistSetDlg)
|
|
public:
|
CKDistSetDlg(CWnd* pParent = NULL); // ±ê×¼¹¹Ô캯Êý
|
virtual ~CKDistSetDlg();
|
|
// ¶Ô»°¿òÊý¾Ý
|
#ifdef AFX_DESIGN_TIME
|
enum { IDD = IDD_DIALOG_DIST_SET };
|
#endif
|
|
protected:
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV Ö§³Ö
|
|
DECLARE_MESSAGE_MAP()
|
|
private:
|
DimensionDir m_eDir;
|
CGridCtrl m_PanelKeyDist;
|
std::vector<CString> m_vParams;
|
CKDistProcess *m_dot;
|
|
private:
|
//1. ³õʼ»¯
|
void InitPanel(void);
|
|
//2. ³õʼ»¯
|
void SaveKDistParam(void);
|
|
//3. ÏÔʾ¾àÀë
|
void ShowKDistParam(void);
|
|
//4. ÏÔʾ½á¹û
|
void DispAllResult(void);
|
|
public:
|
virtual BOOL PreTranslateMessage(MSG* pMsg);
|
afx_msg void OnClose();
|
virtual BOOL OnInitDialog();
|
void ChangeVisionType(DimensionDir eDir);
|
void setDimensionDir(DimensionDir eDir);
|
afx_msg void OnBnClickedButtonProcessKdist();
|
afx_msg void OnBnClickedButtonSaveKdist();
|
};
|