資源簡介
關于計算機圖形學的編程實習,實現的功能包括圖形顯示,圖形變換(放大、平移、旋轉等),二維裁剪等

代碼片段和文件信息
//?2010302590216.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“2010302590216.h“
#include?“MainFrm.h“
#include?“ChildFrm.h“
#include?“2010302590216Doc.h“
#include?“2010302590216View.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CMy2010302590216App
BEGIN_MESSAGE_MAP(CMy2010302590216App?CWinApp)
//{{AFX_MSG_MAP(CMy2010302590216App)
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()
/////////////////////////////////////////////////////////////////////////////
//?CMy2010302590216App?construction
CMy2010302590216App::CMy2010302590216App()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CMy2010302590216App?object
CMy2010302590216App?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CMy2010302590216App?initialization
BOOL?CMy2010302590216App::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.
CMultiDocTemplate*?pDocTemplate;
pDocTemplate?=?new?CMultiDocTemplate(
IDR_MY2010TYPE
RUNTIME_CLASS(CMy2010302590216Doc)
RUNTIME_CLASS(CChildframe)?//?custom?MDI?child?frame
RUNTIME_CLASS(CMy2010302590216View));
AddDocTemplate(pDocTemplate);
//?create?main?MDI?frame?window
CMainframe*?pMainframe?=?new?CMainframe;
if?(!pMainframe->Loadframe(IDR_MAINframe))
return?FALSE;
m_pMainWnd?=?pMainframe;
//?Parse?command?line?for?standard?shell?commands?DDE?file?open
C
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2013-01-13?15:16??計圖實習\
?????目錄???????????0??2013-01-13?15:16??計圖實習\2010302590216\
?????文件???????????0??2012-06-30?11:48??計圖實習\2010302590216\2010302590216.aps
?????文件????????4669??2012-06-29?21:06??計圖實習\2010302590216\2010302590216.clw
?????文件????????4544??2012-06-25?21:23??計圖實習\2010302590216\2010302590216.cpp
?????文件????????4993??2012-06-27?21:14??計圖實習\2010302590216\2010302590216.dsp
?????文件?????????551??2012-06-25?18:23??計圖實習\2010302590216\2010302590216.dsw
?????文件????????1461??2012-06-25?20:01??計圖實習\2010302590216\2010302590216.h
?????文件??????189440??2012-06-30?11:49??計圖實習\2010302590216\2010302590216.ncb
?????文件???????56832??2012-06-29?21:51??計圖實習\2010302590216\2010302590216.opt
?????文件?????????260??2012-06-29?21:51??計圖實習\2010302590216\2010302590216.plg
?????文件???????16162??2012-06-27?21:14??計圖實習\2010302590216\2010302590216.rc
?????文件???????26674??2012-06-29?21:51??計圖實習\2010302590216\2010302590216Doc.cpp
?????文件????????2824??2012-06-29?18:45??計圖實習\2010302590216\2010302590216Doc.h
?????文件???????22536??2012-06-29?21:45??計圖實習\2010302590216\2010302590216View.cpp
?????文件????????2848??2012-06-29?18:38??計圖實習\2010302590216\2010302590216View.h
?????文件????????1540??2012-06-25?18:23??計圖實習\2010302590216\ChildFrm.cpp
?????文件????????1397??2012-06-25?18:23??計圖實習\2010302590216\ChildFrm.h
?????目錄???????????0??2014-01-15?11:39??計圖實習\2010302590216\Debug\
?????文件?????5465088??2012-06-29?21:51??計圖實習\2010302590216\Debug\2010302590216.bsc
?????文件?????2293849??2012-06-29?21:51??計圖實習\2010302590216\Debug\2010302590216.exe
?????文件?????2848620??2012-06-29?21:51??計圖實習\2010302590216\Debug\2010302590216.ilk
?????文件???????22935??2012-06-29?18:46??計圖實習\2010302590216\Debug\2010302590216.obj
?????文件?????4301824??2012-06-29?21:51??計圖實習\2010302590216\Debug\2010302590216.pdb
?????文件???????16588??2012-06-28?13:49??計圖實習\2010302590216\Debug\2010302590216.res
?????文件???????????0??2012-06-29?18:46??計圖實習\2010302590216\Debug\2010302590216.sbr
?????文件???????69720??2012-06-29?21:51??計圖實習\2010302590216\Debug\2010302590216Doc.obj
?????文件???????????0??2012-06-29?21:51??計圖實習\2010302590216\Debug\2010302590216Doc.sbr
?????文件???????67443??2012-06-29?21:45??計圖實習\2010302590216\Debug\2010302590216View.obj
?????文件???????????0??2012-06-29?21:45??計圖實習\2010302590216\Debug\2010302590216View.sbr
?????文件???????15231??2012-06-26?20:56??計圖實習\2010302590216\Debug\ChildFrm.obj
............此處省略162個文件信息
- 上一篇:基于STM32F407的漏電檢測系統
- 下一篇:人臉圖片庫pgm格式
評論
共有 條評論