diff options
author | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2015-03-12 14:03:17 +0100 |
---|---|---|
committer | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2015-03-12 14:03:17 +0100 |
commit | 42db106d9b66639312d874e4f35e4e9ff7a407d0 (patch) | |
tree | 53979b6c59f7c18ff9398fa0e926367fdd6b9344 /cuda/3d/algo3d.h | |
parent | a70ad8df8fc2a3da63fc91dd18bbfd55be7a89dd (diff) | |
download | astra-42db106d9b66639312d874e4f35e4e9ff7a407d0.tar.gz astra-42db106d9b66639312d874e4f35e4e9ff7a407d0.tar.bz2 astra-42db106d9b66639312d874e4f35e4e9ff7a407d0.tar.xz astra-42db106d9b66639312d874e4f35e4e9ff7a407d0.zip |
Scale CUDA 3D FP/BP output with volume pixel size
Diffstat (limited to 'cuda/3d/algo3d.h')
-rw-r--r-- | cuda/3d/algo3d.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cuda/3d/algo3d.h b/cuda/3d/algo3d.h index 35ffc49..886b092 100644 --- a/cuda/3d/algo3d.h +++ b/cuda/3d/algo3d.h @@ -39,8 +39,8 @@ public: ReconAlgo3D(); ~ReconAlgo3D(); - bool setConeGeometry(const SDimensions3D& dims, const SConeProjection* projs); - bool setPar3DGeometry(const SDimensions3D& dims, const SPar3DProjection* projs); + bool setConeGeometry(const SDimensions3D& dims, const SConeProjection* projs, float fOutputScale); + bool setPar3DGeometry(const SDimensions3D& dims, const SPar3DProjection* projs, float fOutputScale); void signalAbort() { shouldAbort = true; } @@ -58,6 +58,8 @@ protected: SConeProjection* coneProjs; SPar3DProjection* par3DProjs; + float fOutputScale; + volatile bool shouldAbort; }; |