18 #ifndef itkSparseImage_h
19 #define itkSparseImage_h
66 template<
typename TNode,
unsigned int VImageDimension = 2 >
86 static constexpr
unsigned int ImageDimension = Superclass::ImageDimension;
118 m_NodeList->PushFront( m_NodeStore->Borrow() );
119 NodeType *node = m_NodeList->Front();
120 node->m_Index = index;
121 this->SetPixel(index, node);
135 void Initialize()
override;
141 void PrintSelf(std::ostream & os,
Indent indent)
const override;
152 #ifndef ITK_MANUAL_INSTANTIATION
153 #include "itkSparseImage.hxx"
NodeStoreType::Pointer m_NodeStore
const NeighborhoodAccessorFunctorType GetNeighborhoodAccessor() const
NodeListType::Pointer m_NodeList
Implements a weak reference to an object.
A storage type for sparse image data.
NeighborhoodAccessorFunctorType GetNeighborhoodAccessor()
Provides accessor interfaces to Get pixels and is meant to be used on pointers contained within Neigh...
ImageBaseType::IndexType IndexType
NodeType * AddNode(const IndexType &index)
typename Superclass::IOPixelType IOPixelType
Control indentation during Print() invocation.
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 specialized memory management object for allocating and destroying contiguous blocks of objects...
Base class for all data objects in ITK.
Templated n-dimensional image class.
NodeListType * GetNodeList()