oscillographview.h
来自「可以实现FIR滤波器任意阶数和窗函数下的设计。并且有可以在VC下显示幅频响应曲线」· C头文件 代码 · 共 82 行
H
82 行
// OscillographView.h : interface of the COscillographView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_OSCILLOGRAPHVIEW_H__F2C9400C_A610_44A6_9FC4_7855A11B6524__INCLUDED_)
#define AFX_OSCILLOGRAPHVIEW_H__F2C9400C_A610_44A6_9FC4_7855A11B6524__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class COscillographView : public CView
{
protected: // create from serialization only
COscillographView();
DECLARE_DYNCREATE(COscillographView)
// Attributes
public:
COscillographDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(COscillographView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~COscillographView();
double m_dblSignalA;
double m_dblSignalFreq;
double m_dblNoiseA;
double m_dblNoiseFreq;
double m_dblSamplingFreq;
int m_nFilterOrder;
int m_nFilterType;
int m_nWindowType;
double m_dblWl;
double m_dblWh;
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(COscillographView)
afx_msg void OnPaint();
afx_msg void OnFilterSetting();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in OscillographView.cpp
inline COscillographDoc* COscillographView::GetDocument()
{ return (COscillographDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_OSCILLOGRAPHVIEW_H__F2C9400C_A610_44A6_9FC4_7855A11B6524__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?