summaryrefslogtreecommitdiffstats
path: root/cuda/3d/dims3d.h
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2014-12-03 11:44:20 +0100
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2014-12-03 16:13:38 +0100
commit899faabba87628698fbc02a06f4a91ba6469fd8d (patch)
tree25c784cc6f2720d9e00530c239a632e8483a9e9f /cuda/3d/dims3d.h
parentb3e8338a7fa4c7ed9a5954ca02fa3126aefff530 (diff)
downloadastra-899faabba87628698fbc02a06f4a91ba6469fd8d.tar.gz
astra-899faabba87628698fbc02a06f4a91ba6469fd8d.tar.bz2
astra-899faabba87628698fbc02a06f4a91ba6469fd8d.tar.xz
astra-899faabba87628698fbc02a06f4a91ba6469fd8d.zip
Move BP coordinate transformation to utility function
Diffstat (limited to 'cuda/3d/dims3d.h')
-rw-r--r--cuda/3d/dims3d.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/cuda/3d/dims3d.h b/cuda/3d/dims3d.h
index ec3c4a3..b5e02a4 100644
--- a/cuda/3d/dims3d.h
+++ b/cuda/3d/dims3d.h
@@ -59,9 +59,18 @@ struct SPar3DProjection {
double fDetVX, fDetVY, fDetVZ;
};
+void computeBP_UV_Coeffs(const SPar3DProjection& proj, double &fUX, double &fUY, double &fUZ, double &fUC,
+ double &fVX, double &fVY, double &fVZ, double &fVC);
+
+void computeBP_UV_Coeffs(const SConeProjection& proj, double &fUX, double &fUY, double &fUZ, double &fUC,
+ double &fVX, double &fVY, double &fVZ, double &fVC,
+ double &fDX, double &fDY, double &fDZ, double &fDC);
+
}
+
+
namespace astraCUDA3d {
using astra::SConeProjection;