26#ifndef itkOpenCLKernelToImageBridge_h
27#define itkOpenCLKernelToImageBridge_h
41template <
typename TImage>
61 return "OpenCLKernelToImageBridge";
66 const cl_uint argumentIndex,
68 const bool updateCPU);
72 const cl_uint argumentIndex,
73 const typename ImageType::Pointer & image,
74 const bool updateCPU);
78 const cl_uint argumentIndex,
79 const typename ImageType::Pointer & image,
86 SetSize(
OpenCLKernel & kernel,
const cl_uint argumentIndex,
const typename ImageType::SizeType & size);
106#ifndef ITK_MANUAL_INSTANTIATION
107# include "itkOpenCLKernelToImageBridge.hxx"
itkStaticConstMacro(ImageDimension, unsigned int, TImage::ImageDimension)
static void SetDirection(OpenCLKernel &kernel, const cl_uint argumentIndex, const typename ImageType::DirectionType &direction)
virtual ~OpenCLKernelToImageBridge()
OpenCLKernelToImageBridge()
OpenCLKernelToImageBridge(const Self &other)
typename ImageType::ConstPointer ImagePointer
static void SetImage(OpenCLKernel &kernel, const cl_uint argumentIndex, const typename ImageType::Pointer &image, const bool updateCPU)
const Self & operator=(const Self &)
static void SetImageMetaData(OpenCLKernel &kernel, const cl_uint argumentIndex, const typename ImageType::Pointer &image, typename GPUDataManager::Pointer &imageMetaDataManager)
typename ImageType::RegionType ImageRegionType
virtual const char * GetNameOfClass() const
static void SetSize(OpenCLKernel &kernel, const cl_uint argumentIndex, const typename ImageType::SizeType &size)
typename ImageType::PixelType ImagePixelType
static void SetOrigin(OpenCLKernel &kernel, const cl_uint argumentIndex, const typename ImageType::PointType &origin)
static void SetImageDataManager(OpenCLKernel &kernel, const cl_uint argumentIndex, const typename GPUDataManager::Pointer imageDataManager, const bool updateCPU)
The OpenCLKernel class represents an executable entry point function in an OpenCL program.