91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

本書通過創建多個可視化仿真實例介紹如何利用OpenGL圖形庫開發可視化應用系統,內容涉及一個場景編輯系統、兩個三維游戲和五個可視化仿真項目。 本資源是系統開發篇的源碼。

資源截圖

代碼片段和文件信息

//?3DEditor.cpp?:?Defines?the?class?behaviors?for?the?application.
//

#include?“stdafx.h“
#include?“3DEditor.h“

#include?“MainFrm.h“
#include?“ChildFrm.h“
#include?“3DEditorDoc.h“
#include?“3DEditorView.h“
#include?“Splash.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CMy3DEditorApp

BEGIN_MESSAGE_MAP(CMy3DEditorApp?CWinApp)
//{{AFX_MSG_MAP(CMy3DEditorApp)
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()

/////////////////////////////////////////////////////////////////////////////
//?CMy3DEditorApp?construction

CMy3DEditorApp::CMy3DEditorApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CMy3DEditorApp?object

CMy3DEditorApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CMy3DEditorApp?initialization

BOOL?CMy3DEditorApp::InitInstance()
{
//?CG:?The?following?block?was?added?by?the?Splash?Screen?component.
\
{
\
CCommandLineInfo?cmdInfo;
\
ParseCommandLine(cmdInfo);
\

\
CSplashWnd::EnableSplashScreen(cmdInfo.m_bShowSplash);
\
}
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_MY3DEDTYPE
RUNTIME_CLASS(CMy3DEditorDoc)
RUNTIME_CLASS(CChildframe)?//?custom?MDI?child?frame
RUNTIME_CLASS(CMy3DEditorView));
AddDocTemplate(pDocTemplate);

//?create?main?MDI?frame?window
CMainframe*?pMainframe?=?new?CMainframe;
if?(!pMainframe

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2011-12-01?16:45??系統開發篇\
?????目錄???????????0??2011-12-01?16:45??系統開發篇\Chapter01\
?????目錄???????????0??2011-12-01?16:45??系統開發篇\Chapter01\3DEditor\
?????文件??????550388??2005-10-19?15:55??系統開發篇\Chapter01\3DEditor\3DEditor.aps
?????文件???????10743??2005-10-19?15:55??系統開發篇\Chapter01\3DEditor\3DEditor.clw
?????文件????????4919??2005-10-19?15:55??系統開發篇\Chapter01\3DEditor\3DEditor.cpp
?????文件????????8403??2005-10-19?15:55??系統開發篇\Chapter01\3DEditor\3DEditor.dsp
?????文件?????????541??2005-10-19?15:55??系統開發篇\Chapter01\3DEditor\3DEditor.dsw
?????文件????????1435??2005-10-19?15:55??系統開發篇\Chapter01\3DEditor\3DEditor.h
?????文件??????828416??2005-10-19?15:55??系統開發篇\Chapter01\3DEditor\3DEditor.ncb
?????文件???????69632??2005-10-19?15:55??系統開發篇\Chapter01\3DEditor\3DEditor.opt
?????文件????????1914??2005-10-19?15:55??系統開發篇\Chapter01\3DEditor\3DEditor.plg
?????文件???????32271??2005-10-19?15:55??系統開發篇\Chapter01\3DEditor\3DEditor.rc
?????文件???????24025??2005-10-19?15:55??系統開發篇\Chapter01\3DEditor\3DEditorDoc.cpp
?????文件????????3059??2005-10-19?15:55??系統開發篇\Chapter01\3DEditor\3DEditorDoc.h
?????文件???????43207??2005-10-19?15:55??系統開發篇\Chapter01\3DEditor\3DEditorView.cpp
?????文件????????5353??2005-10-19?15:55??系統開發篇\Chapter01\3DEditor\3DEditorView.h
?????文件????????5485??2005-10-19?15:55??系統開發篇\Chapter01\3DEditor\AVICapture.cpp
?????文件?????????987??2005-10-19?15:55??系統開發篇\Chapter01\3DEditor\AVICapture.h
?????文件????????1535??2005-10-19?15:55??系統開發篇\Chapter01\3DEditor\ChildFrm.cpp
?????文件????????1397??2005-10-19?15:55??系統開發篇\Chapter01\3DEditor\ChildFrm.h
?????文件????????1628??2005-10-19?15:55??系統開發篇\Chapter01\3DEditor\ChunkFile.cpp
?????文件?????????829??2005-10-19?15:55??系統開發篇\Chapter01\3DEditor\ChunkFile.h
?????文件????????7248??2005-10-19?15:55??系統開發篇\Chapter01\3DEditor\Classlib.cpp
?????文件????????2516??2005-10-19?15:55??系統開發篇\Chapter01\3DEditor\Classlib.h
?????目錄???????????0??2011-12-01?16:45??系統開發篇\Chapter01\3DEditor\Debug\
?????文件???????38221??2005-10-19?15:55??系統開發篇\Chapter01\3DEditor\Debug\3DEditor.obj
?????文件?????5952524??2005-10-19?15:55??系統開發篇\Chapter01\3DEditor\Debug\3DEditor.pch
?????文件??????992256??2005-10-19?15:55??系統開發篇\Chapter01\3DEditor\Debug\3DEditor.pdb
?????文件??????515040??2005-10-19?15:55??系統開發篇\Chapter01\3DEditor\Debug\3DEditor.res
?????文件??????111172??2005-10-19?15:55??系統開發篇\Chapter01\3DEditor\Debug\3DEditorDoc.obj
............此處省略635個文件信息

評論

共有 條評論