X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=include%2Fprojections.h;h=38828a1532428590a7f6d28e854921453f39b78b;hb=6bfb747f8163381d94a02c03a0351e9ca6815d22;hp=f235e320ee578b198b387cb6c3ec68e7c59ab00b;hpb=a2a9671aff06827cec6d6b80234b90128d337e40;p=ctsim.git diff --git a/include/projections.h b/include/projections.h index f235e32..38828a1 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.8 2000/07/06 08:30:30 kevin Exp $ +** $Id: projections.h,v 1.12 2000/08/27 20:32:55 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 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* frequencyFilterName, 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 @@ -92,6 +95,8 @@ class Projections double m_detStart; // distance of beginning detector to center phantom double m_detInc; // increment between detectors double m_phmLen; // Length of phantom edge (phm is square) + double m_focalLength; + double m_fieldOfView; kuint32 m_year; // Creation date & time kuint32 m_month; kuint32 m_day;