📄 detreesvmview.h
字号:
// DeTreeSVMView.h : interface of the CDeTreeSVMView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_DETREESVMVIEW_H__C2F24005_99C7_494A_B5A5_DB21FCF11EB8__INCLUDED_)
#define AFX_DETREESVMVIEW_H__C2F24005_99C7_494A_B5A5_DB21FCF11EB8__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define KINDNUMBER 4
class CDeTreeSVMView : public CScrollView
{
protected: // create from serialization only
CDeTreeSVMView();
DECLARE_DYNCREATE(CDeTreeSVMView)
// Attributes
public:
CDeTreeSVMDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDeTreeSVMView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual void OnPrepareDC(CDC* pDC, CPrintInfo* pInfo = NULL);
protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnInitialUpdate();
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CDeTreeSVMView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
double dPrecision[KINDNUMBER];//查准率
double dRecall[KINDNUMBER];//查全率
double dF1[KINDNUMBER];//F1测试值
BOOL m_bCurve;//标记是不是画折线
BOOL m_bRect;//标记是否画柱状图
CScrollBar m_ScrollBar;//滚动条
// Generated message map functions
protected:
//{{AFX_MSG(CDeTreeSVMView)
afx_msg void OnCurve();
afx_msg void OnRect();
afx_msg void OnUpdateRect(CCmdUI* pCmdUI);
afx_msg void OnUpdateCurve(CCmdUI* pCmdUI);
afx_msg void OnClean();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in DeTreeSVMView.cpp
inline CDeTreeSVMDoc* CDeTreeSVMView::GetDocument()
{ return (CDeTreeSVMDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DETREESVMVIEW_H__C2F24005_99C7_494A_B5A5_DB21FCF11EB8__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -