imagewarpdialog.cpp

来自「图像扭曲算法。已经修改过」· C++ 代码 · 共 52 行

CPP
52
字号
// ImageWarpDialog.cpp : implementation file
//

#include "stdafx.h"
#include "ImgWarp.h"
#include "ImageWarpDialog.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CImageWarpDialog dialog


CImageWarpDialog::CImageWarpDialog(CWnd* pParent /*=NULL*/)
	: CDialog(CImageWarpDialog::IDD, pParent)
{
	//{{AFX_DATA_INIT(CImageWarpDialog)
	m_fAmplitude = 0.0f;
	m_fPeriod = 0.0f;
	m_fPhase = 0.0f;
	m_nOperation = -1;
	m_nQuality = -1;
	//}}AFX_DATA_INIT
}


void CImageWarpDialog::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CImageWarpDialog)
	DDX_Text(pDX, IDC_EDIT_AMPLITUDE, m_fAmplitude);
	DDX_Text(pDX, IDC_EDIT_PERIOD, m_fPeriod);
	DDX_Text(pDX, IDC_EDIT_PHASE, m_fPhase);
	DDX_Radio(pDX, IDC_RADIO1, m_nOperation);
	DDX_Radio(pDX, IDC_RADIO3, m_nQuality);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CImageWarpDialog, CDialog)
	//{{AFX_MSG_MAP(CImageWarpDialog)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CImageWarpDialog message handlers

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?