📄 fastrbfdoc.h
字号:
// FastRBFDoc.h : interface of the CFastRBFDoc class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_FASTRBFDOC_H__950B7510_933D_4796_90A3_9075500899B6__INCLUDED_)
#define AFX_FASTRBFDOC_H__950B7510_933D_4796_90A3_9075500899B6__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Mesh.h"
#include "RBFunc.h"
#include <afxtempl.h>
class CFastRBFDoc : public CDocument
{
protected: // create from serialization only
CFastRBFDoc();
DECLARE_DYNCREATE(CFastRBFDoc)
// Attributes
private:
void AddToRecentFileList(LPCTSTR lpszPathName);
int m_iDisplayMode;
PointSet *m_pPointSet;
CArray <Mesh*, Mesh*> m_pMeshArray;
Mesh* m_pMesh;
CString m_sFileName;
RBFunc *m_pRbf;
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFastRBFDoc)
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
virtual BOOL OnSaveDocument(LPCTSTR lpszPathName);
//}}AFX_VIRTUAL
// Implementation
public:
void DrawObjects();
virtual ~CFastRBFDoc();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
void OpenFile(CString filePath, CString fileName, CString fileExt);
// Generated message map functions
protected:
//{{AFX_MSG(CFastRBFDoc)
afx_msg void OnFileOpen();
afx_msg void OnPoints();
afx_msg void OnShadedpoints();
afx_msg void OnBoundingbox();
afx_msg void OnSmoothshading();
afx_msg void OnPolygonize();
afx_msg void OnDirectfit();
afx_msg void OnWireframes();
afx_msg void OnShadedwireframes();
afx_msg void OnSolid();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_FASTRBFDOC_H__950B7510_933D_4796_90A3_9075500899B6__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -