X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=include%2Fprojections.h;h=b1ee7fe9469fb3ab62d1416eca025fb9b6190088;hp=f235e320ee578b198b387cb6c3ec68e7c59ab00b;hb=3fba6928127cd65870bdcd96c8114ad5894247ae;hpb=1fd4f7cc977b9f1499716de10d15656bd50f4816 diff --git a/include/projections.h b/include/projections.h index f235e32..b1ee7fe 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.9 2000/07/13 07:03:21 kevin Exp $ ** ** ** This program is free software; you can redistribute it and/or modify @@ -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