資源簡介
這是計算機圖形學的實習的作業,實現了計算機圖形學中的許多經典算法,采用vc6.0的MFC框架編寫。

代碼片段和文件信息
//?2010302590099.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“2010302590099.h“
#include?“MainFrm.h“
#include?“2010302590099Doc.h“
#include?“2010302590099View.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CMy2010302590099App
BEGIN_MESSAGE_MAP(CMy2010302590099App?CWinApp)
//{{AFX_MSG_MAP(CMy2010302590099App)
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()
/////////////////////////////////////////////////////////////////////////////
//?CMy2010302590099App?construction
CMy2010302590099App::CMy2010302590099App()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CMy2010302590099App?object
CMy2010302590099App?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CMy2010302590099App?initialization
BOOL?CMy2010302590099App::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(CMy2010302590099Doc)
RUNTIME_CLASS(CMainframe)???????//?main?SDI?frame?window
RUNTIME_CLASS(CMy2010302590099View));
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
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2012-11-10?22:47??2010302590099\
?????文件???????60672??2012-06-30?21:06??2010302590099\2010302590099.aps
?????文件????????7469??2012-06-30?22:04??2010302590099\2010302590099.clw
?????文件????????4363??2012-06-25?09:15??2010302590099\2010302590099.cpp
?????文件????????5755??2012-06-30?10:09??2010302590099\2010302590099.dsp
?????文件?????????534??2012-06-25?09:15??2010302590099\2010302590099.dsw
?????文件????????1443??2012-06-25?09:15??2010302590099\2010302590099.h
?????文件??????140288??2012-06-30?22:14??2010302590099\2010302590099.ncb
?????文件???????58880??2012-06-30?22:14??2010302590099\2010302590099.opt
?????文件????????4857??2012-06-30?22:12??2010302590099\2010302590099.plg
?????文件???????21588??2012-06-30?21:06??2010302590099\2010302590099.rc
?????文件???????32896??2012-06-30?22:14??2010302590099\2010302590099Doc.cpp
?????文件????????3540??2012-06-30?18:18??2010302590099\2010302590099Doc.h
?????文件???????54079??2012-06-30?21:54??2010302590099\2010302590099View.cpp
?????文件????????4988??2012-06-30?21:06??2010302590099\2010302590099View.h
?????文件????????5514??2012-06-29?08:58??2010302590099\BrushOptionDlg.cpp
?????文件????????1546??2012-06-29?08:57??2010302590099\BrushOptionDlg.h
?????目錄???????????0??2012-11-10?22:47??2010302590099\Debug\
?????文件?????4203520??2012-06-30?22:12??2010302590099\Debug\2010302590099.bsc
?????文件??????270336??2013-04-23?22:03??2010302590099\Debug\2010302590099.exe
?????文件?????1252308??2012-06-30?22:12??2010302590099\Debug\2010302590099.ilk
?????文件???????28621??2012-06-30?21:06??2010302590099\Debug\2010302590099.obj
?????文件?????6869072??2012-06-30?10:06??2010302590099\Debug\2010302590099.pch
?????文件?????1016832??2012-06-30?22:12??2010302590099\Debug\2010302590099.pdb
?????文件???????20740??2012-06-30?21:06??2010302590099\Debug\2010302590099.res
?????文件???????????0??2012-06-30?21:06??2010302590099\Debug\2010302590099.sbr
?????文件???????94741??2012-06-30?22:12??2010302590099\Debug\2010302590099Doc.obj
?????文件???????????0??2012-06-30?22:12??2010302590099\Debug\2010302590099Doc.sbr
?????文件??????172213??2012-06-30?21:54??2010302590099\Debug\2010302590099View.obj
?????文件???????????0??2012-06-30?21:54??2010302590099\Debug\2010302590099View.sbr
?????文件???????27157??2012-06-30?10:06??2010302590099\Debug\BrushOptionDlg.obj
............此處省略49個文件信息
評論
共有 條評論