bmpdisplayview.h
来自「用VC编写的基于K-means的车牌识别程序」· C头文件 代码 · 共 81 行
H
81 行
// BmpDisplayView.h : interface of the CBmpDisplayView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_BMPDISPLAYVIEW_H__0D88457D_02F9_4C4F_83EA_523DE095DA04__INCLUDED_)
#define AFX_BMPDISPLAYVIEW_H__0D88457D_02F9_4C4F_83EA_523DE095DA04__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CBmpDisplayView : public CView
{
protected: // create from serialization only
CBmpDisplayView();
DECLARE_DYNCREATE(CBmpDisplayView)
// Attributes
public:
CBmpDisplayDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBmpDisplayView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
bool useflag;
bool jflag;
virtual ~CBmpDisplayView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
int EZ[800][360];
BYTE* vlpBuf;//右边图像数据
int vEZ[800][360];
int tEZ[800][360];
int diedai;
// Generated message map functions
protected:
//{{AFX_MSG(CBmpDisplayView)
afx_msg void OnPaint();
afx_msg void OnRgbtogray();
afx_msg void Onjunhenghua();
afx_msg void OnBianYuanJianChe();
afx_msg void OnQyqd();
afx_msg void OnEzbz();
afx_msg void OnHxqy();
afx_msg void OnJqdw();
afx_msg void OnJlfg();
afx_msg void OnCldw();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in BmpDisplayView.cpp
inline CBmpDisplayDoc* CBmpDisplayView::GetDocument()
{ return (CBmpDisplayDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BMPDISPLAYVIEW_H__0D88457D_02F9_4C4F_83EA_523DE095DA04__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?