r145: *** empty log message ***
[ctsim.git] / include / projections.h
index 1bbeafc0c8adebf234c223e587da96e2275d5354..b1ee7fe9469fb3ab62d1416eca025fb9b6190088 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: projections.h,v 1.7 2000/06/29 12:39:45 kevin Exp $
+**  $Id: projections.h,v 1.9 2000/07/13 07:03:21 kevin Exp $
 **
 **
 **  This program is free software; you can redistribute it and/or modify
@@ -53,7 +53,7 @@ class Projections
   bool detarrayRead (fnetorderstream& fs, DetectorArray& darray, const int view_num);
   bool detarrayWrite (fnetorderstream& fs, const DetectorArray& darray, const int view_num);
 
-  bool reconstruct (ImageFile& im, const char* const filterName, double filt_param, const char* const filterMethodName, const char* const interpName, int interp_param, const char* const backprojName, const int trace);
+  bool reconstruct (ImageFile& im, const char* const filterName, double filt_param, const char* const filterMethodName, const int zeropad, const char* const interpName, int interp_param, const char* const backprojName, const int trace);
 
   void setNView (int nView);  // used in MPI to restrict # of views
   void setRotInc (double rotInc) { m_rotInc = rotInc;}
@@ -79,6 +79,9 @@ class Projections
   DetectorArray& getDetectorArray (const int iview)
       { return (*m_projData[iview]); }
   
+  const DetectorArray& getDetectorArray (const int iview) const
+      { return (*m_projData[iview]); }
+  
  private:
   int m_headerSize;            // Size of disk file header 
   int m_geometry;              // Geometry of scanner