X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=include%2Fscanner.h;h=005c8028ea73d6756e1483d8eda16655e802d7c8;hb=e289f8ecb69ba183b32e32ff20f1679f4b62194d;hp=8c5ab45a99dcea5614707eea9d5cfbee011e7675;hpb=f4a23943110823118f35756dd41fbd6707f04511;p=ctsim.git diff --git a/include/scanner.h b/include/scanner.h index 8c5ab45..005c802 100644 --- a/include/scanner.h +++ b/include/scanner.h @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: scanner.h,v 1.1 2000/06/17 20:12:14 kevin Exp $ +** $Id: scanner.h,v 1.3 2000/06/19 17:58:20 kevin Exp $ ** ** ** This program is free software; you can redistribute it and/or modify @@ -54,6 +54,9 @@ class DetectorArray DetectorValue* m_detValues; /* Pointer to array of values recorded by detector */ int m_nDet; /* Number of detectors in array */ double m_viewAngle; /* View angle in radians */ + + DetectorArray& operator=(const DetectorArray& rhs); + DetectorArray& operator()(const DetectorArray& rhs); }; typedef enum { @@ -71,6 +74,7 @@ class Scanner void collectProjections (Projections& proj, const Phantom& phm, const int start_view, const int trace); + void setNView (int nView); const unsigned int nDet(void) const {return m_nDet;} const unsigned int nView(void) const {return m_nView;} const double phmLen(void) const {return m_phmLen;} @@ -113,4 +117,18 @@ class Scanner }; +const static int RAYSUM_TRACE_ROW_TITLE=1; +const static int RAYSUM_TRACE_ROW_TITLE2=2; +const static int RAYSUM_TRACE_ROW_PHANT_ID=4; +const static int RAYSUM_TRACE_ROW_CHROMATIC=7; +const static int RAYSUM_TRACE_ROW_SCATTER=8; +const static int RAYSUM_TRACE_ROW_PHOT_STAT=9; +const static int RAYSUM_TRACE_ROW_NDET=12; +const static int RAYSUM_TRACE_ROW_NVIEW=13; +const static int RAYSUM_TRACE_ROW_SAMPLES=14; +const static int RAYSUM_TRACE_ROW_CURR_VIEW=17; +const static int RAYSUM_TRACE_ROW_ATTEN=18; + + + #endif