39 template <
typename TPixel,
unsigned int VImageDimension = 2>
79 virtual void Allocate(
bool initialize=
false) ITK_OVERRIDE;
91 const TPixel & operator[](const
IndexType & index) const;
93 TPixel & operator[](const
IndexType & index);
192 void operator=(const
Self&) ITK_DELETE_FUNCTION;
210 return "A Factory for GPUImage";
215 itkFactorylessNewMacro(Self);
230 void operator=(const Self&) ITK_DELETE_FUNCTION;
232 #define OverrideImageTypeMacro(pt,dm) this->RegisterOverride( \
233 typeid(itk::Image<pt,dm>).name(), \
234 typeid(itk::GPUImage<pt,dm>).name(), \
235 "GPU Image Override", \
237 itk::CreateObjectFunction<GPUImage<pt,dm> >::New() )
269 template <
typename T>
276 template <
typename TPixelType,
unsigned int NDimension>
285 #ifndef ITK_MANUAL_INSTANTIATION
286 #include "itkGPUImage.hxx"
AccessorType GetPixelAccessor(void)
void DataHasBeenGenerated() override
void SetPixelContainer(PixelContainer *container)
Superclass::RegionType RegionType
PixelContainer::ConstPointer PixelContainerConstPointer
virtual void Initialize() override
Superclass::OffsetType OffsetType
void FillBuffer(const TPixel &value)
#define ITK_SOURCE_VERSION
SmartPointer< Self > Pointer
itk::SmartPointer< const Self > ConstPointer
Superclass::IOPixelType IOPixelType
const char * GetDescription() const override
Create instances of classes using an object factory.
Implements a weak reference to an object.
virtual void Graft(const DataObject *data) override
Superclass::SpacingType SpacingType
GPUDataManager::Pointer GetGPUDataManager() const
DefaultPixelAccessorFunctor< Self > AccessorFunctorType
void SetCurrentCommandQueue(int queueid)
NeighborhoodAccessorFunctor< Self > NeighborhoodAccessorFunctorType
Superclass::InternalPixelType InternalPixelType
Superclass::PixelType PixelType
PixelContainer * GetPixelContainer()
Superclass::DirectionType DirectionType
Templated n-dimensional image class for the GPU.
virtual void DataHasBeenGenerated()
Superclass::AccessorType AccessorType
WeakPointer< const Self > ConstWeakPointer
Provides accessor interfaces to Get pixels and is meant to be used on pointers contained within Neigh...
Superclass::PixelContainer PixelContainer
const PixelContainer * GetPixelContainer() const
Superclass::IndexType IndexType
virtual const char * GetITKSourceVersion() const override
const NeighborhoodAccessorFunctorType GetNeighborhoodAccessor() const
Superclass::SizeType SizeType
Image< TPixel, VImageDimension > Superclass
GPUImageDataManager< GPUImage >::Pointer m_DataManager
Superclass::DirectionType DirectionType
Provides a common API for pixel accessors for Image and VectorImage.
ImportImageContainer< SizeValueType, PixelType > PixelContainer
itk::ObjectFactoryBase Superclass
NeighborhoodAccessorFunctorType GetNeighborhoodAccessor()
Superclass::SpacingType SpacingType
const TPixel & GetPixel(const IndexType &index) const
#define OverrideImageTypeMacro(pt, dm)
SmartPointer< const Self > ConstPointer
Superclass::OffsetType OffsetType
Superclass::ValueType ValueType
Superclass::RegionType RegionType
GPUImage< TPixelType, NDimension > Type
AccessorType GetPixelAccessor(void)
int GetCurrentCommandQueueID()
static bool RegisterFactory(ObjectFactoryBase *, InsertionPositionType where=INSERT_AT_BACK, vcl_size_t position=0)
DefaultPixelAccessor< PixelType > AccessorType
virtual void Allocate(bool initialize=false) override
itk::SmartPointer< Self > Pointer
PixelContainer * GetPixelContainer()
static void RegisterOneFactory(void)
static const unsigned int ImageDimension
Give access to partial aspects a type.
Superclass::SizeType SizeType
TPixel * GetBufferPointer() override
Superclass::IndexType IndexType
void SetPixel(const IndexType &index, const TPixel &value)
Base class for all data objects in ITK.
Templated n-dimensional image class.
const AccessorType GetPixelAccessor(void) const
Defines an itk::Image front-end to a standard C-array.
PixelContainer::Pointer PixelContainerPointer