資源簡介
計算機圖形學課設,運用MFC編程技術,在vs平臺,繪制Bzier曲線和B樣條曲線,

代碼片段和文件信息
//?BiSheXin.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“BiSheXin.h“
#include?“MainFrm.h“
#include?“BiSheXinDoc.h“
#include?“BiSheXinView.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CBiSheXinApp
BEGIN_MESSAGE_MAP(CBiSheXinApp?CWinApp)
//{{AFX_MSG_MAP(CBiSheXinApp)
ON_COMMAND(ID_APP_ABOUT?OnAppAbout)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG_MAP
//?Standard?file?based?document?commands
ON_COMMAND(ID_FILE_NEW?CWinApp::OnFileNew)
ON_COMMAND(ID_FILE_OPEN?CWinApp::OnFileOpen)
//?Standard?print?setup?command
ON_COMMAND(ID_FILE_PRINT_SETUP?CWinApp::OnFilePrintSetup)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CBiSheXinApp?construction
CBiSheXinApp::CBiSheXinApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CBiSheXinApp?object
CBiSheXinApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CBiSheXinApp?initialization
BOOL?CBiSheXinApp::InitInstance()
{
AfxEnableControlContainer();
//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.
#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif
//?Change?the?registry?key?under?which?our?settings?are?stored.
//?TODO:?You?should?modify?this?string?to?be?something?appropriate
//?such?as?the?name?of?your?company?or?organization.
SetRegistryKey(_T(“Local?AppWizard-Generated?Applications“));
LoadStdProfileSettings();??//?Load?standard?INI?file?options?(including?MRU)
//?Register?the?application‘s?document?templates.??Document?templates
//??serve?as?the?connection?between?documents?frame?windows?and?views.
CSingleDocTemplate*?pDocTemplate;
pDocTemplate?=?new?CSingleDocTemplate(
IDR_MAINframe
RUNTIME_CLASS(CBiSheXinDoc)
RUNTIME_CLASS(CMainframe)???????//?main?SDI?frame?window
RUNTIME_CLASS(CBiSheXinView));
AddDocTemplate(pDocTemplate);
//?Parse?command?line?for?standard?shell?commands?DDE?file?open
CCommandLineInfo?cmdInfo;
ParseCommandLine(cmdInfo);
//?Dispatch?commands?specified?on?the?command?line
if?(!ProcessShellCommand(cmdInfo))
return?FALSE;
//?The?one?and?only?window?has?been?initialized?so?show?and?update?it.
m_pMainWnd->ShowWindow(SW_SHOW);
m_pMainWnd->Up
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2016-11-05?16:05??MFC曲線繪制源程序修改后\
?????文件???????46824??2016-11-05?15:13??MFC曲線繪制源程序修改后\BiSheXin.aps
?????文件????????3235??2016-11-05?02:31??MFC曲線繪制源程序修改后\BiSheXin.clw
?????文件????????4245??2016-11-05?02:26??MFC曲線繪制源程序修改后\BiSheXin.cpp
?????文件????????4771??2016-11-05?16:05??MFC曲線繪制源程序修改后\BiSheXin.dsp
?????文件?????????539??2016-11-05?02:32??MFC曲線繪制源程序修改后\BiSheXin.dsw
?????文件????????1378??2016-11-05?02:32??MFC曲線繪制源程序修改后\BiSheXin.h
?????文件??????109568??2016-11-05?16:15??MFC曲線繪制源程序修改后\BiSheXin.ncb
?????文件?????????861??2016-11-05?02:31??MFC曲線繪制源程序修改后\BiSheXin.plg
?????文件???????11616??2016-11-05?15:13??MFC曲線繪制源程序修改后\BiSheXin.rc
?????文件?????????905??2016-11-05?16:12??MFC曲線繪制源程序修改后\BiSheXin.sln
?????文件???????10240??2016-11-05?16:15??MFC曲線繪制源程序修改后\BiSheXin.suo
?????文件????????7736??2016-11-05?16:12??MFC曲線繪制源程序修改后\BiSheXin.vcproj
?????文件????????1786??2016-11-05?02:30??MFC曲線繪制源程序修改后\BiSheXinDoc.cpp
?????文件????????1497??2016-11-05?02:30??MFC曲線繪制源程序修改后\BiSheXinDoc.h
?????文件???????18735??2016-11-05?16:01??MFC曲線繪制源程序修改后\BiSheXinView.cpp
?????文件????????4827??2016-11-05?16:01??MFC曲線繪制源程序修改后\BiSheXinView.h
?????文件????????1086??2016-11-05?02:30??MFC曲線繪制源程序修改后\dd.cpp
?????文件????????1330??2016-11-05?02:30??MFC曲線繪制源程序修改后\dd.h
?????目錄???????????0??2016-11-05?16:12??MFC曲線繪制源程序修改后\Debug\
?????文件??????106496??2016-11-05?16:12??MFC曲線繪制源程序修改后\Debug\BiSheXin.exe
?????文件???????28769??2016-11-05?16:12??MFC曲線繪制源程序修改后\Debug\BiSheXin.obj
?????文件????10878976??2016-11-05?16:12??MFC曲線繪制源程序修改后\Debug\BiSheXin.pch
?????文件?????2911232??2016-11-05?16:12??MFC曲線繪制源程序修改后\Debug\BiSheXin.pdb
?????文件????????7332??2016-11-05?16:07??MFC曲線繪制源程序修改后\Debug\BiSheXin.res
?????文件???????17181??2016-11-05?16:12??MFC曲線繪制源程序修改后\Debug\BiSheXinDoc.obj
?????文件???????69526??2016-11-05?16:12??MFC曲線繪制源程序修改后\Debug\BiSheXinView.obj
?????文件????????6355??2016-11-05?16:12??MFC曲線繪制源程序修改后\Debug\BuildLog.htm
?????文件???????19989??2016-11-05?16:12??MFC曲線繪制源程序修改后\Debug\dd.obj
?????文件???????28495??2016-11-05?16:12??MFC曲線繪制源程序修改后\Debug\MainFrm.obj
?????文件??????281746??2016-11-05?16:12??MFC曲線繪制源程序修改后\Debug\StdAfx.obj
............此處省略16個文件信息
評論
共有 條評論