19 #ifndef itkLevelSetEquationTermContainer_h
20 #define itkLevelSetEquationTermContainer_h
25 #include "itksys/hash_map.hxx"
41 template<
typename TInputImage,
42 typename TLevelSetContainer >
69 typedef typename LevelSetContainerType::LevelSetIdentifierType
303 #ifndef ITK_MANUAL_INSTANTIATION
304 #include "itkLevelSetEquationTermContainer.hxx"
307 #endif // itkLevelSetEquationTermContainer_h
void InitializeParameters()
LevelSetIdentifierType m_CurrentLevelSetId
void PushTerm(TermType *iTerm)
Light weight base class for most itk classes.
ConstIterator(const Iterator &it)
Class for container holding the terms of a given level set update equation.
Iterator(const MapTermContainerIteratorType &it)
bool operator!=(const Iterator &it) const
std::map< TermIdType, LevelSetOutputRealType > MapCFLContainerType
std::map< TermIdType, TermPointer > MapTermContainerType
SmartPointer< Self > Pointer
LevelSetEquationTermBase< InputImageType, LevelSetContainerType > TermType
void UpdatePixel(const LevelSetInputIndexType &iP, const LevelSetOutputRealType &oldValue, const LevelSetOutputRealType &newValue)
ConstIterator(const MapTermContainerConstIteratorType &it)
ConstIterator & operator*()
void AddTerm(const TermIdType &iId, TermType *iTerm)
LevelSetContainerType::OutputType LevelSetOutputPixelType
TermType * GetTerm() const
InputImageType::Pointer InputImagePointer
SmartPointer< const Self > ConstPointer
LevelSetContainerType::LevelSetType LevelSetType
TInputImage InputImageType
bool operator==(const ConstIterator &it) const
itksys::hash_set< std::string > RequiredDataType
LevelSetContainerType::LevelSetPointer LevelSetPointer
MapCFLContainerType m_TermContribution
Iterator(const ConstIterator &it)
void operator=(const Self &)
MapTermContainerType m_Container
TermType::RequiredDataType RequiredDataType
LevelSetEquationTermContainer()
bool operator!=(const Iterator &it) const
Abstract class to represents a term in the level-set evolution PDE.
TermIdType GetIdentifier() const
MapTermContainerType::const_iterator MapTermContainerConstIteratorType
LevelSetOutputRealType ComputeCFLContribution() const
MapTermContainerType::iterator MapTermContainerIteratorType
itksys::hash_map< std::string, TermPointer > HashMapStringTermContainerType
MapCFLContainerType::iterator MapCFLContainerIterator
LevelSetContainerType::HessianType LevelSetHessianType
LevelSetContainerType::Pointer LevelSetContainerPointer
bool operator==(const Iterator &it) const
TermIdType GetIdentifier() const
void ComputeRequiredData(const LevelSetInputIndexType &iP, LevelSetDataType &ioData)
MapTermContainerConstIteratorType m_Iterator
LevelSetContainerType::LevelSetIdentifierType LevelSetIdentifierType
LevelSetContainerType::LevelSetDataType LevelSetDataType
TermType * GetTerm(const TermIdType &iId)
ConstIterator operator++(int)
ConstIterator operator--(int)
TermType::Pointer TermPointer
ConstIterator * operator->()
LevelSetContainerType::InputIndexType LevelSetInputIndexType
void Initialize(const LevelSetInputIndexType &iP)
RequiredDataType m_RequiredData
LevelSetOutputRealType Evaluate(const LevelSetInputIndexType &iP)
InputImagePointer m_Input
virtual ~LevelSetEquationTermContainer()
TermType * GetTerm() const
TLevelSetContainer LevelSetContainerType
LevelSetContainerType::GradientType LevelSetGradientType
LevelSetContainerType::OutputRealType LevelSetOutputRealType
HashMapStringTermContainerType m_NameContainer
bool operator==(const Iterator &it) const
Base class for most ITK classes.
ConstIterator & operator--()
ConstIterator & operator++()
MapTermContainerIteratorType m_Iterator
MapCFLContainerType::const_iterator MapCFLContainerConstIterator
LevelSetContainerPointer m_LevelSetContainer
bool operator!=(const ConstIterator &it) const
LevelSetEquationTermContainer Self