diff options
author | Willem Jan Palenstijn <wjp@usecode.org> | 2015-06-26 12:01:09 +0200 |
---|---|---|
committer | Willem Jan Palenstijn <wjp@usecode.org> | 2015-06-26 12:01:09 +0200 |
commit | ba092a5602abba8b1a4bd17988dee6b567f02b7a (patch) | |
tree | e7addffc79f6871c4d93338064f08a0347692047 /include | |
parent | 62f3aa5792011792db866ce0841c8d164aa9a34d (diff) | |
parent | 233331b4a192c0149f58af1d4c89526260cd3a58 (diff) | |
download | astra-ba092a5602abba8b1a4bd17988dee6b567f02b7a.tar.gz astra-ba092a5602abba8b1a4bd17988dee6b567f02b7a.tar.bz2 astra-ba092a5602abba8b1a4bd17988dee6b567f02b7a.tar.xz astra-ba092a5602abba8b1a4bd17988dee6b567f02b7a.zip |
Merge pull request #75 from wjp/cuda_options
Move supersampling options from Algorithm to CudaProjector
Diffstat (limited to 'include')
-rw-r--r-- | include/astra/CudaProjector2D.h | 6 | ||||
-rw-r--r-- | include/astra/CudaProjector3D.h | 5 |
2 files changed, 10 insertions, 1 deletions
diff --git a/include/astra/CudaProjector2D.h b/include/astra/CudaProjector2D.h index a571851..ecfca41 100644 --- a/include/astra/CudaProjector2D.h +++ b/include/astra/CudaProjector2D.h @@ -121,9 +121,15 @@ public: virtual std::string description() const; + Cuda2DProjectionKernel getProjectionKernel() const { return m_projectionKernel; } + int getVoxelSuperSampling() const { return m_iVoxelSuperSampling; } + int getDetectorSuperSampling() const { return m_iDetectorSuperSampling; } + protected: Cuda2DProjectionKernel m_projectionKernel; + int m_iVoxelSuperSampling; + int m_iDetectorSuperSampling; }; //---------------------------------------------------------------------------------------- diff --git a/include/astra/CudaProjector3D.h b/include/astra/CudaProjector3D.h index a181531..1d570fe 100644 --- a/include/astra/CudaProjector3D.h +++ b/include/astra/CudaProjector3D.h @@ -115,11 +115,14 @@ public: Cuda3DProjectionKernel getProjectionKernel() const { return m_projectionKernel; } + int getVoxelSuperSampling() const { return m_iVoxelSuperSampling; } + int getDetectorSuperSampling() const { return m_iDetectorSuperSampling; } protected: Cuda3DProjectionKernel m_projectionKernel; - + int m_iVoxelSuperSampling; + int m_iDetectorSuperSampling; }; |