X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=include%2Fprojections.h;h=8d5acacc9c3d0adc0a46a4fd5b1cca175fdcbb73;hb=949b7c917af311cd38f911bc5d0af36f524a6086;hp=6446f572b3c3b3d1175ee418ea46e8a11cbc3f2b;hpb=08f34bf3ba14d4f436f4d2ef0ee5af1d6eb266ac;p=ctsim.git diff --git a/include/projections.h b/include/projections.h index 6446f57..8d5acac 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.5 2000/06/25 17:32:24 kevin Exp $ +** $Id: projections.h,v 1.6 2000/06/27 10:48:11 kevin Exp $ ** ** ** This program is free software; you can redistribute it and/or modify @@ -31,6 +31,8 @@ class Scanner; class DetectorArray; +class Array2dFileLabel; + // Projections class Projections @@ -70,6 +72,10 @@ class Projections const double rotInc(void) const {return m_rotInc;} const int nDet(void) const {return m_nDet;} const int nView(void) const {return m_nView;} + const string& getFilename(void) const {return m_filename;} + Array2dFileLabel& getLabel(void) {return m_label;} + const Array2dFileLabel& getLabel(void) const {return m_label;} + DetectorArray& getDetectorArray (const int iview) { return (*m_projData[iview]); } @@ -86,6 +92,16 @@ 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) + kuint32 m_year; // Creation date & time + kuint32 m_month; + kuint32 m_day; + kuint32 m_hour; + kuint32 m_minute; + kuint32 m_second; + string m_filename; + Array2dFileLabel m_label; + + const static kuint16 m_signature = ('P'*256 + 'J'); bool headerRead (void); bool headerWrite (void);