diff options
author | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2015-06-26 12:20:44 +0200 |
---|---|---|
committer | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2015-06-26 12:20:44 +0200 |
commit | 47b520d51fc4fc49db992b9117f6c0abfa8152b5 (patch) | |
tree | 8f494a765a3607afd1c9bac9c592f30536b950a1 /src/ParallelProjectionGeometry2D.cpp | |
parent | 9f86a4c3f20ac8785f80288ec4cdefe79ed67e68 (diff) | |
parent | 62f3aa5792011792db866ce0841c8d164aa9a34d (diff) | |
download | astra-47b520d51fc4fc49db992b9117f6c0abfa8152b5.tar.gz astra-47b520d51fc4fc49db992b9117f6c0abfa8152b5.tar.bz2 astra-47b520d51fc4fc49db992b9117f6c0abfa8152b5.tar.xz astra-47b520d51fc4fc49db992b9117f6c0abfa8152b5.zip |
Merge branch 'master'
Diffstat (limited to 'src/ParallelProjectionGeometry2D.cpp')
-rw-r--r-- | src/ParallelProjectionGeometry2D.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ParallelProjectionGeometry2D.cpp b/src/ParallelProjectionGeometry2D.cpp index 699e141..7260b83 100644 --- a/src/ParallelProjectionGeometry2D.cpp +++ b/src/ParallelProjectionGeometry2D.cpp @@ -180,6 +180,11 @@ Config* CParallelProjectionGeometry2D::getConfiguration() const cfg->self.addChildNode("DetectorCount", getDetectorCount()); cfg->self.addChildNode("DetectorWidth", getDetectorWidth()); cfg->self.addChildNode("ProjectionAngles", m_pfProjectionAngles, m_iProjectionAngleCount); + if(m_pfExtraDetectorOffset!=NULL){ + XMLNode opt = cfg->self.addChildNode("Option"); + opt.addAttribute("key","ExtraDetectorOffset"); + opt.setContent(m_pfExtraDetectorOffset, m_iProjectionAngleCount); + } return cfg; } //---------------------------------------------------------------------------------------- |