diff options
author | Wim van Aarle <wimvanaarle@gmail.com> | 2015-03-12 17:32:28 +0100 |
---|---|---|
committer | Wim van Aarle <wimvanaarle@gmail.com> | 2015-03-12 17:32:28 +0100 |
commit | e8765bcdab3be977cd5536531cacb24bf3378a59 (patch) | |
tree | 36347f2d42deb241d431f584da0db3f7791fe76e /python/astra/utils.pyx | |
parent | c0b6862d75edcde6beacf811ce97200776d13b62 (diff) | |
download | astra-e8765bcdab3be977cd5536531cacb24bf3378a59.tar.gz astra-e8765bcdab3be977cd5536531cacb24bf3378a59.tar.bz2 astra-e8765bcdab3be977cd5536531cacb24bf3378a59.tar.xz astra-e8765bcdab3be977cd5536531cacb24bf3378a59.zip |
added parallel_vec to the python bindings
Diffstat (limited to 'python/astra/utils.pyx')
-rw-r--r-- | python/astra/utils.pyx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/astra/utils.pyx b/python/astra/utils.pyx index 53e84a9..0b8d527 100644 --- a/python/astra/utils.pyx +++ b/python/astra/utils.pyx @@ -227,6 +227,8 @@ cdef createProjectionGeometryStruct(CProjectionGeometry2D * geom): # dct['Vectors'] = vecs if (geom.isOfType(< string > six.b('parallel'))): dct["type"] = "parallel" + if (geom.isOfType(< string > six.b('parallel_vec'))): + dct["type"] = "parallel_vec" elif (geom.isOfType(< string > six.b('fanflat'))): raise Exception("Not yet implemented") # astra::CFanFlatProjectionGeometry2D* pFanFlatGeom = dynamic_cast<astra::CFanFlatProjectionGeometry2D*>(_pProjGeom) |