dlgonsaveas.h

来自「动态场景中运动目标检测提取与跟踪 对新手很有用」· C头文件 代码 · 共 68 行

H
68
字号



#if !defined(AFX_DLGONSAVEAS_H__DFE3B0C9_27A0_4348_A2E5_6835A8B2BEF7__INCLUDED_)
#define AFX_DLGONSAVEAS_H__DFE3B0C9_27A0_4348_A2E5_6835A8B2BEF7__INCLUDED_



#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgOnSaveAs.h : header file
//
#include "cv.h"
#include "highgui.h"
/////////////////////////////////////////////////////////////////////////////
// CDlgOnSaveAs dialog

class CDlgOnSaveAs : public CDialog
{
// Construction
public:
 	
	CDlgOnSaveAs(CWnd* pParent = NULL);   // standard constructor
	CDlgOnSaveAs(CvCapture* pCapture, int pos,CvVideoWriter* writer,
		CString winName, CString tractorbarName,CWnd* pParent = NULL); 

// Dialog Data
	//{{AFX_DATA(CDlgOnSaveAs)
	enum { IDD = IDD_DIALOG_SAVEAS };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDlgOnSaveAs)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	int pos;
 	CvCapture* pCapture;
	bool isStart;
	IplImage* pImage;
	CString winName;
	CString tracBarName;
	CvVideoWriter* writer;

	// Generated message map functions
	//{{AFX_MSG(CDlgOnSaveAs)
	afx_msg void OnButtonStart();
	afx_msg void OnButtonStop();
	afx_msg void OnClose();
	virtual BOOL OnInitDialog();
	afx_msg void OnButtonForframe();
	afx_msg void OnButtonLatframe();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DLGONSAVEAS_H__DFE3B0C9_27A0_4348_A2E5_6835A8B2BEF7__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?