summaryrefslogtreecommitdiffstats
path: root/include/astra
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2015-04-10 12:29:22 +0200
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2015-04-10 13:59:30 +0200
commit7b55ee5f60c5f5865726cf48636b642cd9de111d (patch)
treec5c622d2f6c6255db693d878a4144192f09ddfdf /include/astra
parent306b3b5613ccb039122d38e8deb1e0ecc9e43403 (diff)
downloadastra-7b55ee5f60c5f5865726cf48636b642cd9de111d.tar.gz
astra-7b55ee5f60c5f5865726cf48636b642cd9de111d.tar.bz2
astra-7b55ee5f60c5f5865726cf48636b642cd9de111d.tar.xz
astra-7b55ee5f60c5f5865726cf48636b642cd9de111d.zip
Add changeGeometry function to Data3D classes
Diffstat (limited to 'include/astra')
-rw-r--r--include/astra/Float32ProjectionData3D.h5
-rw-r--r--include/astra/Float32VolumeData3D.h5
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);
};
//----------------------------------------------------------------------------------------