X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=include%2Fprojections.h;h=095095bb409df889498953ac2e855ce0710101e9;hp=1bbeafc0c8adebf234c223e587da96e2275d5354;hb=e4c1f7f8eb87558c3abf3bf1d20732361f425351;hpb=931ea35fdc3a7e463602644e6938730556bf92a7 diff --git a/include/projections.h b/include/projections.h index 1bbeafc..095095b 100644 --- a/include/projections.h +++ b/include/projections.h @@ -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.10 2000/07/15 08:36:13 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) const; 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