X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=include%2Fprocsignal.h;h=a3b74402c9c6a62fcd3ffad605d2eacb991c6f78;hp=8eb98c62c229c9417bf798d81bdf903a3862eda8;hb=c00c639073653fac7463a88f2b000f263236550d;hpb=7ec2cd66921180a624813dff9f8bac76c6b268cc diff --git a/include/procsignal.h b/include/procsignal.h index 8eb98c6..a3b7440 100644 --- a/include/procsignal.h +++ b/include/procsignal.h @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: procsignal.h,v 1.10 2001/01/01 10:14:34 kevin Exp $ +** $Id: procsignal.h,v 1.12 2001/01/02 16:02:12 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 @@ -41,9 +41,9 @@ class SignalFilter; class SGP; - -typedef std::complex CTSimComplex; - + +typedef std::complex CTSimComplex; + class ProcessSignal { public: @@ -60,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); @@ -107,14 +107,6 @@ class ProcessSignal { static void finiteFourierTransform (const std::complex input[], double output[], const int n, const int direction); - static void shuffleNaturalToFourierOrder (float* pdVector, const int n); - static void shuffleNaturalToFourierOrder (double* pdVector, const int n); - static void shuffleNaturalToFourierOrder (std::complex* pdVector, const int n); - static void shuffleFourierToNaturalOrder (float* 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;