www.pudn.com > ImgFFT.zip > Pro2Doc.h


// Pro2Doc.h : interface of the CPro2Doc class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_PRO2DOC_H__F74334AD_5CA8_410C_9FEA_9AD62E18C746__INCLUDED_)
#define AFX_PRO2DOC_H__F74334AD_5CA8_410C_9FEA_9AD62E18C746__INCLUDED_

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

#include <complex>
using namespace std;

class CPro2Doc : public CDocument
{
protected: // create from serialization only
CPro2Doc();
DECLARE_DYNCREATE(CPro2Doc)

// Attributes
public:

// Operations
public:
void FFT_1D(complex<double>* pCTData,complex<double>* pCFData,int nLevel);
void FFT_2D(complex<double>* pCTData,int nWidth,int nHeight,complex<double>* pCFData);
void IFFT_1D(complex<double>* pCFTData,complex<double>* pCTData,int nLevel);
void IFFT_2D(complex<double>* pCFData,int nWidth,int nHeight,complex<double>* pCTData);

// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPro2Doc)
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive&amt; ar);
//}}AFX_VIRTUAL

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

protected:

// Generated message map functions
protected:
//{{AFX_MSG(CPro2Doc)
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_PRO2DOC_H__F74334AD_5CA8_410C_9FEA_9AD62E18C746__INCLUDED_)