summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWim van Aarle <wimvanaarle@gmail.com>2015-02-24 16:58:50 +0100
committerWim van Aarle <wimvanaarle@gmail.com>2015-02-24 16:58:50 +0100
commit85f397c64461499a27b13e84fbc0348b19feb248 (patch)
tree0f91f91b004021c1663715bb02f3a7f072d32d0f /src
parent569515f3e20ef3b3c2c4a777f38f45dc67e6f9b6 (diff)
downloadastra-85f397c64461499a27b13e84fbc0348b19feb248.tar.gz
astra-85f397c64461499a27b13e84fbc0348b19feb248.tar.bz2
astra-85f397c64461499a27b13e84fbc0348b19feb248.tar.xz
astra-85f397c64461499a27b13e84fbc0348b19feb248.zip
re-enabled get_geometry for 3d projectors
Diffstat (limited to 'src')
-rw-r--r--src/ConeVecProjectionGeometry3D.cpp2
-rw-r--r--src/ParallelProjectionGeometry3D.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ConeVecProjectionGeometry3D.cpp b/src/ConeVecProjectionGeometry3D.cpp
index fd549e0..3c32527 100644
--- a/src/ConeVecProjectionGeometry3D.cpp
+++ b/src/ConeVecProjectionGeometry3D.cpp
@@ -198,7 +198,7 @@ bool CConeVecProjectionGeometry3D::isEqual(const CProjectionGeometry3D * _pGeom2
// is of type
bool CConeVecProjectionGeometry3D::isOfType(const std::string& _sType) const
{
- return (_sType == "cone3d_vec" || _sType == "cone_vec");
+ return (_sType == "cone_vec");
}
//----------------------------------------------------------------------------------------
diff --git a/src/ParallelProjectionGeometry3D.cpp b/src/ParallelProjectionGeometry3D.cpp
index 2400ff9..7130d71 100644
--- a/src/ParallelProjectionGeometry3D.cpp
+++ b/src/ParallelProjectionGeometry3D.cpp
@@ -154,7 +154,7 @@ bool CParallelProjectionGeometry3D::isEqual(const CProjectionGeometry3D * _pGeom
// is of type
bool CParallelProjectionGeometry3D::isOfType(const std::string& _sType) const
{
- return (_sType == "parallel" || _sType == "parallel3d");
+ return (_sType == "parallel3d");
}
//----------------------------------------------------------------------------------------