r318: *** empty log message ***
[ctsim.git] / include / procsignal.h
index 7a3cb62fde6725b8221e01895e0a0da01d182129..a16015402705fa47e09e26a919d20cdf55581dde 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: procsignal.h,v 1.8 2000/12/16 06:12:47 kevin Exp $
+**  $Id: procsignal.h,v 1.9 2000/12/29 15:45:06 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
@@ -57,6 +57,11 @@ class ProcessSignal {
     static const int FILTER_GENERATION_INVALID;
     static const int FILTER_GENERATION_DIRECT;
     static const int FILTER_GENERATION_INVERSE_FOURIER;
+\r
+    enum {\r
+      FORWARD = -1,\r
+      BACKWARD = 1,\r
+    };\r
 
     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);
 
@@ -99,9 +104,10 @@ class ProcessSignal {
     static void finiteFourierTransform (const std::complex<double> input[], double output[], const int n, const int direction);
 
 
-    static void shuffleNaturalToFourierOrder (double* pdVector, const int n);
-
-    static void shuffleFourierToNaturalOrder (double* pdVector, const int n);
+    static void shuffleNaturalToFourierOrder (double* pdVector, const int n);\r
+    static void shuffleNaturalToFourierOrder (std::complex<double>* pdVector, const int n);\r
+    static void shuffleFourierToNaturalOrder (double* pdVector, const int n);\r
+    static void shuffleFourierToNaturalOrder (std::complex<double>* pdVector, const int n);\r
 
  private:
         std::string m_nameFilterMethod;