19 #ifndef __itkGPUImageDataManager_h
20 #define __itkGPUImageDataManager_h
33 template <
class TPixel,
unsigned int NDimension >
class GPUImage;
43 template <
class ImageType >
48 friend class GPUImage< typename ImageType::PixelType, ImageType::ImageDimension >;
57 itkTypeMacro(GPUImageDataManager, GPUDataManager);
59 static const unsigned int ImageDimension = ImageType::ImageDimension;
61 itkGetModifiableObjectMacro(GPUBufferedRegionIndex, GPUDataManager);
62 itkGetModifiableObjectMacro(GPUBufferedRegionSize, GPUDataManager);
64 void SetImagePointer( typename ImageType::Pointer img );
65 ImageType *GetImagePointer()
71 virtual void MakeCPUBufferUpToDate();
74 virtual void MakeGPUBufferUpToDate();
85 void operator=(
const Self&);
88 int m_BufferedRegionIndex[ImageType::ImageDimension];
89 int m_BufferedRegionSize[ImageType::ImageDimension];
97 #ifndef ITK_MANUAL_INSTANTIATION
98 #include "itkGPUImageDataManager.hxx"