X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=include%2Fscanner.h;h=005c8028ea73d6756e1483d8eda16655e802d7c8;hp=aebf7d1b814484204f613501d8022f4dad692f16;hb=5cf6874680f80d238bf34535d711dc223813f951;hpb=007a78a5e3a043cbc7e2777ab033b81b8acbbe71 diff --git a/include/scanner.h b/include/scanner.h index aebf7d1..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.2 2000/06/19 15:48:23 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;}