資源簡介
利用OPENGL生成三維地形的源代碼,實現三維地形可視化及實時運行。

代碼片段和文件信息
//?ChildFrm.cpp?:?implementation?of?the?CChildframe?class
//
#include?“stdafx.h“
#include?“DEM.h“
#include?“ChildFrm.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CChildframe
IMPLEMENT_DYNCREATE(CChildframe?CMDIChildWnd)
BEGIN_MESSAGE_MAP(CChildframe?CMDIChildWnd)
//{{AFX_MSG_MAP(CChildframe)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CChildframe?construction/destruction
CChildframe::CChildframe()
{
//?TODO:?add?member?initialization?code?here
}
CChildframe::~CChildframe()
{
}
BOOL?CChildframe::PreCreateWindow(CREATESTRUCT&?cs)
{
//?TODO:?Modify?the?Window?class?or?styles?here?by?modifying
//??the?CREATESTRUCT?cs
if(?!CMDIChildWnd::PreCreateWindow(cs)?)
return?FALSE;
return?TRUE;
}
/////////////////////////////////////////////////////////////////////////////
//?CChildframe?diagnostics
#ifdef?_DEBUG
void?CChildframe::AssertValid()?const
{
CMDIChildWnd::AssertValid();
}
void?CChildframe::Dump(CDumpContext&?dc)?const
{
CMDIChildWnd::Dump(dc);
}
#endif?//_DEBUG
/////////////////////////////////////////////////////////////////////////////
//?CChildframe?message?handlers
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????2418??2007-04-29?11:52??3D_DEM\scbarg.h
?????文件?????196662??2007-06-02?12:46??3D_DEM\moon.bmp
?????文件?????196662??2007-06-01?03:06??3D_DEM\earth.bmp
?????文件???????3983??2007-06-20?22:21??3D_DEM\DEM.cpp
?????文件???????4715??2007-06-20?19:10??3D_DEM\Resource.h
?????文件???????7140??2007-08-24?23:35??3D_DEM\DEM.clw
?????文件???????4685??2007-04-26?15:10??3D_DEM\ReadMe.txt
?????文件???????1166??2007-04-26?22:17??3D_DEM\DEMEdit.h
?????文件???????1855??2007-06-01?00:21??3D_DEM\DEM.h
?????文件??????11686??2007-04-29?12:04??3D_DEM\scbarg.cpp
?????文件????????205??2007-05-04?23:29??3D_DEM\StdAfx.cpp
?????文件????????649??2007-04-26?22:21??3D_DEM\DEMEdit.cpp
?????文件???????1266??2007-06-20?21:21??3D_DEM\ChildFrm.h
?????文件???????1394??2007-06-20?21:21??3D_DEM\ChildFrm.cpp
?????文件???????7060??2007-06-21?00:21??3D_DEM\DEM.dsp
?????文件???????1494??2007-05-04?20:30??3D_DEM\DEMDoc.h
?????文件???????1438??2007-06-01?04:38??3D_DEM\StdAfx.h
?????文件???????2311??2007-06-20?23:14??3D_DEM\DEMDoc.cpp
?????文件???????4218??2007-06-03?22:54??3D_DEM\PointAttrib.cpp
?????文件????????667??2007-04-26?22:20??3D_DEM\MapPickAttrib.cpp
?????文件????????531??2007-04-26?15:10??3D_DEM\DEM.dsw
?????文件?????623616??2007-08-24?23:35??3D_DEM\DEM.ncb
?????文件???????1397??2007-04-28?17:19??3D_DEM\ComboToolBar.h
?????文件???????2244??2007-06-02?18:10??3D_DEM\GLEnabledView.h
?????文件??????11610??2007-06-03?20:09??3D_DEM\ViewPort.cpp
?????文件???????1242??2007-04-28?17:26??3D_DEM\ColorButton.h
?????文件???????1965??2007-05-27?03:07??3D_DEM\ComboToolBar.cpp
?????文件????????818??2007-04-28?17:26??3D_DEM\ColorButton.cpp
?????文件???????1711??2007-05-30?19:08??3D_DEM\DEMdata.h
?????文件???????1590??2007-05-31?13:48??3D_DEM\PointAttrib.h
............此處省略46個文件信息
評論
共有 條評論