www.pudn.com > Kalman--C++.rar > Kalman2View.h


// Kalman2View.h : interface of the CKalman2View class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_KALMAN2VIEW_H__F8C33932_8C06_49CF_9718_4F40F5A3C442__INCLUDED_) 
#define AFX_KALMAN2VIEW_H__F8C33932_8C06_49CF_9718_4F40F5A3C442__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
#include "Singer.h" 
 
class CKalman2View : public CView 
{ 
 
 
	double alfa;//机动频率 
	int M;//计算误差滤波次数 
	double A;//加速度分布方差 
	CSinger singer; 
	BOOL m_Model;//是否使用当前统计模型 
protected: // create from serialization only 
	CKalman2View(); 
	DECLARE_DYNCREATE(CKalman2View) 
 
// Attributes 
public: 
	CKalman2Doc* GetDocument(); 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CKalman2View) 
	public: 
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	protected: 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	virtual ~CKalman2View(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CKalman2View) 
	afx_msg void OnDisplay(); 
	afx_msg void OnDisError(); 
	afx_msg void OnFilterLms(); 
	afx_msg void OnLmsError(); 
	afx_msg void OnParaSet(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
#ifndef _DEBUG  // debug version in Kalman2View.cpp 
inline CKalman2Doc* CKalman2View::GetDocument() 
   { return (CKalman2Doc*)m_pDocument; } 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_KALMAN2VIEW_H__F8C33932_8C06_49CF_9718_4F40F5A3C442__INCLUDED_)