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

#include <itkFastMarchingNumberOfElementsStoppingCriterion.h>

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

List of all members.

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 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 ()

Static Public Member Functions

static Pointer New ()

Protected Member Functions

 FastMarchingNumberOfElementsStoppingCriterion ()
void Reset ()
void SetCurrentNode (const NodeType &)
 ~FastMarchingNumberOfElementsStoppingCriterion ()

Protected Attributes

IdentifierType m_CurrentNumberOfElements
IdentifierType m_TargetNumberOfElements

Private Member Functions

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

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.


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

Smart pointer typedef support.

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

Definition at line 45 of file itkFastMarchingNumberOfElementsStoppingCriterion.h.

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 ( ) [inline, protected]
template<class TInput , class TOutput >
itk::FastMarchingNumberOfElementsStoppingCriterion< TInput, TOutput >::~FastMarchingNumberOfElementsStoppingCriterion ( ) [inline, protected]
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 [inline, virtual]
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 [inline, virtual]
template<class TInput , class TOutput >
static Pointer itk::FastMarchingNumberOfElementsStoppingCriterion< TInput, TOutput >::New ( ) [static]

Method for creation through the object factory.

Reimplemented from itk::Object.

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

Mutex lock to protect modification to the reference count

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

template<class TInput , class TOutput >
void itk::FastMarchingNumberOfElementsStoppingCriterion< TInput, TOutput >::Reset ( ) [inline, protected, virtual]

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 ) [inline, protected]
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: