📄 blobstatsdlg.cpp
字号:
// BlobStatsDlg.cpp : implementation file
//
#include "stdafx.h"
#include "Segment.h"
#include "BlobStatsDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CBlobStatsDlg dialog
CBlobStatsDlg::CBlobStatsDlg(CWnd* pParent /*=NULL*/)
: CDialog(CBlobStatsDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CBlobStatsDlg)
m_nArea = 0;
m_nCentroidX = 0;
m_nCentroidY = 0;
m_nLeft = 0;
m_nTop = 0;
m_nBottom = 0;
m_nRight = 0;
m_nLoops = 0;
//}}AFX_DATA_INIT
}
void CBlobStatsDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CBlobStatsDlg)
DDX_Text(pDX, IDC_EDIT1, m_nArea);
DDX_Text(pDX, IDC_EDIT2, m_nCentroidX);
DDX_Text(pDX, IDC_EDIT7, m_nCentroidY);
DDX_Text(pDX, IDC_EDIT5, m_nLeft);
DDX_Text(pDX, IDC_EDIT3, m_nTop);
DDX_Text(pDX, IDC_EDIT4, m_nBottom);
DDX_Text(pDX, IDC_EDIT6, m_nRight);
DDX_Text(pDX, IDC_EDIT8, m_nLoops);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CBlobStatsDlg, CDialog)
//{{AFX_MSG_MAP(CBlobStatsDlg)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CBlobStatsDlg message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -