X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=include%2Fprojections.h;h=104476d9cb8317e0a8c73cdf343f446b16ad93d4;hp=c1302a9df46e5241710198be6128918e07f351d4;hb=44ba9ce559d2d52cbd7bbea6bcd76242840fd3eb;hpb=595e63c804284d460ce4d032c3848b75bc57186d diff --git a/include/projections.h b/include/projections.h index c1302a9..104476d 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.2 2000/06/19 17:58:20 kevin Exp $ +** $Id: projections.h,v 1.3 2000/06/20 17:54:51 kevin Exp $ ** ** ** This program is free software; you can redistribute it and/or modify @@ -48,8 +48,8 @@ class Projections bool read (const char* fname); bool write (const char* fname); - bool detarrayRead (DetectorArray& darray, const int view_num); - bool detarrayWrite (const DetectorArray& darray, const int view_num); + bool detarrayRead (fnetorderstream& fs, DetectorArray& darray, const int view_num); + bool detarrayWrite (fnetorderstream& fs, const DetectorArray& darray, const int view_num); void setNView (int nView); // used in MPI to restrict # of views void setRotInc (double rotInc) { m_rotInc = rotInc;} @@ -72,7 +72,6 @@ class Projections { return (*m_projData[iview]); } private: - int m_fd; // Disk file descriptor int m_headerSize; // Size of disk file header int m_geometry; // Geometry of scanner struct DetectorArray **m_projData; // Pointer to array of detarray_st pointers @@ -88,6 +87,8 @@ class Projections bool headerRead (void); bool headerWrite (void); + bool headerRead (fnetorderstream& fs); + bool headerWrite (fnetorderstream& fs); void newProjData (void); void deleteProjData (void);