LiFengDoc.cpp
资源名称:虚拟地形建模.rar [点击查看]
上传用户:dfjhuyju
上传日期:2013-03-13
资源大小:11035k
文件大小:2k
源码类别:
OpenGL
开发平台:
Visual C++
- // LiFengDoc.cpp : implementation of the CLiFengDoc class
- //
- #include "stdafx.h"
- #include "LiFeng.h"
- #include "LiFengDoc.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CLiFengDoc
- IMPLEMENT_DYNCREATE(CLiFengDoc, CDocument)
- BEGIN_MESSAGE_MAP(CLiFengDoc, CDocument)
- //{{AFX_MSG_MAP(CLiFengDoc)
- // 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
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CLiFengDoc construction/destruction
- CLiFengDoc::CLiFengDoc()
- {
- // TODO: add one-time construction code here
- }
- CLiFengDoc::~CLiFengDoc()
- {
- }
- BOOL CLiFengDoc::OnNewDocument()
- {
- if (!CDocument::OnNewDocument())
- return FALSE;
- // TODO: add reinitialization code here
- // (SDI documents will reuse this document)
- return TRUE;
- }
- /////////////////////////////////////////////////////////////////////////////
- // CLiFengDoc serialization
- void CLiFengDoc::Serialize(CArchive& ar)
- {
- if (ar.IsStoring())
- {
- // TODO: add storing code here
- }
- else
- {
- // TODO: add loading code here
- }
- }
- /////////////////////////////////////////////////////////////////////////////
- // CLiFengDoc diagnostics
- #ifdef _DEBUG
- void CLiFengDoc::AssertValid() const
- {
- CDocument::AssertValid();
- }
- void CLiFengDoc::Dump(CDumpContext& dc) const
- {
- CDocument::Dump(dc);
- }
- #endif //_DEBUG
- /////////////////////////////////////////////////////////////////////////////
- // CLiFengDoc commands