⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gamatchview.cpp

📁 数字摄影测量相关算法编程,在VC环境下实现影像特征点提取.
💻 CPP
字号:
// GaMatchView.cpp : implementation of the CGaMatchView class
//

#include "stdafx.h"
#include "GaMatch.h"
#include "windows.h"
#include "windowsx.h"
#include "GaMatchDoc.h"
#include "GaMatchView.h"

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

/////////////////////////////////////////////////////////////////////////////
// CGaMatchView

IMPLEMENT_DYNCREATE(CGaMatchView, CView)

BEGIN_MESSAGE_MAP(CGaMatchView, CView)
	//{{AFX_MSG_MAP(CGaMatchView)
	//}}AFX_MSG_MAP
	// Standard printing commands
	ON_COMMAND(ID_FILE_PRINT, CView::OnFilePrint)
	ON_COMMAND(ID_FILE_PRINT_DIRECT, CView::OnFilePrint)
	ON_COMMAND(ID_FILE_PRINT_PREVIEW, CView::OnFilePrintPreview)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CGaMatchView construction/destruction

CGaMatchView::CGaMatchView()
{
	// TODO: add construction code here

}

CGaMatchView::~CGaMatchView()
{
}

BOOL CGaMatchView::PreCreateWindow(CREATESTRUCT& cs)
{
	// TODO: Modify the Window class or styles here by modifying
	//  the CREATESTRUCT cs

	return CView::PreCreateWindow(cs);
}

/////////////////////////////////////////////////////////////////////////////
// CGaMatchView drawing

void CGaMatchView::OnDraw(CDC* pDC)
{
	CGaMatchDoc* pDoc = GetDocument();
	ASSERT_VALID(pDoc);
	// TODO: add draw code for native data here
}

/////////////////////////////////////////////////////////////////////////////
// CGaMatchView printing

BOOL CGaMatchView::OnPreparePrinting(CPrintInfo* pInfo)
{
	// default preparation
	return DoPreparePrinting(pInfo);
}

void CGaMatchView::OnBeginPrinting(CDC* /*pDC*/, CPrintInfo* /*pInfo*/)
{
	// TODO: add extra initialization before printing
}

void CGaMatchView::OnEndPrinting(CDC* /*pDC*/, CPrintInfo* /*pInfo*/)
{
	// TODO: add cleanup after printing
}

/////////////////////////////////////////////////////////////////////////////
// CGaMatchView diagnostics

#ifdef _DEBUG
void CGaMatchView::AssertValid() const
{
	CView::AssertValid();
}

void CGaMatchView::Dump(CDumpContext& dc) const
{
	CView::Dump(dc);
}

CGaMatchDoc* CGaMatchView::GetDocument() // non-debug version is inline
{
	ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CGaMatchDoc)));
	return (CGaMatchDoc*)m_pDocument;
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CGaMatchView message handlers







⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -