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;
253 virtual void SetSpacing(
const double[VImageDimension]) ITK_OVERRIDE {}
254 virtual void SetSpacing(
const float[VImageDimension]) ITK_OVERRIDE {}
256 virtual void SetOrigin(
const double[VImageDimension]) ITK_OVERRIDE {}
257 virtual void SetOrigin(
const float[VImageDimension]) ITK_OVERRIDE {}
299 #ifndef ITK_MANUAL_INSTANTIATION
300 #include "itkSpecialCoordinatesImage.hxx"
virtual void Initialize() override
Superclass::IndexType IndexType
SmartPointer< Self > Pointer
TPixel * GetBufferPointer()
virtual void Allocate(bool initialize=false) override
Superclass::SpacingType SpacingType
Index< VImageDimension > IndexType
PixelContainerPointer m_Buffer
void operator=(const Self &)
Superclass::SizeType SizeType
DefaultPixelAccessor< PixelType > AccessorType
void PrintSelf(std::ostream &os, Indent indent) const override
SpecialCoordinatesImage()
SpecialCoordinatesImage Self
Superclass::PointType PointType
TPixel & GetPixel(const IndexType &index)
Get a reference to a pixel (e.g. for editing).
Superclass::RegionType RegionType
Templated n-dimensional nonrectilinear-coordinate image base class.
AccessorType GetPixelAccessor(void)
static const unsigned int ImageDimension
ObjectType * GetPointer() const
DefaultPixelAccessorFunctor< Self > AccessorFunctorType
Implements a weak reference to an object.
Size< VImageDimension > SizeType
Point< PointValueType, VImageDimension > PointType
ImageBase< VImageDimension > Superclass
TPixel & operator[](const IndexType &index)
Access a pixel. This version can be an lvalue.
virtual void SetSpacing(const SpacingType &) override
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)
Provides a common API for pixel accessors for Image and VectorImage.
PixelContainer::ConstPointer PixelContainerConstPointer
virtual void SetSpacing(const float[VImageDimension]) override
OffsetType::OffsetValueType OffsetValueType
PixelContainer::Pointer PixelContainerPointer
PixelContainer * GetPixelContainer()
virtual void SetOrigin(const double[VImageDimension]) override
Base class for templated image classes.
Superclass::OffsetType OffsetType
virtual void SetOrigin(const float[VImageDimension]) override
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
Give access to partial aspects a type.
WeakPointer< const Self > ConstWeakPointer
virtual void SetSpacing(const double[VImageDimension]) override
virtual void SetOrigin(const PointType) override
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