X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=include%2Fprojections.h;h=c1302a9df46e5241710198be6128918e07f351d4;hp=bbf43054d3d1eb17b745110aaacaf4578b9efca0;hb=5cf6874680f80d238bf34535d711dc223813f951;hpb=007a78a5e3a043cbc7e2777ab033b81b8acbbe71 diff --git a/include/projections.h b/include/projections.h index bbf4305..c1302a9 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.1 2000/06/17 20:12:14 kevin Exp $ +** $Id: projections.h,v 1.2 2000/06/19 17:58:20 kevin Exp $ ** ** ** This program is free software; you can redistribute it and/or modify @@ -41,7 +41,7 @@ class Projections Projections (void); ~Projections (void); - void init (const int nView, const int nDet); + void initFromScanner (const Scanner& scanner); void printProjectionData (void); void printScanInfo (void) const; @@ -51,6 +51,7 @@ class Projections bool detarrayRead (DetectorArray& darray, const int view_num); bool detarrayWrite (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;} void setDetInc (double detInc) { m_detInc = detInc;} void setPhmLen (double phmLen) { m_phmLen = phmLen;} @@ -89,6 +90,8 @@ class Projections bool headerWrite (void); void newProjData (void); void deleteProjData (void); + + void init (const int nView, const int nDet); };