📄 pftrackdlg.h
字号:
// PfTrackDlg.h : header file
//
#if !defined(AFX_PFTRACKDLG_H__E3055FF2_D899_44DE_A888_53EF90BA4CC7__INCLUDED_)
#define AFX_PFTRACKDLG_H__E3055FF2_D899_44DE_A888_53EF90BA4CC7__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Videownd.h"
#include "PathDlg.h"
#include "cv.h"
#include "highgui.h"
#include "math.h"
/////////////////////////////////////////////////////////////////////////////
// CPfTrackDlg dialog
class CPfTrackDlg : public CDialog
{
// Attributes
// Construction
public:
void DrawScene();
float velocity;//跟踪对象移动的速度
int distant;//跟踪对象移动的距离
CPfTrackDlg(CWnd* pParent = NULL); // standard constructor
CVideoWnd videownd;
CPathDlg cpathdlg;
// Dialog Data
//{{AFX_DATA(CPfTrackDlg)
enum { IDD = IDD_PFTRACK_DIALOG };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPfTrackDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CPfTrackDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnButtonPath();
afx_msg void OnOpenvideo();
afx_msg void OnButtonTrack();
afx_msg void OnAnalyse();
afx_msg void OnOpenFile();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PFTRACKDLG_H__E3055FF2_D899_44DE_A888_53EF90BA4CC7__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -