ITK  5.0.0
Insight Segmentation and Registration Toolkit
Classes | Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Private Attributes | Friends | List of all members
itk::LevelSetContainerBase< TIdentifier, TLevelSet > Class Template Reference

#include <itkLevelSetContainerBase.h>

+ Inheritance diagram for itk::LevelSetContainerBase< TIdentifier, TLevelSet >:
+ Collaboration diagram for itk::LevelSetContainerBase< TIdentifier, TLevelSet >:

Detailed Description

template<typename TIdentifier, typename TLevelSet>
class itk::LevelSetContainerBase< TIdentifier, TLevelSet >

Container of level set.

Encapsulate an ordered set of level set function (see LevelSet).

Template Parameters
TIdentifiertype of the identifier used to reference on level set function
TLevelSettype of level set function in the container.

Definition at line 42 of file itkLevelSetContainerBase.h.

Classes

class  ConstIterator
 
class  Iterator
 

Public Types

using CacheImageType = Image< short, Dimension >
 
using ConstPointer = SmartPointer< const Self >
 
using DomainContainerType = std::map< LevelSetIdentifierType, LevelSetDomainType >
 
using DomainIteratorType = typename DomainContainerType::iterator
 
using DomainMapImageFilterPointer = typename DomainMapImageFilterType::Pointer
 
using DomainMapImageFilterType = LevelSetDomainMapImageFilter< IdListImageType, CacheImageType >
 
using GradientType = typename LevelSetType::GradientType
 
using HeavisideConstPointer = typename HeavisideType::ConstPointer
 
using HeavisideType = HeavisideStepFunctionBase< OutputRealType, OutputRealType >
 
using HessianType = typename LevelSetType::HessianType
 
using IdListConstIterator = typename IdListType::const_iterator
 
using IdListImageType = Image< IdListType, Dimension >
 
using IdListIterator = typename IdListType::iterator
 
using IdListType = std::list< LevelSetIdentifierType >
 
using InputIndexType = typename LevelSetType::InputType
 
using LevelSetContainerConstIteratorType = typename LevelSetContainerType::const_iterator
 
using LevelSetContainerIteratorType = typename LevelSetContainerType::iterator
 
using LevelSetContainerType = std::map< LevelSetIdentifierType, LevelSetPointer >
 
using LevelSetDataType = typename LevelSetType::LevelSetDataType
 
using LevelSetDomainType = typename DomainMapImageFilterType::LevelSetDomain
 
using LevelSetIdentifierType = TIdentifier
 
using LevelSetPairType = std::pair< LevelSetIdentifierType, LevelSetPointer >
 
using LevelSetPointer = typename LevelSetType::Pointer
 
using LevelSetType = TLevelSet
 
using OutputRealType = typename LevelSetType::OutputRealType
 
using OutputType = typename LevelSetType::OutputType
 
using Pointer = SmartPointer< Self >
 
using Self = LevelSetContainerBase
 
using Superclass = Object
 
- Public Types inherited from itk::Object
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = Object
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = LightObject
 

Public Member Functions

bool AddLevelSet (const LevelSetIdentifierType &iId, LevelSetType *iLevelSet, const bool iForce=true)
 
Iterator Begin ()
 
ConstIterator Begin () const
 
Iterator End ()
 
ConstIterator End () const
 
LevelSetPointer GetLevelSet (const LevelSetIdentifierType &iId) const
 
virtual const char * GetNameOfClass () const
 
bool HasDomainMap () const
 
bool RemoveLevelSet (const LevelSetIdentifierType &iId)
 
LevelSetIdentifierType Size () const
 
virtual void SetHeaviside (const HeavisideType *_arg)
 
virtual const HeavisideTypeGetHeaviside () const
 
virtual void SetDomainMapFilter (DomainMapImageFilterType *_arg)
 
virtual DomainMapImageFilterTypeGetModifiableDomainMapFilter ()
 
virtual const
DomainMapImageFilterType
GetDomainMapFilter () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
LightObject::Pointer CreateAnother () const override
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexceptoverride
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Attributes

static constexpr unsigned int Dimension = LevelSetType::Dimension
 

Protected Member Functions

const LevelSetContainerTypeGetContainer () const
 
 LevelSetContainerBase ()=default
 
void SetContainer (const LevelSetContainerType &iContainer)
 
 ~LevelSetContainerBase () override=default
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual void SetTimeStamp (const TimeStamp &time)
 
 ~Object () override
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Attributes

LevelSetContainerType m_Container
 
DomainMapImageFilterPointer m_DomainMapFilter
 
HeavisideConstPointer m_Heaviside
 

Friends

class Iterator
 

Additional Inherited Members

- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount
 

Member Typedef Documentation

template<typename TIdentifier, typename TLevelSet>
using itk::LevelSetContainerBase< TIdentifier, TLevelSet >::CacheImageType = Image< short, Dimension >

Definition at line 81 of file itkLevelSetContainerBase.h.

template<typename TIdentifier, typename TLevelSet>
using itk::LevelSetContainerBase< TIdentifier, TLevelSet >::ConstPointer = SmartPointer< const Self >

Definition at line 49 of file itkLevelSetContainerBase.h.

template<typename TIdentifier, typename TLevelSet>
using itk::LevelSetContainerBase< TIdentifier, TLevelSet >::DomainContainerType = std::map< LevelSetIdentifierType, LevelSetDomainType >

Definition at line 90 of file itkLevelSetContainerBase.h.

template<typename TIdentifier, typename TLevelSet>
using itk::LevelSetContainerBase< TIdentifier, TLevelSet >::DomainIteratorType = typename DomainContainerType::iterator

Definition at line 91 of file itkLevelSetContainerBase.h.

template<typename TIdentifier, typename TLevelSet>
using itk::LevelSetContainerBase< TIdentifier, TLevelSet >::DomainMapImageFilterPointer = typename DomainMapImageFilterType::Pointer

Definition at line 87 of file itkLevelSetContainerBase.h.

template<typename TIdentifier, typename TLevelSet>
using itk::LevelSetContainerBase< TIdentifier, TLevelSet >::DomainMapImageFilterType = LevelSetDomainMapImageFilter< IdListImageType, CacheImageType >

Definition at line 83 of file itkLevelSetContainerBase.h.

template<typename TIdentifier, typename TLevelSet>
using itk::LevelSetContainerBase< TIdentifier, TLevelSet >::GradientType = typename LevelSetType::GradientType

Definition at line 61 of file itkLevelSetContainerBase.h.

template<typename TIdentifier, typename TLevelSet>
using itk::LevelSetContainerBase< TIdentifier, TLevelSet >::HeavisideConstPointer = typename HeavisideType::ConstPointer

Definition at line 73 of file itkLevelSetContainerBase.h.

template<typename TIdentifier, typename TLevelSet>
using itk::LevelSetContainerBase< TIdentifier, TLevelSet >::HeavisideType = HeavisideStepFunctionBase< OutputRealType, OutputRealType >

Definition at line 72 of file itkLevelSetContainerBase.h.

template<typename TIdentifier, typename TLevelSet>
using itk::LevelSetContainerBase< TIdentifier, TLevelSet >::HessianType = typename LevelSetType::HessianType

Definition at line 62 of file itkLevelSetContainerBase.h.

template<typename TIdentifier, typename TLevelSet>
using itk::LevelSetContainerBase< TIdentifier, TLevelSet >::IdListConstIterator = typename IdListType::const_iterator

Definition at line 79 of file itkLevelSetContainerBase.h.

template<typename TIdentifier, typename TLevelSet>
using itk::LevelSetContainerBase< TIdentifier, TLevelSet >::IdListImageType = Image< IdListType, Dimension >

Definition at line 80 of file itkLevelSetContainerBase.h.

template<typename TIdentifier, typename TLevelSet>
using itk::LevelSetContainerBase< TIdentifier, TLevelSet >::IdListIterator = typename IdListType::iterator

Definition at line 78 of file itkLevelSetContainerBase.h.

template<typename TIdentifier, typename TLevelSet>
using itk::LevelSetContainerBase< TIdentifier, TLevelSet >::IdListType = std::list< LevelSetIdentifierType >

Definition at line 77 of file itkLevelSetContainerBase.h.

template<typename TIdentifier, typename TLevelSet>
using itk::LevelSetContainerBase< TIdentifier, TLevelSet >::InputIndexType = typename LevelSetType::InputType

Definition at line 58 of file itkLevelSetContainerBase.h.

template<typename TIdentifier, typename TLevelSet>
using itk::LevelSetContainerBase< TIdentifier, TLevelSet >::LevelSetContainerConstIteratorType = typename LevelSetContainerType::const_iterator

Definition at line 69 of file itkLevelSetContainerBase.h.

template<typename TIdentifier, typename TLevelSet>
using itk::LevelSetContainerBase< TIdentifier, TLevelSet >::LevelSetContainerIteratorType = typename LevelSetContainerType::iterator

Definition at line 70 of file itkLevelSetContainerBase.h.

template<typename TIdentifier, typename TLevelSet>
using itk::LevelSetContainerBase< TIdentifier, TLevelSet >::LevelSetContainerType = std::map< LevelSetIdentifierType, LevelSetPointer >

Definition at line 68 of file itkLevelSetContainerBase.h.

template<typename TIdentifier, typename TLevelSet>
using itk::LevelSetContainerBase< TIdentifier, TLevelSet >::LevelSetDataType = typename LevelSetType::LevelSetDataType

Definition at line 63 of file itkLevelSetContainerBase.h.

template<typename TIdentifier, typename TLevelSet>
using itk::LevelSetContainerBase< TIdentifier, TLevelSet >::LevelSetDomainType = typename DomainMapImageFilterType::LevelSetDomain

Definition at line 88 of file itkLevelSetContainerBase.h.

template<typename TIdentifier, typename TLevelSet>
using itk::LevelSetContainerBase< TIdentifier, TLevelSet >::LevelSetIdentifierType = TIdentifier

IdentifierType

Definition at line 66 of file itkLevelSetContainerBase.h.

template<typename TIdentifier, typename TLevelSet>
using itk::LevelSetContainerBase< TIdentifier, TLevelSet >::LevelSetPairType = std::pair< LevelSetIdentifierType, LevelSetPointer >

Definition at line 85 of file itkLevelSetContainerBase.h.

template<typename TIdentifier, typename TLevelSet>
using itk::LevelSetContainerBase< TIdentifier, TLevelSet >::LevelSetPointer = typename LevelSetType::Pointer

Definition at line 57 of file itkLevelSetContainerBase.h.

template<typename TIdentifier, typename TLevelSet>
using itk::LevelSetContainerBase< TIdentifier, TLevelSet >::LevelSetType = TLevelSet

type alias related to the type of level set

Definition at line 56 of file itkLevelSetContainerBase.h.

template<typename TIdentifier, typename TLevelSet>
using itk::LevelSetContainerBase< TIdentifier, TLevelSet >::OutputRealType = typename LevelSetType::OutputRealType

Definition at line 60 of file itkLevelSetContainerBase.h.

template<typename TIdentifier, typename TLevelSet>
using itk::LevelSetContainerBase< TIdentifier, TLevelSet >::OutputType = typename LevelSetType::OutputType

Definition at line 59 of file itkLevelSetContainerBase.h.

template<typename TIdentifier, typename TLevelSet>
using itk::LevelSetContainerBase< TIdentifier, TLevelSet >::Pointer = SmartPointer< Self >

Definition at line 48 of file itkLevelSetContainerBase.h.

template<typename TIdentifier, typename TLevelSet>
using itk::LevelSetContainerBase< TIdentifier, TLevelSet >::Self = LevelSetContainerBase

Definition at line 47 of file itkLevelSetContainerBase.h.

template<typename TIdentifier, typename TLevelSet>
using itk::LevelSetContainerBase< TIdentifier, TLevelSet >::Superclass = Object

Definition at line 50 of file itkLevelSetContainerBase.h.

Constructor & Destructor Documentation

template<typename TIdentifier, typename TLevelSet>
itk::LevelSetContainerBase< TIdentifier, TLevelSet >::LevelSetContainerBase ( )
protecteddefault

Default Constructor.

template<typename TIdentifier, typename TLevelSet>
itk::LevelSetContainerBase< TIdentifier, TLevelSet >::~LevelSetContainerBase ( )
overrideprotecteddefault

Default Destructor.

Member Function Documentation

template<typename TIdentifier, typename TLevelSet>
bool itk::LevelSetContainerBase< TIdentifier, TLevelSet >::AddLevelSet ( const LevelSetIdentifierType iId,
LevelSetType iLevelSet,
const bool  iForce = true 
)

Add one level set function given its id.

Parameters
[in]iIdid of the level set function
[in]iLevelSetthe level set function to be added
[in]iForceif iForce is true (default) the level set function will be added to the container even if there is already one with the same id.
Returns
true if the level set has been added.
template<typename TIdentifier, typename TLevelSet>
Iterator itk::LevelSetContainerBase< TIdentifier, TLevelSet >::Begin ( )
template<typename TIdentifier, typename TLevelSet>
ConstIterator itk::LevelSetContainerBase< TIdentifier, TLevelSet >::Begin ( ) const
template<typename TIdentifier, typename TLevelSet>
Iterator itk::LevelSetContainerBase< TIdentifier, TLevelSet >::End ( )
template<typename TIdentifier, typename TLevelSet>
ConstIterator itk::LevelSetContainerBase< TIdentifier, TLevelSet >::End ( ) const
template<typename TIdentifier, typename TLevelSet>
const LevelSetContainerType& itk::LevelSetContainerBase< TIdentifier, TLevelSet >::GetContainer ( ) const
protected
template<typename TIdentifier, typename TLevelSet>
virtual const DomainMapImageFilterType* itk::LevelSetContainerBase< TIdentifier, TLevelSet >::GetDomainMapFilter ( ) const
virtual

Set/Get the domain map image filter.

template<typename TIdentifier, typename TLevelSet>
virtual const HeavisideType* itk::LevelSetContainerBase< TIdentifier, TLevelSet >::GetHeaviside ( ) const
virtual
Todo:
add documentation
template<typename TIdentifier, typename TLevelSet>
LevelSetPointer itk::LevelSetContainerBase< TIdentifier, TLevelSet >::GetLevelSet ( const LevelSetIdentifierType iId) const

Get the level set function given its id.

Parameters
[in]iId
Returns
the level set function if it is in the container, else nullptr.
template<typename TIdentifier, typename TLevelSet>
virtual DomainMapImageFilterType* itk::LevelSetContainerBase< TIdentifier, TLevelSet >::GetModifiableDomainMapFilter ( )
virtual

Set/Get the domain map image filter.

template<typename TIdentifier, typename TLevelSet>
virtual const char* itk::LevelSetContainerBase< TIdentifier, TLevelSet >::GetNameOfClass ( ) const
virtual
template<typename TIdentifier, typename TLevelSet>
bool itk::LevelSetContainerBase< TIdentifier, TLevelSet >::HasDomainMap ( ) const

Does the level set container have a domain map?

template<typename TIdentifier, typename TLevelSet>
bool itk::LevelSetContainerBase< TIdentifier, TLevelSet >::RemoveLevelSet ( const LevelSetIdentifierType iId)

Remove one level set function given its id.

Parameters
[in]iIdid of the level set function to be removed
Returns
true if it has been removed, false if the id was not present in the container.
template<typename TIdentifier, typename TLevelSet>
void itk::LevelSetContainerBase< TIdentifier, TLevelSet >::SetContainer ( const LevelSetContainerType iContainer)
protected
template<typename TIdentifier, typename TLevelSet>
virtual void itk::LevelSetContainerBase< TIdentifier, TLevelSet >::SetDomainMapFilter ( DomainMapImageFilterType _arg)
virtual

Set/Get the domain map image filter.

template<typename TIdentifier, typename TLevelSet>
virtual void itk::LevelSetContainerBase< TIdentifier, TLevelSet >::SetHeaviside ( const HeavisideType _arg)
virtual
Todo:
add documentation
template<typename TIdentifier, typename TLevelSet>
LevelSetIdentifierType itk::LevelSetContainerBase< TIdentifier, TLevelSet >::Size ( ) const

Get the number of LevelSets in the container.

Friends And Related Function Documentation

template<typename TIdentifier, typename TLevelSet>
friend class Iterator
friend

Definition at line 94 of file itkLevelSetContainerBase.h.

Member Data Documentation

template<typename TIdentifier, typename TLevelSet>
constexpr unsigned int itk::LevelSetContainerBase< TIdentifier, TLevelSet >::Dimension = LevelSetType::Dimension
static

Definition at line 75 of file itkLevelSetContainerBase.h.

template<typename TIdentifier, typename TLevelSet>
LevelSetContainerType itk::LevelSetContainerBase< TIdentifier, TLevelSet >::m_Container
private

Definition at line 291 of file itkLevelSetContainerBase.h.

template<typename TIdentifier, typename TLevelSet>
DomainMapImageFilterPointer itk::LevelSetContainerBase< TIdentifier, TLevelSet >::m_DomainMapFilter
private

Definition at line 290 of file itkLevelSetContainerBase.h.

template<typename TIdentifier, typename TLevelSet>
HeavisideConstPointer itk::LevelSetContainerBase< TIdentifier, TLevelSet >::m_Heaviside
private

Definition at line 289 of file itkLevelSetContainerBase.h.


The documentation for this class was generated from the following file: