📄 sunview.h
字号:
// sunView.h : interface of the CSunView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_SUNVIEW_H__B6975A34_B183_4BCC_9C87_95DD8B97CD34__INCLUDED_)
#define AFX_SUNVIEW_H__B6975A34_B183_4BCC_9C87_95DD8B97CD34__INCLUDED_
#include "DFFT.h" // Added by ClassView
#include"SANFFT.h"
#include"complex.h"
#include "FIRFLITER.h"
#include "FANGFFT.h"
#include "CHOOSE.h" // Added by ClassView
// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CSunView : public CView
{
protected: // create from serialization only
CSunView();
DECLARE_DYNCREATE(CSunView)
// Attributes
public:
CSunDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSunView)
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:
complex* buf;
complex *orig;
complex * xy;
double* Ww;
double* Hw;
FIRFLITER firolg;
void ifft(complex*,int);
int nn;
double* Hn;
double* Hd; //存放
CCHOOSE cholg;
void fangload(complex*x,int n);
void sanload(complex*x,int n);
void load(complex*x,int n);
void fft(complex* x,int m);
virtual ~CSunView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
private:
double* I;
double* I1;
double* Xn;
double* Wn;
int m_a;
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CSunView)
afx_msg void OnChose();
afx_msg void OnDofir();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in sunView.cpp
inline CSunDoc* CSunView::GetDocument()
{ return (CSunDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SUNVIEW_H__B6975A34_B183_4BCC_9C87_95DD8B97CD34__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -