19 #ifndef itkGPUImageDataManager_h
20 #define itkGPUImageDataManager_h
33 template <
typename TPixel,
unsigned int NDimension >
class GPUImage;
43 template <
typename ImageType >
48 friend class GPUImage< typename ImageType::PixelType, ImageType::ImageDimension >;
57 itkTypeMacro(GPUImageDataManager, GPUDataManager);
61 itkGetModifiableObjectMacro(GPUBufferedRegionIndex, GPUDataManager);
62 itkGetModifiableObjectMacro(GPUBufferedRegionSize, GPUDataManager);
82 void operator=(const
Self&);
95 #ifndef ITK_MANUAL_INSTANTIATION
96 #include "itkGPUImageDataManager.hxx"
Light weight base class for most itk classes.
static const unsigned int ImageDimension
int m_BufferedRegionSize[ImageType::ImageDimension]
GPUDataManager::Pointer m_GPUBufferedRegionSize
int m_BufferedRegionIndex[ImageType::ImageDimension]
Implements a weak reference to an object.
void SetImagePointer(typename ImageType::Pointer img)
GPU memory manager implemented using OpenCL. Required by GPUImage class.
Templated n-dimensional image class for the GPU.
virtual void MakeCPUBufferUpToDate()
GPUDataManager::Pointer m_GPUBufferedRegionIndex
GPU kernel manager implemented using OpenCL.
virtual void MakeGPUBufferUpToDate()
virtual ~GPUImageDataManager()
ObjectType * GetPointer() const
Implements transparent reference counting.
ImageType * GetImagePointer()
WeakPointer< ImageType > m_Image