?? k_averagedoc.h
字號:
// K_averageDoc.h : interface of the CK_averageDoc class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_K_AVERAGEDOC_H__CEE7C11E_EBA0_43B1_8F5B_84B19938DEDF__INCLUDED_)
#define AFX_K_AVERAGEDOC_H__CEE7C11E_EBA0_43B1_8F5B_84B19938DEDF__INCLUDED_
#include "iostream.h"
#include "classDlg.h"
#include <vector>
using namespace std;
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CK_averageDoc : public CDocument
{
protected: // create from serialization only
CK_averageDoc();
DECLARE_DYNCREATE(CK_averageDoc)
// Attributes
public:
vector<CPoint> vec_feature_point; //保存所有的特征向量(二維)
CPoint feature_point;
vector <CPoint>vec_point1; //保存第一類的特征向量(二維)
CPoint m_point1;
vector <CPoint>vec_point2; //保存第二類的特征向量(二維)
CPoint m_point2;
///////////////////////////////////處理多類問題的變量///////////////////////////////////////
typedef vector<CPoint> Cvec_pt1;
vector<Cvec_pt1> vec_point_class;
int m_class_num;
int m_first_center;
// Cvec_pt1 vec_mypt;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CK_averageDoc)
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
virtual BOOL OnSaveDocument(LPCTSTR lpszPathName);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CK_averageDoc();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CK_averageDoc)
afx_msg void OnMenuiKaverage();
afx_msg void OnMenuiSaveClassresult();
afx_msg void OnMenuiReset();
afx_msg void OnMenuiSaveresult();
afx_msg void OnMenuiDuolei();
afx_msg void OnMenuiMultiepysave();
afx_msg void OnMenuiHelp();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_K_AVERAGEDOC_H__CEE7C11E_EBA0_43B1_8F5B_84B19938DEDF__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -