- void collectProjections (Projections& proj, const Phantom& phm, const int start_view, const int trace);
-
- 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;}
- const double rotInc(void) const {return m_rotInc;}
- const double detInc(void) const {return m_detInc;}
- const double radius(void) const {return m_radius;}
-
-
+ void collectProjections (Projections& proj, const Phantom& phm, const int trace = Trace::TRACE_NONE,
+ SGP* pSGP = NULL);
+
+ void collectProjections (Projections& proj, const Phantom& phm, const int iStartView, const int iNumViews,
+ bool bStoreAtViewPosition, const int trace = Trace::TRACE_NONE, SGP* pSGP = NULL);
+
+ void collectProjections (Projections& proj, const Phantom& phm, const int iStartView, const int iNumViews,
+ int iStorageOffset, const int trace = Trace::TRACE_NONE, SGP* pSGP = NULL);
+
+ void setNView (int nView);
+
+ bool fail() const {return m_fail;}
+ const std::string& failMessage() const {return m_failMessage;}
+ unsigned int nDet() const {return m_nDet;}
+ unsigned int nView() const {return m_nView;}
+
+ double rotInc() const {return m_rotInc;}
+ double detInc() const {return m_detInc;}
+ double detLen() const {return m_detLen;}
+ double focalLength() const {return m_dFocalLength;}
+ double sourceDetectorLength() const {return m_dSourceDetectorLength;}
+ double centerDetectorLength() const {return m_dCenterDetectorLength;}
+
+ double viewDiameter() const {return m_dViewDiameter;}
+ double scanDiameter() const {return m_dScanDiameter;}
+ double fanBeamAngle() const {return m_dFanBeamAngle;}
+
+ int geometry() const {return m_idGeometry;}
+
+ static int getGeometryCount() {return s_iGeometryCount;}
+ static const char** getGeometryNameArray() {return s_aszGeometryName;}
+ static const char** getGeometryTitleArray() {return s_aszGeometryTitle;}
+ static int convertGeometryNameToID (const char* const geometryName);
+ static const char* convertGeometryIDToName (const int idGeometry);
+ static const char* convertGeometryIDToTitle (const int idGeometry);
+