19 #ifndef itkGPUImageDataManager_h
20 #define itkGPUImageDataManager_h
33 template <
typename TPixel,
unsigned int VDimension>
44 template <
typename ImageType>
49 friend class GPUImage<typename ImageType::PixelType, ImageType::ImageDimension>;
52 ITK_DISALLOW_COPY_AND_MOVE(GPUImageDataManager);
60 itkOverrideGetNameOfClassMacro(GPUImageDataManager);
62 static constexpr unsigned int ImageDimension = ImageType::ImageDimension;
64 itkGetModifiableObjectMacro(GPUBufferedRegionIndex, GPUDataManager);
65 itkGetModifiableObjectMacro(GPUBufferedRegionSize, GPUDataManager);
68 SetImagePointer(ImageType * img);
78 MakeCPUBufferUpToDate();
82 MakeGPUBufferUpToDate();
91 int m_BufferedRegionIndex[ImageType::ImageDimension]{};
92 int m_BufferedRegionSize[ImageType::ImageDimension]{};
99 #ifndef ITK_MANUAL_INSTANTIATION
100 # include "itkGPUImageDataManager.hxx"