summaryrefslogtreecommitdiffstats
path: root/include/astra/GeometryUtil2D.h
diff options
context:
space:
mode:
authorWim van Aarle <wimvanaarle@gmail.com>2015-03-03 18:22:23 +0100
committerWim van Aarle <wimvanaarle@gmail.com>2015-03-03 18:22:23 +0100
commita452bc6f1c450a7174ec257d052dfe3ce25b1623 (patch)
tree95da84f485a0235f4cf049717f953909f6bf3f37 /include/astra/GeometryUtil2D.h
parente468c6c546dbb4d9665ccb95b1571a160753d50e (diff)
downloadastra-a452bc6f1c450a7174ec257d052dfe3ce25b1623.tar.gz
astra-a452bc6f1c450a7174ec257d052dfe3ce25b1623.tar.bz2
astra-a452bc6f1c450a7174ec257d052dfe3ce25b1623.tar.xz
astra-a452bc6f1c450a7174ec257d052dfe3ce25b1623.zip
created parallel_vec geometry class
Diffstat (limited to 'include/astra/GeometryUtil2D.h')
-rw-r--r--include/astra/GeometryUtil2D.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/astra/GeometryUtil2D.h b/include/astra/GeometryUtil2D.h
index d4ee92e..680cecd 100644
--- a/include/astra/GeometryUtil2D.h
+++ b/include/astra/GeometryUtil2D.h
@@ -31,6 +31,18 @@ $Id$
namespace astra {
+struct SParProjection {
+ // the ray direction
+ float fRayX, fRayY;
+
+ // the start of the (linear) detector
+ float fDetSX, fDetSY;
+
+ // the length of a single detector pixel
+ float fDetUX, fDetUY;
+};
+
+
struct SFanProjection {
// the source
float fSrcX, fSrcY;