18 #ifndef __itkSparseFieldLayer_h
19 #define __itkSparseFieldLayer_h
35 template<
typename TNodeType >
51 else {
return false; }
57 else {
return false; }
88 template<
typename TNodeType >
151 template<
typename TNodeType >
219 n->Previous->Next = n->Next;
220 n->Next->Previous = n->Previous;
246 else {
return false; }
252 unsigned int Size()
const;
261 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
274 #ifndef ITK_MANUAL_INSTANTIATION
275 #include "itkSparseFieldLayer.hxx"
SparseFieldLayerIterator & operator=(Superclass &sc)
ConstSparseFieldLayerIterator()
Light weight base class for most itk classes.
SparseFieldLayerIterator & operator++()
void PushFront(NodeType *n)
bool operator!=(const ConstSparseFieldLayerIterator o) const
const TNodeType * GetPointer() const
ConstIterator Begin() const
SparseFieldLayerIterator< NodeType > Iterator
unsigned int Size() const
const TNodeType * operator->() const
ConstSparseFieldLayerIterator< NodeType > ConstIterator
const TNodeType & operator*() const
The non-const version of the ConstSparseFieldLayerIterator.
ConstSparseFieldLayerIterator< TNodeType > Superclass
SmartPointer< const Self > ConstPointer
SparseFieldLayerIterator()
Used to iterate through an itkSparseFieldLayer.
SmartPointer< Self > Pointer
ConstSparseFieldLayerIterator & operator--()
std::vector< RegionType > RegionListType
~ConstSparseFieldLayerIterator()
Control indentation during Print() invocation.
ConstIterator End() const
SparseFieldLayerIterator(TNodeType *p)
const NodeType * Front() const
RegionListType SplitRegions(int num) const
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...
virtual void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
ConstSparseFieldLayerIterator & operator++()
SparseFieldLayerIterator & operator--()
ConstSparseFieldLayerIterator(TNodeType *p)
bool operator==(const ConstSparseFieldLayerIterator o) const
void operator=(const Self &)