19#ifndef itkNDImageBase_h
20#define itkNDImageBase_h
25#include "itkImageFileWriter.h"
57template <
class TPixel>
138 virtual const TPixel &
150 virtual const TPixel *
243 NewNDImage(
unsigned int dim);
259template <
class TPixel>
An image whose dimension can be specified at runtime.
virtual void Initialize()=0
typename Spacing2DType::ValueType SpacingValueType
virtual void Allocate()=0
virtual const TPixel * GetBufferPointer() const =0
Array< IndexValueType > IndexType
Array< SizeValueType > SizeType
virtual void SetSpacing(const SpacingType &spacing)=0
const TPixel & operator[](const IndexType &index) const
static Pointer NewNDImage(unsigned int dim)
virtual void CreateNewImage()=0
virtual void FillBuffer(const TPixel &value)=0
typename ImageBase< 2 >::OffsetValueType OffsetValueType
virtual void SetImageIOWriter(ImageIOBase *_arg)=0
typename Image< TPixel, 2 >::PixelContainer PixelContainer
virtual TPixel & GetPixel(const IndexType &index)=0
virtual void CopyInformation(const DataObject *data)=0
virtual const TPixel & GetPixel(const IndexType &index) const =0
SmartPointer< const Self > ConstPointer
~NDImageBase() override=default
virtual unsigned int ImageDimension()=0
virtual OffsetValueType ComputeOffset(const IndexType &ind) const =0
typename ImageBase< 2 >::PointType Point2DType
Array< OffsetValueType > OffsetType
virtual void SetInputFileName(const char *)=0
virtual void SetRequestedRegion(DataObject *data)=0
virtual const OffsetValueType * GetOffsetTable() const =0
Array< PointValueType > PointType
virtual void SetPixelContainer(PixelContainer *container)=0
virtual IndexType ComputeIndex(OffsetValueType offset) const =0
typename Image< TPixel, 2 >::PixelContainerConstPointer PixelContainerConstPointer
virtual PointType GetOrigin()=0
virtual const AccessorType GetPixelAccessor() const =0
virtual SpacingType GetSpacing()=0
virtual void SetImageIOReader(ImageIOBase *_arg)=0
virtual PixelContainer * GetPixelContainer()=0
virtual unsigned int GetImageDimension()=0
virtual const char * GetOutputFileName()=0
typename ImageBase< 2 >::SpacingType Spacing2DType
Array< SpacingValueType > SpacingType
typename Image< TPixel, 2 >::AccessorType AccessorType
virtual TPixel * GetBufferPointer()=0
virtual void SetOutputFileName(const char *)=0
ITK_DISALLOW_COPY_AND_MOVE(NDImageBase)
virtual ImageIOBase * GetImageIOReader()=0
typename Image< TPixel, 2 >::InternalPixelType InternalPixelType
typename Point2DType::ValueType PointValueType
SmartPointer< Self > Pointer
virtual void SetPixel(const IndexType &index, const TPixel &value)=0
virtual ImageIOBase * GetImageIOWriter()=0
virtual AccessorType GetPixelAccessor()=0
TPixel & operator[](const IndexType &index)
virtual const PixelContainer * GetPixelContainer() const =0
typename Image< TPixel, 2 >::ValueType ValueType
DataObject::Pointer DataObjectPointer
virtual void SetRegions(SizeType size)=0
virtual void SetOrigin(const PointType &origin)=0
virtual const char * GetInputFileName()=0
typename Image< TPixel, 2 >::PixelContainerPointer PixelContainerPointer