www.pudn.com > 人体步态跟踪识别bate版.rar > humantrackDoc.h


// humantrackDoc.h : interface of the CHumantrackDoc class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_HUMANTRACKDOC_H__0DF77F5B_6487_46EA_B78E_74486E000DE8__INCLUDED_) 
#define AFX_HUMANTRACKDOC_H__0DF77F5B_6487_46EA_B78E_74486E000DE8__INCLUDED_ 
 
#include "TrackMotion.h"	// Added by ClassView 
#include "FramePath.h"	// Added by ClassView 
#include "KalmanFilter.h"	// Added by ClassView 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
#include "dibapi.h" 
#include "BackGround.h"	// Added by ClassView 
 
class CHumantrackDoc : public CDocument 
{ 
protected: // create from serialization only 
	CHumantrackDoc(); 
	DECLARE_DYNCREATE(CHumantrackDoc) 
 
// Attributes 
public: 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CHumantrackDoc) 
	public: 
	virtual BOOL OnNewDocument(); 
	virtual void Serialize(CArchive& ar); 
	virtual BOOL OnSaveDocument(LPCTSTR lpszPathName); 
	virtual BOOL OnOpenDocument(LPCTSTR lpszPathName); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	CTrackMotion tm; 
	CBackGround bg; 
	CKalmanFilter kl;  //卡尔曼滤波对象 
	CFramePath FramePathDlg; 
	void ReplaceHDIB(HDIB hDIB); 
	void InitDIBData(); 
	HDIB m_hDIB; 
	CPalette* m_palDIB; 
	CSize m_sizeDoc; 
 
	HDIB GetHDIB() const		    //取得DIB句柄 
	{ return m_hDIB; } 
 
	CPalette* GetDocPalette() const	//取得调色板句柄 
	{ return m_palDIB; } 
 
	CSize GetDocSize() const		//取得文档大小 
	{ return m_sizeDoc; } 
 
	virtual ~CHumantrackDoc(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CHumantrackDoc) 
	afx_msg void OnCaptureBackGround(); 
	afx_msg void OnMotionTrack(); 
	afx_msg void OnKalmanFilter(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_HUMANTRACKDOC_H__0DF77F5B_6487_46EA_B78E_74486E000DE8__INCLUDED_)