19 #ifndef rtkThreeDCircularProjectionGeometryXMLFileReader_h 20 #define rtkThreeDCircularProjectionGeometryXMLFileReader_h 23 # pragma warning(disable : 4786) 28 #include "RTKExport.h" 59 static const unsigned int CurrentVersion = 3;
62 #ifdef itkOverrideGetNameOfClassMacro 74 CanReadFile(
const char * name)
override;
87 StartElement(
const char * name,
const char ** atts)
override;
90 StartElement(
const char * name);
93 EndElement(
const char * name)
override;
96 CharacterDataHandler(
const char * inData,
int inLength)
override;
101 std::string m_CurCharacterData{
"" };
104 double m_InPlaneAngle{ 0. };
105 double m_OutOfPlaneAngle{ 0. };
106 double m_GantryAngle{ 0. };
107 double m_SourceToIsocenterDistance{ 0. };
108 double m_SourceOffsetX{ 0. };
109 double m_SourceOffsetY{ 0. };
110 double m_SourceToDetectorDistance{ 0. };
111 double m_ProjectionOffsetX{ 0. };
112 double m_ProjectionOffsetY{ 0. };
113 double m_CollimationUInf{ std::numeric_limits<double>::max() };
114 double m_CollimationUSup{ std::numeric_limits<double>::max() };
115 double m_CollimationVInf{ std::numeric_limits<double>::max() };
116 double m_CollimationVSup{ std::numeric_limits<double>::max() };
123 unsigned int m_Version{ 0 };
ThreeDCircularProjectionGeometry::MatrixType m_Matrix
itk::SmartPointer< Self > Pointer
typename itk::Matrix< double, TDimension, TDimension+1 > MatrixType
Projection geometry for a source and a 2-D flat panel.
RTK_EXPORT ThreeDCircularProjectionGeometry::Pointer ReadGeometry(const std::string &filename)