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

📄 contourdoc.cpp

📁 Kriging 算法实现 2维和3维地图等高线.
💻 CPP
字号:
// ContourDoc.cpp : implementation file
//

#include "stdafx.h"
#include "WaferPainter.h"
#include "ContourDoc.h"
#include "ContourView.h"

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

/////////////////////////////////////////////////////////////////////////////
// CContourDoc

IMPLEMENT_DYNCREATE(CContourDoc, CDocument)

CContourDoc::CContourDoc()
{
}

BOOL CContourDoc::OnNewDocument()
{
	if (!CDocument::OnNewDocument())
		return FALSE;
	return TRUE;
}

CContourDoc::~CContourDoc()
{
}


BEGIN_MESSAGE_MAP(CContourDoc, CDocument)
	//{{AFX_MSG_MAP(CContourDoc)
		// NOTE - the ClassWizard will add and remove mapping macros here.
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CContourDoc diagnostics

#ifdef _DEBUG
void CContourDoc::AssertValid() const
{
	CDocument::AssertValid();
}

void CContourDoc::Dump(CDumpContext& dc) const
{
	CDocument::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CContourDoc serialization

void CContourDoc::Serialize(CArchive& ar)
{
	CContourView* pView = static_cast<CContourView*>(m_viewList.GetHead());

	if (ar.IsStoring())
	{
		// TODO: add storing code here
	}
	else
	{
		// TODO: add loading code here
	}
}

/////////////////////////////////////////////////////////////////////////////
// CContourDoc commands

void CContourDoc::Init(LPCTSTR lpszPathName)
{
	m_ir.Read(lpszPathName);
	SetTitle(_T("Untitled.bmp"));
}

⌨️ 快捷键说明

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