18#ifndef itkNarrowBand_h
19#define itkNarrowBand_h
34template <
typename TIndexType,
typename TDataType>
40 signed char m_NodeState{ 0 };
50template <
typename NodeType>
69 using SizeType =
typename NodeContainerType::size_type;
71 using Iterator =
typename NodeContainerType::iterator;
83#if !defined(ITK_WRAPPING_PARSER)
84 std::vector<RegionType>
92 return m_NodeContainer.begin();
98 return m_NodeContainer.begin();
104 return m_NodeContainer.end();
110 return m_NodeContainer.end();
116 return m_NodeContainer.size();
122 return m_NodeContainer.empty();
129 m_NodeContainer.clear();
135 m_NodeContainer.reserve(n);
141 m_NodeContainer.push_back(n);
147 m_NodeContainer.pop_back();
153 m_NodeContainer.resize(n);
172 return m_TotalRadius;
186 return m_InnerRadius;
192 float m_TotalRadius{ 0.0 };
193 float m_InnerRadius{ 0.0 };
200#ifndef ITK_MANUAL_INSTANTIATION
201# include "itkNarrowBand.hxx"
Light weight base class for most itk classes.
std::vector< NodeType > NodeContainerType
const NodeType & operator[](SizeType n) const
void SetTotalRadius(const float val)
void SetInnerRadius(const float val)
void PushBack(const NodeType &n)
float GetTotalRadius() const
typename NodeContainerType::const_iterator ConstIterator
float GetInnerRadius() const
std::vector< RegionType > SplitBand(const SizeType &)
NodeType & operator[](SizeType n)
typename NodeContainerType::size_type SizeType
ConstIterator End() const
ConstIterator Begin() const
typename NodeContainerType::iterator Iterator
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....