summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWim van Aarle <wimvanaarle@gmail.com>2015-03-06 17:20:02 +0100
committerWim van Aarle <wimvanaarle@gmail.com>2015-03-06 17:20:02 +0100
commit6f3217fc80380c02e69b363338941a91d721d47c (patch)
treee231dca419e7d3a1b868b1a7b603e2acbbc213d7 /src
parent1af118ebea7bffe4eba070dca35127234d39b426 (diff)
downloadastra-6f3217fc80380c02e69b363338941a91d721d47c.tar.gz
astra-6f3217fc80380c02e69b363338941a91d721d47c.tar.bz2
astra-6f3217fc80380c02e69b363338941a91d721d47c.tar.xz
astra-6f3217fc80380c02e69b363338941a91d721d47c.zip
updated 'linear' kernal projector
Diffstat (limited to 'src')
-rw-r--r--src/ParallelBeamLinearKernelProjector2D.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ParallelBeamLinearKernelProjector2D.cpp b/src/ParallelBeamLinearKernelProjector2D.cpp
index a710664..043db71 100644
--- a/src/ParallelBeamLinearKernelProjector2D.cpp
+++ b/src/ParallelBeamLinearKernelProjector2D.cpp
@@ -89,7 +89,7 @@ bool CParallelBeamLinearKernelProjector2D::_check()
// check base class
ASTRA_CONFIG_CHECK(CProjector2D::_check(), "ParallelBeamLinearKernelProjector2D", "Error in Projector2D initialization");
- ASTRA_CONFIG_CHECK(dynamic_cast<CParallelProjectionGeometry2D*>(m_pProjectionGeometry), "ParallelBeamLinearKernelProjector2D", "Unsupported projection geometry");
+ ASTRA_CONFIG_CHECK(dynamic_cast<CParallelProjectionGeometry2D*>(m_pProjectionGeometry) || dynamic_cast<CParallelVecProjectionGeometry2D*>(m_pProjectionGeometry), "ParallelBeamLinearKernelProjector2D", "Unsupported projection geometry");
/// TODO: ADD PIXEL H/W LIMITATIONS
ASTRA_CONFIG_CHECK(m_pVolumeGeometry->getPixelLengthX() == m_pVolumeGeometry->getPixelLengthY(), "ParallelBeamLinearKernelProjector2D", "Pixel height must equal pixel width.");