diff options
author | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2015-03-02 13:42:08 +0100 |
---|---|---|
committer | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2015-03-02 13:42:08 +0100 |
commit | bf5aa06406162656752f031edf3ca90f00ff76dd (patch) | |
tree | 0c0544cb4e9f892523b2aed581c7a56510383595 /cuda/2d/dims.h | |
parent | 24a2b2b0a6a354efd58774a4bce930cb9f90334f (diff) | |
download | astra-bf5aa06406162656752f031edf3ca90f00ff76dd.tar.gz astra-bf5aa06406162656752f031edf3ca90f00ff76dd.tar.bz2 astra-bf5aa06406162656752f031edf3ca90f00ff76dd.tar.xz astra-bf5aa06406162656752f031edf3ca90f00ff76dd.zip |
Untangle cuda and astra includes
Diffstat (limited to 'cuda/2d/dims.h')
-rw-r--r-- | cuda/2d/dims.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/cuda/2d/dims.h b/cuda/2d/dims.h index 37bfa66..e870da5 100644 --- a/cuda/2d/dims.h +++ b/cuda/2d/dims.h @@ -29,18 +29,12 @@ $Id$ #ifndef _CUDA_DIMS_H #define _CUDA_DIMS_H -namespace astraCUDA { +#include "astra/GeometryUtil2D.h" -struct SFanProjection { - // the source - float fSrcX, fSrcY; - // the start of the (linear) detector - float fDetSX, fDetSY; +namespace astraCUDA { - // the length of a single detector pixel - float fDetUX, fDetUY; -}; +using astra::SFanProjection; struct SDimensions { |