summaryrefslogtreecommitdiffstats
path: root/cuda/3d/dims3d.h
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2016-02-05 14:46:59 +0100
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2016-02-10 17:00:42 +0100
commite38ff1723306b30a677d21bb2ea29436b763dfd6 (patch)
tree264b1eabeb9a6fe035185e7db6b933e2199df60a /cuda/3d/dims3d.h
parent559d3e599b7306e2de64f2a584d72bc5c98b692b (diff)
downloadastra-e38ff1723306b30a677d21bb2ea29436b763dfd6.tar.gz
astra-e38ff1723306b30a677d21bb2ea29436b763dfd6.tar.bz2
astra-e38ff1723306b30a677d21bb2ea29436b763dfd6.tar.xz
astra-e38ff1723306b30a677d21bb2ea29436b763dfd6.zip
Add cone_fp kernel support for anisotropic voxels
Diffstat (limited to 'cuda/3d/dims3d.h')
-rw-r--r--cuda/3d/dims3d.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cuda/3d/dims3d.h b/cuda/3d/dims3d.h
index 569b395..a15c67a 100644
--- a/cuda/3d/dims3d.h
+++ b/cuda/3d/dims3d.h
@@ -57,12 +57,16 @@ struct SProjectorParams3D {
SProjectorParams3D() :
iRaysPerDetDim(1), iRaysPerVoxelDim(1),
fOutputScale(1.0f),
+ fVolScaleX(1.0f), fVolScaleY(1.0f), fVolScaleZ(1.0f),
ker(ker3d_default)
{ }
unsigned int iRaysPerDetDim;
unsigned int iRaysPerVoxelDim;
float fOutputScale;
+ float fVolScaleX;
+ float fVolScaleY;
+ float fVolScaleZ;
Cuda3DProjectionKernel ker;
};