www.pudn.com > BPLetterRecognation.rar > BPNetworkView.h


// BPNetworkView.h : interface of the CBPNetworkView class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_BPNETWORKVIEW_H__4E348FE6_8584_4E77_92EA_3FB7EF774C41__INCLUDED_) 
#define AFX_BPNETWORKVIEW_H__4E348FE6_8584_4E77_92EA_3FB7EF774C41__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
 
class CBPNetworkView : public CView 
{ 
protected: // create from serialization only 
	CBPNetworkView(); 
	DECLARE_DYNCREATE(CBPNetworkView) 
 
// Attributes 
public: 
	CBPNetworkDoc* GetDocument(); 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CBPNetworkView) 
	public: 
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	protected: 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	void DrawSample(CDC* pDC); 
	int displaysample; 
	int displaylearn; 
	int displayoutput; 
	int displayinput; 
	double outputarray[64]; 
	CRect Rect_output[64]; 
	CRect Rect_input[64]; 
	int inputstate; 
	double inputarray[64]; 
 
public: 
	virtual ~CBPNetworkView(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CBPNetworkView) 
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point); 
	afx_msg void OnMenuClear(); 
	afx_msg void OnMenuLearn(); 
	afx_msg void OnMenuRecognize(); 
	afx_msg void OnMenuSample(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
#ifndef _DEBUG  // debug version in BPNetworkView.cpp 
inline CBPNetworkDoc* CBPNetworkView::GetDocument() 
   { return (CBPNetworkDoc*)m_pDocument; } 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_BPNETWORKVIEW_H__4E348FE6_8584_4E77_92EA_3FB7EF774C41__INCLUDED_)