PlateLocateDoc.h
资源名称:车牌识别.rar [点击查看]
上传用户:sgmlaoniu
上传日期:2013-03-16
资源大小:403k
文件大小:2k
源码类别:
Windows编程
开发平台:
Visual C++
- // PlateLocateDoc.h : interface of the CPlateLocateDoc class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_PLATELOCATEDOC_H__445B85D3_FDD8_4CA6_AD10_23C72A597E68__INCLUDED_)
- #define AFX_PLATELOCATEDOC_H__445B85D3_FDD8_4CA6_AD10_23C72A597E68__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "dibapi.h"
- class CPlateLocateDoc : public CDocument
- {
- protected: // create from serialization only
- CPlateLocateDoc();
- DECLARE_DYNCREATE(CPlateLocateDoc)
- // Attributes
- public:
- HDIB GetHDIB() const
- { return m_hDIB; }
- CPalette* GetDocPalette() const
- { return m_palDIB; }
- CSize GetDocSize() const
- { return m_sizeDoc; }
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CPlateLocateDoc)
- public:
- virtual BOOL OnNewDocument();
- virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
- virtual BOOL OnSaveDocument(LPCTSTR lpszPathName);
- virtual void Serialize(CArchive& ar);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- void ReplaceHDIB(HDIB hDIB);
- COLORREF m_refColorBKG;
- void InitDIBData();
- virtual ~CPlateLocateDoc();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- HDIB m_hDIB;
- CPalette* m_palDIB;
- CSize m_sizeDoc;
- //{{AFX_MSG(CPlateLocateDoc)
- // NOTE - the ClassWizard will add and remove member functions here.
- // DO NOT EDIT what you see in these blocks of generated code !
- afx_msg void OnFileReopen();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_PLATELOCATEDOC_H__445B85D3_FDD8_4CA6_AD10_23C72A597E68__INCLUDED_)