dlgaddsphere.cpp

来自「本程序描述的是一个三维织物动感模拟系统。计算机生成真实感服装被列入计算机图形学亟」· C++ 代码 · 共 53 行

CPP
53
字号
// DlgAddSphere.cpp : implementation file
//

#include "stdafx.h"
#include "ClothSimulation.h"
#include "DlgAddSphere.h"

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

/////////////////////////////////////////////////////////////////////////////
// CDlgAddSphere dialog


CDlgAddSphere::CDlgAddSphere(CWnd* pParent /*=NULL*/)
	: CDialog(CDlgAddSphere::IDD, pParent)
{
	//{{AFX_DATA_INIT(CDlgAddSphere)
		// NOTE: the ClassWizard will add member initialization here
	m_Radius = 0.0f;
	m_XPos = 0.0f;
	m_YPos = 0.0f;
	m_ZPos = 0.0f;
	//}}AFX_DATA_INIT
}


void CDlgAddSphere::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CDlgAddSphere)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	DDX_Text(pDX, IDC_RADIUS, m_Radius);
	DDV_MinMaxFloat(pDX, m_Radius, 1.e-003f, 10.f);
	DDX_Text(pDX, IDC_XPOS, m_XPos);
	DDX_Text(pDX, IDC_YPOS, m_YPos);
	DDX_Text(pDX, IDC_ZPOS, m_ZPos);
	//}}AFX_DATA_MAP
}


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

/////////////////////////////////////////////////////////////////////////////
// CDlgAddSphere message handlers

⌨️ 快捷键说明

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