summaryrefslogtreecommitdiffstats
path: root/include/astra/ParallelVecProjectionGeometry3D.h
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2018-12-07 16:41:40 +0100
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2018-12-23 16:57:45 +0100
commit8220a50be6bcbddf179bb855b2f7d36436fcca6b (patch)
tree81986f22c74784ff02c88f1d071fae32186e5f89 /include/astra/ParallelVecProjectionGeometry3D.h
parentcbc2e1079cf40c6f0c08d2f9c54f7b41b678e567 (diff)
downloadastra-8220a50be6bcbddf179bb855b2f7d36436fcca6b.tar.gz
astra-8220a50be6bcbddf179bb855b2f7d36436fcca6b.tar.bz2
astra-8220a50be6bcbddf179bb855b2f7d36436fcca6b.tar.xz
astra-8220a50be6bcbddf179bb855b2f7d36436fcca6b.zip
More gracefully handle config errors in geometries
Diffstat (limited to 'include/astra/ParallelVecProjectionGeometry3D.h')
-rw-r--r--include/astra/ParallelVecProjectionGeometry3D.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/astra/ParallelVecProjectionGeometry3D.h b/include/astra/ParallelVecProjectionGeometry3D.h
index 08e7af9..04418a0 100644
--- a/include/astra/ParallelVecProjectionGeometry3D.h
+++ b/include/astra/ParallelVecProjectionGeometry3D.h
@@ -157,6 +157,9 @@ public:
double fY, double &fX, double &fZ) const;
virtual void backprojectPointZ(int iAngleIndex, double fU, double fV,
double fZ, double &fX, double &fY) const;
+
+protected:
+ virtual bool initializeAngles(const Config& _cfg);
};
} // namespace astra