資源簡介
主要是機載激光雷達Las數據格式的讀寫方法和顯示模式的vc++程序,代碼可讀
代碼片段和文件信息
//?3D.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“3D.h“
#include?“MainFrm.h“
#include?“3DDoc.h“
#include?“3DView.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CMy3DApp
BEGIN_MESSAGE_MAP(CMy3DApp?CWinApp)
//{{AFX_MSG_MAP(CMy3DApp)
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()
/////////////////////////////////////////////////////////////////////////////
//?CMy3DApp?construction
CMy3DApp::CMy3DApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CMy3DApp?object
CMy3DApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CMy3DApp?initialization
BOOL?CMy3DApp::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(CMy3DDoc)
RUNTIME_CLASS(CMainframe)???????//?main?SDI?frame?window
RUNTIME_CLASS(CMy3DView));
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?window?has?been?initialized?so?show?and?update?it.
m_pMainWnd->ShowWindow(SW_SHOW);
m_pMainWnd->UpdateWindow();
return?TRUE;
}
/////////////////////////////////
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????2102??2008-10-12?13:37??3D\dlg_proc.cpp
?????文件???????3063??2008-12-16?13:51??3D\3D.clw
?????文件???????4163??2008-04-27?19:09??3D\3D.cpp
?????文件????????512??2008-04-27?19:09??3D\3D.dsw
?????文件???????1322??2008-04-27?19:13??3D\3D.h
?????文件?????394240??2008-12-16?13:52??3D\3D.ncb
?????文件????????238??2008-12-16?13:51??3D\3D.plg
?????文件????????923??2008-07-28?16:06??3D\3DPoint.h
?????文件????????535??2008-11-06?10:52??3D\3DPoint.cpp
?????文件??????16787??2008-04-27?21:30??3D\3DView.cpp
?????文件???????3821??2008-04-27?21:30??3D\3DView.h
?????文件???????3094??2008-06-16?17:10??3D\Dib.cpp
?????文件????????886??2008-06-16?12:07??3D\Dib.h
?????文件???????2120??2008-04-18?21:29??3D\DLG_Preproc.cpp
?????文件???????1275??2008-04-18?21:29??3D\DLG_Preproc.h
?????文件???????1251??2008-04-27?20:02??3D\dlg_proc.h
?????文件???????4838??2008-04-26?22:35??3D\lasdefinitions.h
?????文件??????12347??2008-04-26?22:35??3D\lasreader.cpp
?????文件???????1605??2008-04-26?22:35??3D\lasreader.h
?????文件???????9146??2008-04-22?09:34??3D\laswriter.cpp
?????文件???????1619??2008-04-22?09:34??3D\laswriter.h
?????文件???????2890??2008-04-27?19:11??3D\MainFrm.cpp
?????文件???????1755??2008-04-27?19:13??3D\MainFrm.h
?????文件???????4229??2008-04-27?19:05??3D\ReadMe.txt
?????文件???????2259??2008-11-06?11:43??3D\resource.h
?????文件????????204??2008-04-27?19:05??3D\StdAfx.cpp
?????文件???????1054??2008-04-27?19:05??3D\StdAfx.h
?????文件???????1309??2008-07-25?14:32??3D\dlg_Addpt.h
?????文件???????2642??2008-07-25?14:36??3D\dlg_Addpt.cpp
?????文件???????1456??2008-07-30?08:46??3D\dlg_ptextract.h
............此處省略52個文件信息
- 上一篇:C/C++文件系統樹狀結構
- 下一篇:單向鏈表類模板全C++
評論
共有 條評論