From bf5aa06406162656752f031edf3ca90f00ff76dd Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Mon, 2 Mar 2015 13:42:08 +0100 Subject: Untangle cuda and astra includes --- cuda/2d/dims.h | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'cuda/2d/dims.h') 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 { -- cgit v1.2.3