📄 logdoc.h
字号:
// LogDoc.h : interface of the CLogDoc class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_LOGDOC_H__AE229AFD_E268_4998_9FEA_4D28DACEE963__INCLUDED_)
#define AFX_LOGDOC_H__AE229AFD_E268_4998_9FEA_4D28DACEE963__INCLUDED_
#include "WrapBitmap.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CWrapBitmap; //声名类
class CLogDoc : public CDocument
{
protected: // create from serialization only
CLogDoc();
DECLARE_DYNCREATE(CLogDoc)
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CLogDoc)
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
virtual BOOL OnOpenDocument(LPCTSTR lpszPathName); //打开一个位图文件
virtual BOOL OnSaveDocument(LPCTSTR lpszPathName);
//}}AFX_VIRTUAL
// Implementation
public:
BOOL StartFilter(const int nType); //以nType伟类型的模板滤波
CWrapBitmap* GetWrapBitmap(); //返回位图包裹类指针
virtual ~CLogDoc();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CLogDoc)
afx_msg void OnFilterLog(); //LOG滤波
afx_msg void OnFileSave();
afx_msg void OnFilterLap();
afx_msg void OnFilterGauss();
afx_msg void OnColorYuzhi();
afx_msg void OnMorphDilate();
afx_msg void OnMorphErode();
afx_msg void OnMorphSkeleton();
afx_msg void OnMorphOpen();
afx_msg void OnMorphThinning();
afx_msg void OnColorShape();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CWrapBitmap m_WrapBitmap; //位图包裹类
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_LOGDOC_H__AE229AFD_E268_4998_9FEA_4D28DACEE963__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -