ITK  4.4.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
itk::FastMarchingNumberOfElementsStoppingCriterion< TInput, TOutput > Class Template Reference

#include <itkFastMarchingNumberOfElementsStoppingCriterion.h>

+ Inheritance diagram for itk::FastMarchingNumberOfElementsStoppingCriterion< TInput, TOutput >:
+ Collaboration diagram for itk::FastMarchingNumberOfElementsStoppingCriterion< TInput, TOutput >:

Detailed Description

template<class TInput, class TOutput>
class itk::FastMarchingNumberOfElementsStoppingCriterion< TInput, TOutput >

Stopping Criterion is verified when Current Number of Elements is equal to or greater than the provided Target Number Of Elements.

Note
For itk::Image, one element is one pixel. So the number of elements is directly linked to the physical size of the object, i.e. $ PhysicalSize = TargetNumberOfElements \cdot \prod_{i=1}{dim} Spacing_{i} $
For itk::QuadEdgeMesh, one element is one vertex.

Definition at line 41 of file itkFastMarchingNumberOfElementsStoppingCriterion.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::NodeType NodeType
 
typedef Superclass::OutputPixelType OutputPixelType
 
typedef SmartPointer< SelfPointer
 
typedef
FastMarchingNumberOfElementsStoppingCriterion 
Self
 
typedef
FastMarchingStoppingCriterionBase
< TInput, TOutput > 
Superclass
 
- Public Types inherited from itk::FastMarchingStoppingCriterionBase< TInput, TOutput >
typedef SmartPointer< const SelfConstPointer
 
typedef Traits::NodePairType NodePairType
 
typedef Traits::NodeType NodeType
 
typedef Traits::OutputDomainPointer OutputDomainPointer
 
typedef Traits::OutputDomainType OutputDomainType
 
typedef Traits::OutputPixelType OutputPixelType
 
typedef SmartPointer< SelfPointer
 
typedef
FastMarchingStoppingCriterionBase 
Self
 
typedef StoppingCriterionBase Superclass
 
typedef FastMarchingTraits
< TInput, TOutput > 
Traits
 
- Public Types inherited from itk::StoppingCriterionBase
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef StoppingCriterionBase Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
std::string GetDescription () const
 
virtual const char * GetNameOfClass () const
 
bool IsSatisfied () const
 
virtual void SetTargetNumberOfElements (IdentifierType _arg)
 
virtual IdentifierType GetTargetNumberOfElements ()
 
- Public Member Functions inherited from itk::FastMarchingStoppingCriterionBase< TInput, TOutput >
virtual const OutputDomainTypeGetDomain () const
 
virtual OutputDomainTypeGetModifiableDomain ()
 
void Reinitialize ()
 
void SetCurrentNodePair (const NodePairType &iNodePair)
 
virtual void SetDomain (OutputDomainType *_arg)
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary (void)
 
const MetaDataDictionaryGetMetaDataDictionary (void) 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
 
virtual void Register () const
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int)
 
virtual void UnRegister () 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 Member Functions

static Pointer New ()
 

Protected Member Functions

 FastMarchingNumberOfElementsStoppingCriterion ()
 
void Reset ()
 
void SetCurrentNode (const NodeType &)
 
 ~FastMarchingNumberOfElementsStoppingCriterion ()
 
- Protected Member Functions inherited from itk::FastMarchingStoppingCriterionBase< TInput, TOutput >
 FastMarchingStoppingCriterionBase ()
 
virtual void SetCurrentNode (const NodeType &iNode)=0
 
virtual void SetCurrentValue (const OutputPixelType &iValue)
 
virtual ~FastMarchingStoppingCriterionBase ()
 
- Protected Member Functions inherited from itk::StoppingCriterionBase
 StoppingCriterionBase ()
 
virtual ~StoppingCriterionBase ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void PrintSelf (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- 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 ()
 

Protected Attributes

IdentifierType m_CurrentNumberOfElements
 
IdentifierType m_TargetNumberOfElements
 
- Protected Attributes inherited from itk::FastMarchingStoppingCriterionBase< TInput, TOutput >
OutputPixelType m_CurrentValue
 
OutputDomainPointer m_Domain
 
OutputPixelType m_PreviousValue
 

Private Member Functions

 FastMarchingNumberOfElementsStoppingCriterion (const Self &)
 
void operator= (const Self &)
 

Additional Inherited Members

- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 

Member Typedef Documentation

template<class TInput , class TOutput >
typedef SmartPointer< const Self > itk::FastMarchingNumberOfElementsStoppingCriterion< TInput, TOutput >::ConstPointer
template<class TInput , class TOutput >
typedef Superclass::NodeType itk::FastMarchingNumberOfElementsStoppingCriterion< TInput, TOutput >::NodeType
template<class TInput , class TOutput >
typedef Superclass::OutputPixelType itk::FastMarchingNumberOfElementsStoppingCriterion< TInput, TOutput >::OutputPixelType
template<class TInput , class TOutput >
typedef SmartPointer< Self > itk::FastMarchingNumberOfElementsStoppingCriterion< TInput, TOutput >::Pointer
template<class TInput , class TOutput >
typedef FastMarchingNumberOfElementsStoppingCriterion itk::FastMarchingNumberOfElementsStoppingCriterion< TInput, TOutput >::Self
template<class TInput , class TOutput >
typedef FastMarchingStoppingCriterionBase< TInput, TOutput > itk::FastMarchingNumberOfElementsStoppingCriterion< TInput, TOutput >::Superclass

Constructor & Destructor Documentation

template<class TInput , class TOutput >
itk::FastMarchingNumberOfElementsStoppingCriterion< TInput, TOutput >::FastMarchingNumberOfElementsStoppingCriterion ( )
inlineprotected
template<class TInput , class TOutput >
itk::FastMarchingNumberOfElementsStoppingCriterion< TInput, TOutput >::~FastMarchingNumberOfElementsStoppingCriterion ( )
inlineprotected
template<class TInput , class TOutput >
itk::FastMarchingNumberOfElementsStoppingCriterion< TInput, TOutput >::FastMarchingNumberOfElementsStoppingCriterion ( const Self )
private

Member Function Documentation

template<class TInput , class TOutput >
virtual::itk::LightObject::Pointer itk::FastMarchingNumberOfElementsStoppingCriterion< TInput, TOutput >::CreateAnother ( void  ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::Object.

template<class TInput , class TOutput >
std::string itk::FastMarchingNumberOfElementsStoppingCriterion< TInput, TOutput >::GetDescription ( ) const
inlinevirtual
Returns
true if the stopping criterion is reached (and the algorithm must stop).
fasle else.

Implements itk::StoppingCriterionBase.

Definition at line 70 of file itkFastMarchingNumberOfElementsStoppingCriterion.h.

template<class TInput , class TOutput >
virtual const char* itk::FastMarchingNumberOfElementsStoppingCriterion< TInput, TOutput >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::FastMarchingStoppingCriterionBase< TInput, TOutput >.

template<class TInput , class TOutput >
virtual IdentifierType itk::FastMarchingNumberOfElementsStoppingCriterion< TInput, TOutput >::GetTargetNumberOfElements ( )
virtual

Get/set the threshold used by the stopping criteria.

template<class TInput , class TOutput >
bool itk::FastMarchingNumberOfElementsStoppingCriterion< TInput, TOutput >::IsSatisfied ( ) const
inlinevirtual
template<class TInput , class TOutput >
static Pointer itk::FastMarchingNumberOfElementsStoppingCriterion< TInput, TOutput >::New ( )
static

Method for creation through the object factory.

template<class TInput , class TOutput >
void itk::FastMarchingNumberOfElementsStoppingCriterion< TInput, TOutput >::operator= ( const Self )
private
template<class TInput , class TOutput >
void itk::FastMarchingNumberOfElementsStoppingCriterion< TInput, TOutput >::Reset ( )
inlineprotectedvirtual

Inherited classes must implement this method and make sure member variables got reinitialized.

Implements itk::FastMarchingStoppingCriterionBase< TInput, TOutput >.

Definition at line 91 of file itkFastMarchingNumberOfElementsStoppingCriterion.h.

References itk::FastMarchingNumberOfElementsStoppingCriterion< TInput, TOutput >::m_CurrentNumberOfElements.

template<class TInput , class TOutput >
void itk::FastMarchingNumberOfElementsStoppingCriterion< TInput, TOutput >::SetCurrentNode ( const NodeType )
inlineprotected
template<class TInput , class TOutput >
virtual void itk::FastMarchingNumberOfElementsStoppingCriterion< TInput, TOutput >::SetTargetNumberOfElements ( IdentifierType  _arg)
virtual

Get/set the threshold used by the stopping criteria.

Member Data Documentation

template<class TInput , class TOutput >
IdentifierType itk::FastMarchingNumberOfElementsStoppingCriterion< TInput, TOutput >::m_CurrentNumberOfElements
protected
template<class TInput , class TOutput >
IdentifierType itk::FastMarchingNumberOfElementsStoppingCriterion< TInput, TOutput >::m_TargetNumberOfElements
protected

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