- void projectSingleView (const Phantom& phm, DetectorArray& darray, const double xd1, const double yd1, const double xd2, const double yd2, const double xs1, const double ys1, const double xs2, const double ys2);
-
- double projectSingleLine (const Phantom& phm, const double x1, const double y1, const double x2, const double y2);
-
- double projectLineAgainstPElem (const PhantomElement& pelem, const double x1, const double y1, const double x2, const double y2);
-
- void traceShowParam (const char *label, const char *fmt, int row, int color, ...);
-
-
- ScannerGeometry m_geometry; /* Geometry of detectory */
- unsigned int m_nDet; /* Number of detectors in array */
- unsigned int m_nView; /* Number of rotated views */
- unsigned int m_nSample; /* Number of rays per detector */
- double m_detLen; /* Total length of detector array */
- double m_rotLen; /* Rotation angle length in radians (norm 2PI) */
- double m_detInc; /* Increment between centers of detectors */
- double m_rotInc; /* Increment in rotation angle between views */
- double m_radius; /* Radius of rotation. Distance from */
- /* center of phm to center of det */
- double m_phmLen; /* Maximum Length of phantom or area of interest */
-
+ bool m_fail;
+ string m_failMessage;
+ int m_idGeometry;
+ unsigned int m_nDet; /* Number of detectors in array */
+ unsigned int m_nView; /* Number of rotated views */
+ unsigned int m_nSample; /* Number of rays per detector */
+ double m_dFieldOfView; // Field of View
+ double m_dFocalLength; // Focal Length
+ double m_detLen; // Total length of detector array
+ double m_rotLen; // Rotation angle length in radians (norm 2PI)
+ double m_detInc; // Increment between centers of detectors
+ double m_rotInc; // Increment in rotation angle between views
+ double m_phmLen; // Maximum Length of phantom or area of interest
+ int m_trace;