fftview.h

来自「FFT算法进行FFT 、IFFT、功率谱计算」· C头文件 代码 · 共 71 行

H
71
字号
// FFTView.h : interface of the CFFTView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_FFTVIEW_H__CE8C2597_0A4F_4BEC_B898_FF4F7DE9DA4D__INCLUDED_)
#define AFX_FFTVIEW_H__CE8C2597_0A4F_4BEC_B898_FF4F7DE9DA4D__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CFFTView : public CView
{
protected: // create from serialization only
	CFFTView();
	DECLARE_DYNCREATE(CFFTView)

// Attributes
public:
	CFFTDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CFFTView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual void OnInitialUpdate();
	protected:
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

// Implementation
public:
	CBitmap m_bitmap;
	virtual ~CFFTView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CFFTView)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
//	afx_msg long OnMsgWave(WPARAM wParam, LPARAM lParam);
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in FFTView.cpp
inline CFFTDoc* CFFTView::GetDocument()
   { return (CFFTDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_FFTVIEW_H__CE8C2597_0A4F_4BEC_B898_FF4F7DE9DA4D__INCLUDED_)

⌨️ 快捷键说明

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