** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: projections.h,v 1.8 2000/07/06 08:30:30 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
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 int zeropad, 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;}
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