www.pudn.com > PlateReco.rar > PlateRecoView.h


// PlateRecoView.h : interface of the CPlateRecoView class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_PLATERECOVIEW_H__17A9BDDE_EE79_4A03_9382_EA9CB637DAA4__INCLUDED_) 
#define AFX_PLATERECOVIEW_H__17A9BDDE_EE79_4A03_9382_EA9CB637DAA4__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
#include "Dibapi.h" 
 
 
class CPlateRecoView : public CScrollView 
{ 
protected: // create from serialization only 
	CPlateRecoView(); 
	DECLARE_DYNCREATE(CPlateRecoView) 
 
// Attributes 
public: 
	CPlateRecoDoc* GetDocument(); 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CPlateRecoView) 
	public: 
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	virtual void OnInitialUpdate(); // called first time after construct 
	protected: 
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo); 
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo); 
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	int m_iPlateType; 
	int m_iPlateLine[40]; 
	unsigned char m_cRecoChar[6]; 
	float m_fCodeStruct[16]; 
	float m_fCode13Sect[13]; 
	float m_fCode16Sect[6][16]; 
	int m_iPlatePosition[5]; 
	int m_iWidth; 
	int m_iHeight; 
	virtual ~CPlateRecoView(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CPlateRecoView) 
	afx_msg void OnLPRplatelocation(); 
	afx_msg LRESULT OnDoRealize(WPARAM wParam, LPARAM lParam);  // user message 
	afx_msg void OnLPRplate2binarycolor(); 
	afx_msg void OnLPRplatenorm(); 
	afx_msg void OnLPRplatecharthinning(); 
	afx_msg void OnLPRfeature16seg(); 
	afx_msg void OnLPRplatereco(); 
	afx_msg void OnLPRplatepreprocessall(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
#ifndef _DEBUG  // debug version in PlateRecoView.cpp 
inline CPlateRecoDoc* CPlateRecoView::GetDocument() 
   { return (CPlateRecoDoc*)m_pDocument; } 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_PLATERECOVIEW_H__17A9BDDE_EE79_4A03_9382_EA9CB637DAA4__INCLUDED_)