⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 followlinedlg.h

📁 智能小车导航
💻 H
字号:
// FollowLineDlg.h : header file
//

#if !defined(AFX_FOLLOWLINEDLG_H__8AB4B95F_F54D_432D_9968_F715270CAB2C__INCLUDED_)
#define AFX_FOLLOWLINEDLG_H__8AB4B95F_F54D_432D_9968_F715270CAB2C__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CFollowLineDlg dialog
#include "imagemanager.h"
#include "PID.h"


class CFollowLineDlg : public CDialog
{
// Construction
public:
	CPID pid;
	bool m_bExecuting;
	CRect m_rcOrignImage;
	CWinThread *m_pSensorThread;
	BYTE * m_pOrignImage;
	void SetControlPos();
	CFollowLineDlg(CWnd* pParent = NULL);	// standard constructor

	CImageManager m_ImageManager;

	///added
	HGLOBAL m_hResImage;
	BYTE *m_pResImage;
	////////
	

	bool m_Infra_FrontLeft;
	bool m_Infra_FrontMid;
	bool m_Infra_FrontRight;
	bool m_Infra_Left45;
	bool m_Infra_Right45;
	bool m_Infra_LeftFront;
	bool m_Infra_LeftBack;
	bool m_Infra_RightFront;
	bool m_Infra_RightBack;	
	bool m_Infra_BackLeft;
	bool m_Infra_BackMid;
	bool m_Infra_BackRight;	
	bool m_Infra_FrontLong;
	bool m_Infra_BackLong;
	bool m_Infra_RightLong;
	bool m_Infra_LeftLong;
	bool m_Infra_Left45Long;
	bool m_Infra_Right45Long;
// Dialog Data
	//{{AFX_DATA(CFollowLineDlg)
	enum { IDD = IDD_FOLLOWLINE_DIALOG };
	float	m_Ultra_Left;
	float	m_Ultra_Left45;
	float	m_Ultra_LeftBack;
	float	m_Ultra_LeftFront;
	float	m_Ultra_Right;
	float	m_Ultra_Right45;
	float	m_Ultra_RightBack;
	float	m_Ultra_RightFront;
	//}}AFX_DATA

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

// Implementation
protected:

	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CFollowLineDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnStart();
	afx_msg void OnDestroy();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_FOLLOWLINEDLG_H__8AB4B95F_F54D_432D_9968_F715270CAB2C__INCLUDED_)

⌨️ 快捷键说明

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