18 #ifndef __itkSparseFieldLayer_h
19 #define __itkSparseFieldLayer_h
35 template<
class TNodeType >
51 else {
return false; }
57 else {
return false; }
87 template<
class TNodeType >
150 template<
class TNodeType >
191 {
return m_HeadNode->Next; }
195 {
return m_HeadNode->Next; }
200 m_HeadNode->Next = m_HeadNode->Next->Next;
201 m_HeadNode->Next->Previous = m_HeadNode;
208 n->Next = m_HeadNode->Next;
209 n->Previous = m_HeadNode;
210 m_HeadNode->Next->Previous = n;
211 m_HeadNode->Next = n;
218 n->Previous->Next = n->Next;
219 n->Next->Previous = n->Previous;
225 {
return Iterator(m_HeadNode->Next); }
244 if ( m_HeadNode->Next == m_HeadNode ) {
return true; }
245 else {
return false; }
251 unsigned int Size()
const;
255 RegionListType SplitRegions(
int num)
const;
260 virtual void PrintSelf(std::ostream & os,
Indent indent)
const;
264 void operator=(
const Self &);
273 #ifndef ITK_MANUAL_INSTANTIATION
274 #include "itkSparseFieldLayer.hxx"