diff options
author | Wim van Aarle <wimvanaarle@gmail.com> | 2015-03-12 11:40:56 +0100 |
---|---|---|
committer | Wim van Aarle <wimvanaarle@gmail.com> | 2015-03-12 11:40:56 +0100 |
commit | 2c1999b1bbfb7ef2ca1ae22b43e2a0ab8108073f (patch) | |
tree | 0cc0dc584ebc18fd361f13df5e581a11fcfd451c /include/astra/ParallelProjectionGeometry2D.h | |
parent | 043005e280194ab529bae7863ba50d33f34daa42 (diff) | |
download | astra-2c1999b1bbfb7ef2ca1ae22b43e2a0ab8108073f.tar.gz astra-2c1999b1bbfb7ef2ca1ae22b43e2a0ab8108073f.tar.bz2 astra-2c1999b1bbfb7ef2ca1ae22b43e2a0ab8108073f.tar.xz astra-2c1999b1bbfb7ef2ca1ae22b43e2a0ab8108073f.zip |
parallel projectors now always use vector geometries internally
Diffstat (limited to 'include/astra/ParallelProjectionGeometry2D.h')
-rw-r--r-- | include/astra/ParallelProjectionGeometry2D.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/astra/ParallelProjectionGeometry2D.h b/include/astra/ParallelProjectionGeometry2D.h index 2f7d36f..36b4b6f 100644 --- a/include/astra/ParallelProjectionGeometry2D.h +++ b/include/astra/ParallelProjectionGeometry2D.h @@ -30,6 +30,7 @@ $Id$ #define _INC_ASTRA_PARALLELPROJECTIONGEOMETRY2D #include "ProjectionGeometry2D.h" +#include "ParallelVecProjectionGeometry2D.h" namespace astra { @@ -134,7 +135,7 @@ public: * @param _sType geometry type to compare to. * @return true if _sType == "parallel". */ - virtual bool isOfType(const std::string& _sType); + virtual bool isOfType(const std::string& _sType); /** Get all settings in a Config object. * @@ -151,7 +152,12 @@ public: * * @return a unit vector describing the direction */ - virtual CVector3D getProjectionDirection(int _iProjectionIndex, int _iDetectorIndex = 0); + virtual CVector3D getProjectionDirection(int _iProjectionIndex, int _iDetectorIndex = 0); + + /** Create a vector geom + */ + CParallelVecProjectionGeometry2D* toVectorGeometry(); + }; } // namespace astra |