00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef CFL_SCANFILTERFOURIERBASE_H
00016 #define CFL_SCANFILTERFOURIERBASE_H
00017
00018 #if _MSC_VER > 1000
00019 #pragma once
00020 #endif // _MSC_VER > 1000
00021
00022 #include <cfl/ScanFilter.h>
00023 #include <cfl/ScanBaseBuffer.h>
00024
00025 DECLARE_CLASS( CScanFilterFourierBase );
00026
00027
00028
00029
00030
00031 class CScanFilterFourierBase : public CScanFilter
00032 {
00033
00034 public:
00035
00036
00037
00038 typedef CScanBaseBuffer::ValueType ValueType;
00039
00040
00041
00042
00043 typedef double RealType;
00044
00045
00046
00047
00048 typedef CScanBaseBuffer::FourierElementType FourierElementType;
00049
00050
00051
00052
00053 CScanFilterFourierBase();
00054
00055
00056
00057
00058 virtual ~CScanFilterFourierBase();
00059
00060 protected:
00061
00062
00063
00064 virtual void Serialize(CArchive& ar);
00065 DECLARE_SERIAL( CScanFilterFourierBase )
00066
00067
00068
00069
00070 RealType BuildTmpAmpBuffer(int n1, int n2, BOOL bL2R, BOOL bR2L, FourierElementType** alr, FourierElementType** arl, RealType *dAmpBuffer);
00071
00072
00073
00074
00075 void CopyAmpBufferToScanBuffer(int n1, int n2, BOOL bL2R, BOOL bR2L, RealType *dAmpBuffer, RealType dMax);
00076 };
00077
00078
00079
00080 #endif // CFL_SCANFILTERFOURIERBASE_H
00081
00082
00083
00084
00085