projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r145: *** empty log message ***
[ctsim.git]
/
include
/
projections.h
diff --git
a/include/projections.h
b/include/projections.h
index f235e320ee578b198b387cb6c3ec68e7c59ab00b..b1ee7fe9469fb3ab62d1416eca025fb9b6190088 100644
(file)
--- 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
**
** 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
**
**
** 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]); }
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
private:
int m_headerSize; // Size of disk file header
int m_geometry; // Geometry of scanner