资源简介
数字摄影测量作业,相关系数法匹配+harris点特征提取算子。非常简便合适的mfc程序.
代码片段和文件信息
// 2048.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “2048.h“
#include “MainFrm.h“
#include “2048Doc.h“
#include “2048View.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// C2048App
BEGIN_MESSAGE_MAP(C2048App CWinApp)
//{{AFX_MSG_MAP(C2048App)
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()
/////////////////////////////////////////////////////////////////////////////
// C2048App construction
C2048App::C2048App()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only C2048App object
C2048App theApp;
/////////////////////////////////////////////////////////////////////////////
// C2048App initialization
BOOL C2048App::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(C2048Doc)
RUNTIME_CLASS(CMainframe) // main SDI frame window
RUNTIME_CLASS(C2048View));
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;
}
/////////////////////////
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 74752 2014-05-05 10:31 2048\2011302590089.ncb
文件 53760 2014-05-05 10:31 2048\2011302590089.opt
文件 31303 2014-05-05 10:33 2048\2048.aps
文件 4434 2014-05-05 10:33 2048\2048.clw
文件 4173 2014-05-05 10:33 2048\2048.cpp
文件 5139 2014-05-05 10:33 2048\2048.dsp
文件 516 2014-05-05 10:33 2048\2048.dsw
文件 1334 2014-05-05 10:33 2048\2048.h
文件 1216 2014-05-05 10:33 2048\2048.plg
文件 14448 2014-05-05 10:33 2048\2048.rc
文件 12079 2014-05-05 10:33 2048\2048DOC.cpp
文件 1751 2014-05-05 10:33 2048\2048DOC.h
文件 2789 2014-05-05 10:33 2048\2048VIEW.cpp
文件 1936 2014-05-05 10:33 2048\2048VIEW.h
文件 6304 2014-05-05 10:33 2048\BmpFile.h
文件 1101 2014-05-05 10:33 2048\leftDlg.cpp
文件 1190 2014-05-05 10:33 2048\leftDlg.h
文件 2643 2014-05-05 10:33 2048\LeftView.cpp
文件 1465 2014-05-05 10:33 2048\LeftView.h
文件 2951 2014-05-05 10:33 2048\MainFrm.cpp
文件 1569 2014-05-05 10:33 2048\MainFrm.h
文件 56832 2014-05-04 23:42 2048\match.opt
文件 1684 2014-05-05 10:33 2048\open.cpp
文件 1171 2014-05-05 10:33 2048\open.h
文件 4263 2014-05-05 10:33 2048\ReadMe.txt
文件 1078 2014-05-05 10:33 2048\res\2048.ico
文件 396 2014-05-05 10:33 2048\res\2048.rc2
文件 1078 2014-05-05 10:33 2048\res\2048DOC.ico
文件 1078 2013-05-16 13:52 2048\res\Toolbar.bmp
文件 1282 2014-05-05 10:33 2048\resource.h
............此处省略12个文件信息
评论
共有 条评论