www.pudn.com > MyImageDB(imageobject).rar > SegmentPara.h


#if !defined(AFX_SEGMENTPARA_H__D2E26113_0297_4A6E_A47E_0C1078F3C9FD__INCLUDED_) 
#define AFX_SEGMENTPARA_H__D2E26113_0297_4A6E_A47E_0C1078F3C9FD__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// SegmentPara.h : header file 
// 
 
///////////////////////////////////////////////////////////////////////////// 
// CSegmentPara dialog 
 
class CSegmentPara : public CDialog 
{ 
// Construction 
public: 
	CSegmentPara(CWnd* pParent = NULL);   // standard constructor 
    void  AddExistClass(CString className);//在“现存类”列表中添加项; 
	CString   GetClassToAddPoints();//得到当前选择的现存点类,准备用于为该类添加训练点; 
	CString*  GetSelectClass(INT& count, INT& selIndex);//得到当前选择用于分割的类项, 返回类项数组,count中为数组中的元素个数, selIndex为当前选择项的序号; 
 
	INT GetCurEvent();//得到当前发生的事件; 
	void ClearEvent();//清事件标记; 
	CString GetExistListSelect();//得到现存列表中的选择项; 
 
// Dialog Data 
	//{{AFX_DATA(CSegmentPara) 
	enum { IDD = IDD_SEARCHPARA }; 
	CListBox	mySelectClass; 
	CListBox	myExistClass; 
	//}}AFX_DATA 
 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CSegmentPara) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	afx_msg void OnContextMenu(CWnd*, CPoint point); 
	CString newAddName; 
	BOOL isSelectChange, isExistChange, isAddSelect, isRemoveSelect, isAddNewClass, isDeleteClass; 
 
	// Generated message map functions 
	//{{AFX_MSG(CSegmentPara) 
	afx_msg void OnNew(); 
	afx_msg void OnDelete(); 
	afx_msg void OnAdd(); 
	afx_msg void OnRemove(); 
	afx_msg void OnSelchangeExistclass(); 
	afx_msg void OnSelchangeSelectlist(); 
	afx_msg void OnDestroy(); 
	afx_msg void OnAddall(); 
	afx_msg void OnClearall(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_SEGMENTPARA_H__D2E26113_0297_4A6E_A47E_0C1078F3C9FD__INCLUDED_)