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

📄 jiugongdlg.h

📁 本程序中列举了数字图象模式识别领域中的常用程序,可以在其基础上进行图象处理.
💻 H
字号:
// JiugongDlg.h : header file

#if !defined(AFX_JIUGONGDLG_H__D45D787F_FB0D_4560_9EED_23FA030D29E3__INCLUDED_)
#define AFX_JIUGONGDLG_H__D45D787F_FB0D_4560_9EED_23FA030D29E3__INCLUDED_

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

#include "JiuG.h"

/////////////////////////////////////////////////////////////////////////////
// CJiugongDlg dialog

class CJiugongDlg : public CDialog
{
protected:
	CJiuG m_jiugong;//九宫状态
// Construction
public:
	bool m_bobjdown;//指示是否由目标状态输入
	bool m_binitdown;//只是是否有初始状态输入
	int m_nstep;//当前运算的步数
	CJiugongDlg(CWnd* pParent = NULL);	// standard constructor
	void DrawJiuGong(CDC *pDC,int state[3][3]);//画九宫
	bool CheckData(int state[3][3]);//检查数据的有效性

// Dialog Data
	//{{AFX_DATA(CJiugongDlg)
	enum { IDD = IDD_JIUGONG_DIALOG };
	CButton	m_bshow;
	CButton	m_bsearch;
	CButton	m_bup;
	CButton	m_bright;
	CButton	m_bleft;
	CButton	m_bdown;
	CString	m_stringState;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;
	CDC *pDCInit,*pDCObj,*pDCCur;

	// Generated message map functions
	//{{AFX_MSG(CJiugongDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnButtonDown();
	afx_msg void OnButtonInputInit();
	afx_msg void OnButtonInputObj();
	afx_msg void OnButtonLeft();
	afx_msg void OnButtonRight();
	afx_msg void OnButtonSearch();
	afx_msg void OnButtonShow();
	afx_msg void OnButtonUp();
	afx_msg void OnRadioMac();
	afx_msg void OnRadioMan();
	afx_msg void OnButtonAuto();
	afx_msg void OnButtonDepth();
	afx_msg void OnButtonHuifu();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_JIUGONGDLG_H__D45D787F_FB0D_4560_9EED_23FA030D29E3__INCLUDED_)

⌨️ 快捷键说明

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