18 #ifndef itkNarrowBand_h
19 #define itkNarrowBand_h
34 template<
typename TIndexType,
typename TDataType >
40 signed char m_NodeState{0};
50 template<
typename NodeType >
69 using SizeType =
typename NodeContainerType::size_type;
71 using Iterator =
typename NodeContainerType::iterator;
82 #if !defined( ITK_WRAPPING_PARSER )
83 std::vector< RegionType > SplitBand(
const SizeType&);
89 return m_NodeContainer.begin();
94 return m_NodeContainer.begin();
99 return m_NodeContainer.end();
104 return m_NodeContainer.end();
109 return m_NodeContainer.size();
114 return m_NodeContainer.empty();
120 m_NodeContainer.clear();
125 m_NodeContainer.reserve(n);
130 m_NodeContainer.push_back(n);
135 m_NodeContainer.pop_back();
140 m_NodeContainer.resize(n);
145 return m_NodeContainer[n];
150 return m_NodeContainer[n];
169 float m_TotalRadius{ 0.0 };
170 float m_InnerRadius{ 0.0 };
177 #ifndef ITK_MANUAL_INSTANTIATION
178 #include "itkNarrowBand.hxx"
float GetInnerRadius() const
Light weight base class for most itk classes.
void SetInnerRadius(const float &val)
Define numeric traits for std::vector.
typename NodeContainerType::size_type SizeType
NodeContainerType m_NodeContainer
const NodeType & operator[](SizeType n) const
typename NodeContainerType::const_iterator ConstIterator
std::vector< NodeType > NodeContainerType
ConstIterator End() const
void SetTotalRadius(const float &val)
float GetTotalRadius() const
void PushBack(const NodeType &n)
NodeType & operator[](SizeType n)
ImageBaseType::RegionType RegionType
typename NodeContainerType::iterator Iterator
ConstIterator Begin() const