26#ifndef __itkOpenCLKernelToImageBridge_h
27#define __itkOpenCLKernelToImageBridge_h
41template<
typename TImage >
59 virtual const char *
GetNameOfClass()
const {
return "OpenCLKernelToImageBridge"; }
65 const typename ImageType::Pointer & image,
const bool updateCPU );
68 const typename ImageType::Pointer & image,
72 const typename ImageType::DirectionType & direction );
75 const typename ImageType::SizeType & size );
78 const typename ImageType::PointType & origin );
96#ifndef ITK_MANUAL_INSTANTIATION
97#include "itkOpenCLKernelToImageBridge.hxx"
ImageType::RegionType ImageRegionType
itkStaticConstMacro(ImageDimension, unsigned int, TImage::ImageDimension)
static void SetDirection(OpenCLKernel &kernel, const cl_uint argumentIndex, const typename ImageType::DirectionType &direction)
virtual ~OpenCLKernelToImageBridge()
ImageType::ConstPointer ImagePointer
OpenCLKernelToImageBridge()
OpenCLKernelToImageBridge(const Self &other)
static void SetImage(OpenCLKernel &kernel, const cl_uint argumentIndex, const typename ImageType::Pointer &image, const bool updateCPU)
const Self & operator=(const Self &)
OpenCLKernelToImageBridge Self
static void SetImageMetaData(OpenCLKernel &kernel, const cl_uint argumentIndex, const typename ImageType::Pointer &image, typename GPUDataManager::Pointer &imageMetaDataManager)
ImageType::PixelType ImagePixelType
virtual const char * GetNameOfClass() const
static void SetSize(OpenCLKernel &kernel, const cl_uint argumentIndex, const typename ImageType::SizeType &size)
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.