📄 createfilterdlg.h
字号:
// CreatefilterDlg.h : header file
//
#if !defined(AFX_CREATEFILTERDLG_H__8EC409E3_E5BB_4D33_A901_F760CBD33748__INCLUDED_)
#define AFX_CREATEFILTERDLG_H__8EC409E3_E5BB_4D33_A901_F760CBD33748__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CCreatefilterDlg dialog
class CCreatefilterDlg : public CDialog
{
// Construction
public:
void modify();
void CreateY();
void CreateHengjie();
void CreateX();
void CreateH(void);
float Deta(int n);
void CreateJilian(void);
void ClearPoint(void);
float mymax(float *a, int n);
void CreateAbs(float *&Xabs, float *Xreal, float *Ximag, int n);
void CreateArg(float *&Xarg, float *Xreal, float *Ximag, int n);
void CreateReal(float *&Xreal, float *Xabs, float *Xarg, int n);
void CreateImag(float *&Ximag, float *Xabs, float *Xarg, int n);
void CreateDFT(float *&Xreal, float *&Ximag, float *xreal, float *ximag, int n, int nh);
void CreateIDFT(float *&xreal, float *&ximag, float *Xreal, float *Ximag, int n, int nh);
void ShowClineDlg(int n);
CCreatefilterDlg(CWnd* pParent = NULL); // standard constructor
int M; //级联的个数
int m_xCount;
int m_hCount;
int m_yCount;
int m_dftCount;
int m_fftCount;
float *hreal;
float *himag;
float *yreal;
float *yimag;
float *xreal;
float *ximag;
float *yFFTReal;
float *yFFTImag;
float *yFFTAbs;
float *yFFTArg;
float maxy;
float maxyAbs;
float maxyArg;
bool m_bInput;
// Dialog Data
//{{AFX_DATA(CCreatefilterDlg)
enum { IDD = IDD_CREATEFILTER_DIALOG };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCreatefilterDlg)
public:
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void PostNcDestroy();
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CCreatefilterDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnType1();
afx_msg void OnType2();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CREATEFILTERDLG_H__8EC409E3_E5BB_4D33_A901_F760CBD33748__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -