|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
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;
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"
float GetInnerRadius() const
void SetInnerRadius(const float &val)
std::vector< NodeType > NodeContainerType
NodeType & operator[](SizeType n)
ConstIterator Begin() const
NodeContainerType m_NodeContainer
void PushBack(const NodeType &n)
const NodeType & operator[](SizeType n) const
ImageBaseType::SizeType SizeType
typename NodeContainerType::const_iterator ConstIterator
float GetTotalRadius() const
Light weight base class for most itk classes.
struct { Iterator Begin RegionType
typename NodeContainerType::size_type SizeType
Define additional traits for native types such as int or float.
void SetTotalRadius(const float &val)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
ConstIterator End() const
typename NodeContainerType::iterator Iterator