18#ifndef itkSparseImage_h
19#define itkSparseImage_h
66template <
typename TNode,
unsigned int VImageDimension = 2>
86 static constexpr unsigned int ImageDimension = Superclass::ImageDimension;
98 using typename Superclass::IOPixelType;
114 const NeighborhoodAccessorFunctorType
125 m_NodeList->PushFront(m_NodeStore->Borrow());
126 NodeType * node = m_NodeList->Front();
127 node->m_Index = index;
128 this->SetPixel(index, node);
161#ifndef ITK_MANUAL_INSTANTIATION
162# include "itkSparseImage.hxx"
Base class for all data objects in ITK.
Templated n-dimensional image class.
Control indentation during Print() invocation.
Provides accessor interfaces to Get pixels and is meant to be used on pointers contained within Neigh...
A specialized memory management object for allocating and destroying contiguous blocks of objects.
Base class for most ITK classes.
A very simple linked list that is used to manage nodes in a layer of a sparse field level-set solver.
A storage type for sparse image data.
NodeType * AddNode(const IndexType &index)
void Initialize() override
NeighborhoodAccessorFunctorType GetNeighborhoodAccessor()
NodeListType * GetNodeList()
const NeighborhoodAccessorFunctorType GetNeighborhoodAccessor() const
void PrintSelf(std::ostream &os, Indent indent) const override
~SparseImage() override=default
Implements a weak reference to an object.
ImageBaseType::IndexType IndexType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....