19#ifndef rtkCudaWarpForwardProjectionImageFilter_h
20#define rtkCudaWarpForwardProjectionImageFilter_h
22#include "rtkConfiguration.h"
27# include "itkCudaInPlaceImageFilter.h"
28# include "itkCudaUtil.h"
29# include "RTKExport.h"
33# ifdef RTK_EXTERN_TEMPLATES
34ITK_GCC_PRAGMA_DIAG_PUSH()
35ITK_GCC_PRAGMA_DIAG(ignored
"-Wattributes")
36extern template class RTK_EXPORT_EXPLICIT
37 itk::CudaInPlaceImageFilter<
itk::CudaImage<
float, 3>,
38 itk::CudaImage<
float, 3>,
39 rtk::ForwardProjectionImageFilter<
itk::CudaImage<
float, 3>>>;
40ITK_GCC_PRAGMA_DIAG_POP()
58class RTK_EXPORT CudaWarpForwardProjectionImageFilter
59 :
public itk::CudaInPlaceImageFilter<itk::CudaImage<float, 3>,
60 itk::CudaImage<float, 3>,
61 ForwardProjectionImageFilter<itk::CudaImage<float, 3>>>
64 ITK_DISALLOW_COPY_AND_MOVE(CudaWarpForwardProjectionImageFilter);
67 using InputImageType = itk::CudaImage<float, 3>;
69 using Self = CudaWarpForwardProjectionImageFilter;
70 using Superclass = ForwardProjectionImageFilter<InputImageType, InputImageType>;
71 using GPUSuperclass = itk::CudaInPlaceImageFilter<InputImageType, InputImageType, Superclass>;
72 using Pointer = itk::SmartPointer<Self>;
73 using ConstPointer = itk::SmartPointer<const Self>;
74 using DVFType = itk::CudaImage<DisplacementVectorType, 3>;
80 itkOverrideGetNameOfClassMacro(CudaWarpForwardProjectionImageFilter);
84 SetInputProjectionStack(
const InputImageType * ProjectionStack);
85 InputImageType::Pointer
86 GetInputProjectionStack();
90 SetInputVolume(
const InputImageType * Volume);
91 InputImageType::Pointer
96 SetDisplacementField(
const DVFType * DVF);
98 GetDisplacementField();
101 itkGetConstMacro(StepSize,
double);
105 CudaWarpForwardProjectionImageFilter();
106 ~CudaWarpForwardProjectionImageFilter() {};
109 GenerateInputRequestedRegion();
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
#define itkSetMacro(name, type)