19#ifndef itkLevelSetContainerBase_h
20#define itkLevelSetContainerBase_h
41template <
typename TIdentifier,
typename TLevelSet>
110 : m_Iterator(it.m_Iterator)
161 return m_Iterator->first;
167 return m_Iterator->second;
186 : m_Iterator(it.m_Iterator)
238 return m_Iterator->first;
244 return m_Iterator->second;
326#ifndef ITK_MANUAL_INSTANTIATION
327# include "itkLevelSetContainerBase.hxx"
Base class of the Heaviside function.
Templated n-dimensional image class.
ConstIterator & operator++()
ConstIterator(const LevelSetContainerConstIteratorType &it)
ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION(Iterator)
bool operator==(const ConstIterator &it) const
LevelSetType * GetLevelSet() const
LevelSetIdentifierType GetIdentifier() const
bool operator==(const Iterator &it) const
ConstIterator(const Iterator &it)
ConstIterator & operator--()
ConstIterator operator++(int)
ConstIterator * operator->()
ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION(ConstIterator)
LevelSetContainerConstIteratorType m_Iterator
ConstIterator & operator*()
ConstIterator operator--(int)
bool operator==(const Iterator &it) const
Iterator(const ConstIterator &it)
Iterator(const LevelSetContainerIteratorType &it)
ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION(ConstIterator)
ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION(Iterator)
bool operator==(const ConstIterator &it) const
LevelSetContainerIteratorType m_Iterator
LevelSetType * GetLevelSet() const
LevelSetIdentifierType GetIdentifier() const
typename LevelSetType::OutputType OutputType
LevelSetPointer GetLevelSet(const LevelSetIdentifierType &iId) const
Get the level set function given its id.
typename LevelSetType::InputType InputIndexType
typename DomainMapImageFilterType::LevelSetDomain LevelSetDomainType
typename LevelSetType::OutputRealType OutputRealType
bool HasDomainMap() const
void SetContainer(const LevelSetContainerType &iContainer)
typename LevelSetType::HessianType HessianType
typename IdListType::iterator IdListIterator
LevelSetContainerBase()=default
Default Constructor.
typename LevelSetContainerType::const_iterator LevelSetContainerConstIteratorType
std::map< LevelSetIdentifierType, LevelSetPointer > LevelSetContainerType
typename LevelSetType::LevelSetDataType LevelSetDataType
LevelSetIdentifierType Size() const
bool AddLevelSet(const LevelSetIdentifierType &iId, LevelSetType *iLevelSet, const bool iForce=true)
Add one level set function given its id.
bool RemoveLevelSet(const LevelSetIdentifierType &iId)
Remove one level set function given its id.
std::map< LevelSetIdentifierType, LevelSetDomainType > DomainContainerType
typename IdListType::const_iterator IdListConstIterator
std::list< LevelSetIdentifierType > IdListType
typename DomainContainerType::iterator DomainIteratorType
typename LevelSetType::Pointer LevelSetPointer
TIdentifier LevelSetIdentifierType
const LevelSetContainerType & GetContainer() const
std::pair< LevelSetIdentifierType, LevelSetPointer > LevelSetPairType
typename DomainMapImageFilterType::Pointer DomainMapImageFilterPointer
typename LevelSetContainerType::iterator LevelSetContainerIteratorType
typename HeavisideType::ConstPointer HeavisideConstPointer
ConstIterator Begin() const
~LevelSetContainerBase() override=default
Default Destructor.
typename LevelSetType::GradientType GradientType
ConstIterator End() const
Specifies an image region where an unique std::list of level sets Id's are defined.
Light weight base class for most itk classes.
Base class for most ITK classes.
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
constexpr unsigned int Dimension
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....