diff options
author | Willem Jan Palenstijn <wjp@usecode.org> | 2015-04-14 14:55:23 +0200 |
---|---|---|
committer | Willem Jan Palenstijn <wjp@usecode.org> | 2015-04-14 14:55:23 +0200 |
commit | 0242b4c361a61f601e6d87ce5a2459c69f913c72 (patch) | |
tree | 5dbb3e59de9a4808ea33b9d960e44f4fbae06a2d /include/astra | |
parent | d24877997bfe77e7177e3208328d99e1f99ac6b9 (diff) | |
parent | e2c87a5e259c847772c733eefb1b291b2a5b1a6e (diff) | |
download | astra-0242b4c361a61f601e6d87ce5a2459c69f913c72.tar.gz astra-0242b4c361a61f601e6d87ce5a2459c69f913c72.tar.bz2 astra-0242b4c361a61f601e6d87ce5a2459c69f913c72.tar.xz astra-0242b4c361a61f601e6d87ce5a2459c69f913c72.zip |
Merge pull request #52 from wjp/change_geometry3d
Add data3d('change_geometry')
Diffstat (limited to 'include/astra')
-rw-r--r-- | include/astra/Float32ProjectionData3D.h | 5 | ||||
-rw-r--r-- | include/astra/Float32VolumeData3D.h | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/include/astra/Float32ProjectionData3D.h b/include/astra/Float32ProjectionData3D.h index 79b762e..329c9a4 100644 --- a/include/astra/Float32ProjectionData3D.h +++ b/include/astra/Float32ProjectionData3D.h @@ -196,6 +196,11 @@ public: * @return pointer to projection geometry. */ virtual CProjectionGeometry3D* getGeometry() const; + + /** Change the projection geometry. + * Note that this can't change the dimensions of the data. + */ + virtual void changeGeometry(CProjectionGeometry3D* pGeometry); }; diff --git a/include/astra/Float32VolumeData3D.h b/include/astra/Float32VolumeData3D.h index d8f0ae9..07df78f 100644 --- a/include/astra/Float32VolumeData3D.h +++ b/include/astra/Float32VolumeData3D.h @@ -214,6 +214,11 @@ public: * @return The geometry describing the data stored in this volume */ virtual CVolumeGeometry3D* getGeometry() const; + + /** Change the projection geometry. + * Note that this can't change the dimensions of the data. + */ + virtual void changeGeometry(CVolumeGeometry3D* pGeometry); }; //---------------------------------------------------------------------------------------- |