📄 superviseddlg.h
字号:
#if !defined(AFX_SUPERVISEDDLG_H__586D5420_694B_11D3_8B6A_0000E83F643B__INCLUDED_)
#define AFX_SUPERVISEDDLG_H__586D5420_694B_11D3_8B6A_0000E83F643B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "ClassifyInfoFile.h"
// SupervisedDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CSupervisedDlg dialog
class CSupervisedDlg : public CDialog
{
// Construction
public:
CSupervisedDlg(CWnd* pParent = NULL); // standard constructor
CRSClassifyInfoFile m_RsClassInfoFile;
// Dialog Data
//{{AFX_DATA(CSupervisedDlg)
enum { IDD = IDD_SUPERVISEDCLASSDLG };
CListBox m_ImageList;
int m_nImgHeight;
int m_nImgWidth;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSupervisedDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CSupervisedDlg)
afx_msg void OnBrowsefile();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
// CTrainingAreaDlg dialog
class CTrainingAreaDlg : public CDialog
{
// Construction
public:
CTrainingAreaDlg(CWnd* pParent = NULL); // standard constructor
BOOL AddTrainingArea(POINT *pptPoint,int nPointCount,CString szClassName,COLORREF clrColor);
void ListClassName(CPtrArray &aClassInfoArray);
// Dialog Data
//{{AFX_DATA(CTrainingAreaDlg)
enum { IDD = IDD_TRAININGAREADLG };
CListCtrl m_ClassList;
int m_nImgHeight;
int m_nImgWidth;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTrainingAreaDlg)
public:
virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
CView *m_pView;
CRSClassifyInfoFile m_RsClassInfoFile;
// Generated message map functions
//{{AFX_MSG(CTrainingAreaDlg)
afx_msg void OnImagelist();
virtual void OnOK();
afx_msg void OnDestroy();
virtual void OnCancel();
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
// CImgListDlg dialog
class CImgListDlg : public CDialog
{
// Construction
public:
CImgListDlg(CWnd* pParent = NULL); // standard constructor
~CImgListDlg();
CPtrArray m_aImageArray;
// Dialog Data
//{{AFX_DATA(CImgListDlg)
enum { IDD = IDD_IMAGELISTDLG };
CListBox m_ImgList;
int m_nImgHeight;
int m_nImgWidth;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CImgListDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CImgListDlg)
afx_msg void OnBrowsefile();
afx_msg void OnRemoveimage();
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SUPERVISEDDLG_H__586D5420_694B_11D3_8B6A_0000E83F643B__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -