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

📄 adaboostview.cpp

📁 adaboost code in matlab
💻 CPP
字号:
// AdaBoostView.cpp : implementation of the CAdaBoostView class
//

#include "stdafx.h"
#include "AdaBoost.h"

#include "AdaBoostDoc.h"
#include "AdaBoostView.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CAdaBoostView

IMPLEMENT_DYNCREATE(CAdaBoostView, CEditView)

BEGIN_MESSAGE_MAP(CAdaBoostView, CEditView)
	//{{AFX_MSG_MAP(CAdaBoostView)
		// NOTE - the ClassWizard will add and remove mapping macros here.
		//    DO NOT EDIT what you see in these blocks of generated code!
	//}}AFX_MSG_MAP
	// Standard printing commands
	ON_COMMAND(ID_FILE_PRINT, CEditView::OnFilePrint)
	ON_COMMAND(ID_FILE_PRINT_DIRECT, CEditView::OnFilePrint)
	ON_COMMAND(ID_FILE_PRINT_PREVIEW, CEditView::OnFilePrintPreview)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CAdaBoostView construction/destruction

CAdaBoostView::CAdaBoostView()
{
	// TODO: add construction code here

}

CAdaBoostView::~CAdaBoostView()
{
}

BOOL CAdaBoostView::PreCreateWindow(CREATESTRUCT& cs)
{
	// TODO: Modify the Window class or styles here by modifying
	//  the CREATESTRUCT cs

	return CEditView::PreCreateWindow(cs);
}

/////////////////////////////////////////////////////////////////////////////
// CAdaBoostView drawing

void CAdaBoostView::OnDraw(CDC* pDC)
{
	CAdaBoostDoc* pDoc = GetDocument();
	ASSERT_VALID(pDoc);
	// TODO: add draw code for native data here
}

/////////////////////////////////////////////////////////////////////////////
// CAdaBoostView printing

BOOL CAdaBoostView::OnPreparePrinting(CPrintInfo* pInfo)
{
	// default preparation
	return DoPreparePrinting(pInfo);
}

void CAdaBoostView::OnBeginPrinting(CDC* /*pDC*/, CPrintInfo* /*pInfo*/)
{
	// TODO: add extra initialization before printing
}

void CAdaBoostView::OnEndPrinting(CDC* /*pDC*/, CPrintInfo* /*pInfo*/)
{
	// TODO: add cleanup after printing
}

/////////////////////////////////////////////////////////////////////////////
// CAdaBoostView diagnostics

#ifdef _DEBUG
void CAdaBoostView::AssertValid() const
{
	CEditView::AssertValid();
}

void CAdaBoostView::Dump(CDumpContext& dc) const
{
	CEditView::Dump(dc);
}

CAdaBoostDoc* CAdaBoostView::GetDocument() // non-debug version is inline
{
	ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CAdaBoostDoc)));
	return (CAdaBoostDoc*)m_pDocument;
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CAdaBoostView message handlers

⌨️ 快捷键说明

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