18#ifndef itkWatershedSegmentTree_h
19#define itkWatershedSegmentTree_h
47template <
typename TScalar>
103 typename DequeType::size_type
106 return m_Deque.size();
114 return m_Deque.empty();
122 return m_Deque.front();
130 return m_Deque.back();
137 return m_Deque.front();
144 return m_Deque.back();
151 m_Deque.push_front(t);
158 m_Deque.push_back(t);
179 return m_Deque.begin();
186 return m_Deque.begin();
194 return m_Deque.end();
202 return m_Deque.end();
229#ifndef ITK_MANUAL_INSTANTIATION
230# include "itkWatershedSegmentTree.hxx"
Base class for all data objects in ITK.
Control indentation during Print() invocation.
Base class for most ITK classes.
const merge_t & Back() const
ConstIterator End() const
void PushFront(const ValueType &t)
void PrintSelf(std::ostream &os, Indent indent) const override
std::deque< merge_t > DequeType
const merge_t & Front() const
ConstIterator Begin() const
typename DequeType::iterator Iterator
typename DequeType::value_type ValueType
void Initialize() override
~SegmentTree() override=default
void PushBack(const ValueType &t)
DequeType::size_type Size() const
typename DequeType::const_iterator ConstIterator
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
class ITK_FORWARD_EXPORT DataObject
SizeValueType IdentifierType
bool operator()(const merge_t &a, const merge_t &b)
bool operator()(const merge_t &a, const merge_t &b)