X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=include%2Fprocsignal.h;h=798bfc9cb97fbd8c9cc9d65a44b15137bc71bb01;hp=a16015402705fa47e09e26a919d20cdf55581dde;hb=9f29c8b32c972db1178d6f8551d5cd57ceb67083;hpb=5c6b29ab4885308cc3381af6e0a68f4804956d2e diff --git a/include/procsignal.h b/include/procsignal.h index a160154..798bfc9 100644 --- a/include/procsignal.h +++ b/include/procsignal.h @@ -7,9 +7,9 @@ ** Date Started: June 2000 ** ** This is part of the CTSim program -** Copyright (C) 1983-2000 Kevin Rosenberg +** Copyright (c) 1983-2001 Kevin Rosenberg ** -** $Id: procsignal.h,v 1.9 2000/12/29 15:45:06 kevin Exp $ +** $Id: procsignal.h,v 1.13 2001/01/28 19:10:18 kevin Exp $ ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -42,6 +42,9 @@ class SignalFilter; class SGP; +typedef std::complex CTSimComplex; + + class ProcessSignal { public: static const int FILTER_METHOD_INVALID; @@ -57,11 +60,11 @@ class ProcessSignal { static const int FILTER_GENERATION_INVALID; static const int FILTER_GENERATION_DIRECT; static const int FILTER_GENERATION_INVERSE_FOURIER; - - enum { - FORWARD = -1, - BACKWARD = 1, - }; + + enum { + FORWARD = -1, + BACKWARD = 1, + }; ProcessSignal (const char* szFilterName, const char* szFilterMethodName,double bw, double signalIncrement, int n, double param, const char* szDomainName, const char* szFilterGenerationName, const int zeropad = 0, const int preinterpolationFactor = 1, const int iTraceLevel = Trace::TRACE_NONE, int iGeometry = Scanner::GEOMETRY_PARALLEL, double dFocalLength = 1., SGP* pSGP = NULL); @@ -104,11 +107,6 @@ class ProcessSignal { static void finiteFourierTransform (const std::complex input[], double output[], const int n, const int direction); - static void shuffleNaturalToFourierOrder (double* pdVector, const int n); - static void shuffleNaturalToFourierOrder (std::complex* pdVector, const int n); - static void shuffleFourierToNaturalOrder (double* pdVector, const int n); - static void shuffleFourierToNaturalOrder (std::complex* pdVector, const int n); - private: std::string m_nameFilterMethod; std::string m_nameFilterGeneration;