本书通过创建多个可视化仿真实例介绍如何利用OpenGL图形库开发可视化应用系统,内容涉及一个场景编辑系统、两个三维游戏和五个可视化仿真项目。
本资源是系统开发篇的源码。
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2011-12-01 16:45 系统开发篇
目录 0 2011-12-01 16:45 系统开发篇Chapter01
目录 0 2011-12-01 16:45 系统开发篇Chapter013DEditor
文件 550388 2005-10-19 15:55 系统开发篇Chapter013DEditor3DEditor.aps
文件 10743 2005-10-19 15:55 系统开发篇Chapter013DEditor3DEditor.clw
文件 4919 2005-10-19 15:55 系统开发篇Chapter013DEditor3DEditor.cpp
文件 8403 2005-10-19 15:55 系统开发篇Chapter013DEditor3DEditor.dsp
文件 541 2005-10-19 15:55 系统开发篇Chapter013DEditor3DEditor.dsw
文件 1435 2005-10-19 15:55 系统开发篇Chapter013DEditor3DEditor.h
文件 828416 2005-10-19 15:55 系统开发篇Chapter013DEditor3DEditor.ncb
文件 69632 2005-10-19 15:55 系统开发篇Chapter013DEditor3DEditor.opt
文件 1914 2005-10-19 15:55 系统开发篇Chapter013DEditor3DEditor.plg
文件 32271 2005-10-19 15:55 系统开发篇Chapter013DEditor3DEditor.rc
文件 24025 2005-10-19 15:55 系统开发篇Chapter013DEditor3DEditorDoc.cpp
文件 3059 2005-10-19 15:55 系统开发篇Chapter013DEditor3DEditorDoc.h
文件 43207 2005-10-19 15:55 系统开发篇Chapter013DEditor3DEditorView.cpp
文件 5353 2005-10-19 15:55 系统开发篇Chapter013DEditor3DEditorView.h
文件 5485 2005-10-19 15:55 系统开发篇Chapter013DEditorAVICapture.cpp
文件 987 2005-10-19 15:55 系统开发篇Chapter013DEditorAVICapture.h
文件 1535 2005-10-19 15:55 系统开发篇Chapter013DEditorChildFrm.cpp
文件 1397 2005-10-19 15:55 系统开发篇Chapter013DEditorChildFrm.h
文件 1628 2005-10-19 15:55 系统开发篇Chapter013DEditorChunkFile.cpp
文件 829 2005-10-19 15:55 系统开发篇Chapter013DEditorChunkFile.h
文件 7248 2005-10-19 15:55 系统开发篇Chapter013DEditorClasslib.cpp
文件 2516 2005-10-19 15:55 系统开发篇Chapter013DEditorClasslib.h
目录 0 2011-12-01 16:45 系统开发篇Chapter013DEditorDebug
文件 38221 2005-10-19 15:55 系统开发篇Chapter013DEditorDebug3DEditor.obj
文件 5952524 2005-10-19 15:55 系统开发篇Chapter013DEditorDebug3DEditor.pch
文件 992256 2005-10-19 15:55 系统开发篇Chapter013DEditorDebug3DEditor.pdb
文件 515040 2005-10-19 15:55 系统开发篇Chapter013DEditorDebug3DEditor.res
文件 111172 2005-10-19 15:55 系统开发篇Chapter013DEditorDebug3DEditorDoc.obj
............此处省略635个文件信息
// 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 系统开发篇Chapter013DEditor
文件 550388 2005-10-19 15:55 系统开发篇Chapter013DEditor3DEditor.aps
文件 10743 2005-10-19 15:55 系统开发篇Chapter013DEditor3DEditor.clw
文件 4919 2005-10-19 15:55 系统开发篇Chapter013DEditor3DEditor.cpp
文件 8403 2005-10-19 15:55 系统开发篇Chapter013DEditor3DEditor.dsp
文件 541 2005-10-19 15:55 系统开发篇Chapter013DEditor3DEditor.dsw
文件 1435 2005-10-19 15:55 系统开发篇Chapter013DEditor3DEditor.h
文件 828416 2005-10-19 15:55 系统开发篇Chapter013DEditor3DEditor.ncb
文件 69632 2005-10-19 15:55 系统开发篇Chapter013DEditor3DEditor.opt
文件 1914 2005-10-19 15:55 系统开发篇Chapter013DEditor3DEditor.plg
文件 32271 2005-10-19 15:55 系统开发篇Chapter013DEditor3DEditor.rc
文件 24025 2005-10-19 15:55 系统开发篇Chapter013DEditor3DEditorDoc.cpp
文件 3059 2005-10-19 15:55 系统开发篇Chapter013DEditor3DEditorDoc.h
文件 43207 2005-10-19 15:55 系统开发篇Chapter013DEditor3DEditorView.cpp
文件 5353 2005-10-19 15:55 系统开发篇Chapter013DEditor3DEditorView.h
文件 5485 2005-10-19 15:55 系统开发篇Chapter013DEditorAVICapture.cpp
文件 987 2005-10-19 15:55 系统开发篇Chapter013DEditorAVICapture.h
文件 1535 2005-10-19 15:55 系统开发篇Chapter013DEditorChildFrm.cpp
文件 1397 2005-10-19 15:55 系统开发篇Chapter013DEditorChildFrm.h
文件 1628 2005-10-19 15:55 系统开发篇Chapter013DEditorChunkFile.cpp
文件 829 2005-10-19 15:55 系统开发篇Chapter013DEditorChunkFile.h
文件 7248 2005-10-19 15:55 系统开发篇Chapter013DEditorClasslib.cpp
文件 2516 2005-10-19 15:55 系统开发篇Chapter013DEditorClasslib.h
目录 0 2011-12-01 16:45 系统开发篇Chapter013DEditorDebug
文件 38221 2005-10-19 15:55 系统开发篇Chapter013DEditorDebug3DEditor.obj
文件 5952524 2005-10-19 15:55 系统开发篇Chapter013DEditorDebug3DEditor.pch
文件 992256 2005-10-19 15:55 系统开发篇Chapter013DEditorDebug3DEditor.pdb
文件 515040 2005-10-19 15:55 系统开发篇Chapter013DEditorDebug3DEditor.res
文件 111172 2005-10-19 15:55 系统开发篇Chapter013DEditorDebug3DEditorDoc.obj
............此处省略635个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)