18 #ifndef __itkSpecialCoordinatesImage_h
19 #define __itkSpecialCoordinatesImage_h
94 template<
typename TPixel,
unsigned int VImageDimension = 2 >
173 virtual void Allocate(
bool initialize=
false) ITK_OVERRIDE;
191 ( *m_Buffer )[offset] = value;
256 virtual void SetOrigin(
const double[VImageDimension]) {}
299 #ifndef ITK_MANUAL_INSTANTIATION
300 #include "itkSpecialCoordinatesImage.hxx"
Superclass::IndexType IndexType
SmartPointer< Self > Pointer
TPixel * GetBufferPointer()
Superclass::SpacingType SpacingType
Index< VImageDimension > IndexType
PixelContainerPointer m_Buffer
void operator=(const Self &)
Superclass::SizeType SizeType
DefaultPixelAccessor< PixelType > AccessorType
SpecialCoordinatesImage()
SpecialCoordinatesImage Self
Superclass::PointType PointType
TPixel & GetPixel(const IndexType &index)
Get a reference to a pixel (e.g. for editing).
virtual void SetOrigin(const PointType)
Superclass::RegionType RegionType
Templated n-dimensional nonrectilinear-coordinate image base class.
AccessorType GetPixelAccessor(void)
static const unsigned int ImageDimension
virtual void SetOrigin(const double[VImageDimension])
ObjectType * GetPointer() const
DefaultPixelAccessorFunctor< Self > AccessorFunctorType
Implements a weak reference to an object.
Size< VImageDimension > SizeType
Point< PointValueType, VImageDimension > PointType
virtual void Allocate(bool initialize=false) ITK_OVERRIDE
ImageBase< VImageDimension > Superclass
TPixel & operator[](const IndexType &index)
Access a pixel. This version can be an lvalue.
const TPixel & operator[](const IndexType &index) const
Access a pixel. This version can only be an rvalue.
Offset< VImageDimension > OffsetType
Vector< SpacingValueType, VImageDimension > SpacingType
const TPixel * GetBufferPointer() const
void FillBuffer(const TPixel &value)
void PrintSelf(std::ostream &os, Indent indent) const
virtual void SetOrigin(const float[VImageDimension])
virtual void SetSpacing(const double[VImageDimension])
Provides a common API for pixel accessors for Image and VectorImage.
PixelContainer::ConstPointer PixelContainerConstPointer
OffsetType::OffsetValueType OffsetValueType
virtual void SetSpacing(const float[VImageDimension])
PixelContainer::Pointer PixelContainerPointer
PixelContainer * GetPixelContainer()
Base class for templated image classes.
Superclass::OffsetType OffsetType
const TPixel & GetPixel(const IndexType &index) const
Get a pixel (read only version).
Control indentation during Print() invocation.
const PixelContainer * GetPixelContainer() const
OffsetValueType ComputeOffset(const IndexType &ind) const
SmartPointer< const Self > ConstPointer
void SetPixelContainer(PixelContainer *container)
virtual ~SpecialCoordinatesImage()
ImageRegion< VImageDimension > RegionType
virtual void SetSpacing(const SpacingType &)
Give access to partial aspects a type.
WeakPointer< const Self > ConstWeakPointer
virtual void Initialize()
Base class for all data objects in ITK.
void SetPixel(const IndexType &index, const TPixel &value)
Set a pixel value.
const AccessorType GetPixelAccessor(void) const
Defines an itk::Image front-end to a standard C-array.
ImportImageContainer< SizeValueType, PixelType > PixelContainer