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

📄 eegprocessingview.cpp

📁 波形显示程序,高通滤波和低通滤波..........波形显示程序,高通滤波和低通滤波
💻 CPP
字号:
// EEGProcessingView.cpp : implementation of the CEEGProcessingView class
//

#include "stdafx.h"
#include "EEGProcessing.h"

#include "EEGProcessingDoc.h"
#include "EEGProcessingView.h"
#include "ShowWave.h"
#include "HFilter.h"
#include "LFiltre.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CEEGProcessingView

IMPLEMENT_DYNCREATE(CEEGProcessingView, CView)

BEGIN_MESSAGE_MAP(CEEGProcessingView, CView)
	//{{AFX_MSG_MAP(CEEGProcessingView)
	ON_COMMAND(ID_BUTTON32771, OnButton32771)
	ON_COMMAND(ID_BUTTON32773, OnButton32773)
	ON_COMMAND(ID_BUTTON32774, OnButton32774)
	//}}AFX_MSG_MAP
	// Standard printing commands
	ON_COMMAND(ID_FILE_PRINT, CView::OnFilePrint)
	ON_COMMAND(ID_FILE_PRINT_DIRECT, CView::OnFilePrint)
	ON_COMMAND(ID_FILE_PRINT_PREVIEW, CView::OnFilePrintPreview)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CEEGProcessingView construction/destruction

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

}

CEEGProcessingView::~CEEGProcessingView()
{
}

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

	return CView::PreCreateWindow(cs);
}

/////////////////////////////////////////////////////////////////////////////
// CEEGProcessingView drawing

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

/////////////////////////////////////////////////////////////////////////////
// CEEGProcessingView printing

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

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

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

/////////////////////////////////////////////////////////////////////////////
// CEEGProcessingView diagnostics

#ifdef _DEBUG
void CEEGProcessingView::AssertValid() const
{
	CView::AssertValid();
}

void CEEGProcessingView::Dump(CDumpContext& dc) const
{
	CView::Dump(dc);
}

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

/////////////////////////////////////////////////////////////////////////////
// CEEGProcessingView message handlers

void CEEGProcessingView::OnButton32771() 
{
	// TODO: Add your command handler code here
	CShowWave dlg;
	dlg.DoModal();
}

void CEEGProcessingView::OnButton32773() 
{
	// TODO: Add your command handler code here
    CHFilter dlg;
	dlg.DoModal();
}

void CEEGProcessingView::OnButton32774() 
{
	// TODO: Add your command handler code here
	CLFiltre dlg;
	dlg.DoModal();
}

⌨️ 快捷键说明

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