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

#include <itkFastMarchingReachedTargetNodesStoppingCriterion.h>

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

Detailed Description

template<typename TInput, typename TOutput>
class itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >

Stopping criterion for FastMarchingFilterBase.

Stopping criterion where the condition is satisfied when the front reaches one, several or all target nodes (provided by the user).

Definition at line 37 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.

Public Types

using ConstPointer = SmartPointer< const Self >
 
using NodeType = typename Superclass::NodeType
 
using OutputPixelType = typename Superclass::OutputPixelType
 
using Pointer = SmartPointer< Self >
 
using Self = FastMarchingReachedTargetNodesStoppingCriterion
 
using Superclass = FastMarchingStoppingCriterionBase< TInput, TOutput >
 
enum  TargetConditionType {
  OneTarget = 1,
  SomeTargets,
  AllTargets
}
 
using Traits = typename Superclass::Traits
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
std::string GetDescription () const override
 
virtual const char * GetNameOfClass () const
 
virtual const TargetConditionTypeGetTargetCondition () const
 
bool IsSatisfied () const override
 
void SetCurrentNode (const NodeType &iNode) override
 
void SetNumberOfTargetsToBeReached (const vcl_size_t &iN)
 
virtual void SetTargetNodes (const std::vector< NodeType > &iNodes)
 
void SetTargetCondition (const TargetConditionType &iCondition)
 
virtual void SetTargetOffset (OutputPixelType _arg)
 
virtual OutputPixelType GetTargetOffset ()
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 FastMarchingReachedTargetNodesStoppingCriterion ()
 
void Initialize ()
 
void Reset () override
 
 ~FastMarchingReachedTargetNodesStoppingCriterion () override=default
 

Protected Attributes

bool m_Initialized {false}
 
vcl_size_t m_NumberOfTargetsToBeReached {0}
 
std::vector< NodeTypem_ReachedTargetNodes
 
bool m_Satisfied {false}
 
OutputPixelType m_StoppingValue
 
TargetConditionType m_TargetCondition
 
std::vector< NodeTypem_TargetNodes
 
OutputPixelType m_TargetOffset
 

Member Typedef Documentation

template<typename TInput , typename TOutput >
using itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::ConstPointer = SmartPointer< const Self >
template<typename TInput , typename TOutput >
using itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::NodeType = typename Superclass::NodeType
template<typename TInput , typename TOutput >
using itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::OutputPixelType = typename Superclass::OutputPixelType
template<typename TInput , typename TOutput >
using itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::Pointer = SmartPointer< Self >
template<typename TInput , typename TOutput >
using itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::Self = FastMarchingReachedTargetNodesStoppingCriterion
template<typename TInput , typename TOutput >
using itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::Superclass = FastMarchingStoppingCriterionBase< TInput, TOutput >
template<typename TInput , typename TOutput >
using itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::Traits = typename Superclass::Traits

Member Enumeration Documentation

template<typename TInput , typename TOutput >
enum itk::FastMarchingReachedTargetNodesStoppingCriterion::TargetConditionType
Enumerator
OneTarget 
SomeTargets 
AllTargets 

Definition at line 60 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.

Constructor & Destructor Documentation

template<typename TInput , typename TOutput >
itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::FastMarchingReachedTargetNodesStoppingCriterion ( )
inlineprotected

Constructor

Definition at line 154 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.

template<typename TInput , typename TOutput >
itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::~FastMarchingReachedTargetNodesStoppingCriterion ( )
overrideprotecteddefault

Destructor

Member Function Documentation

template<typename TInput , typename TOutput >
virtual::itk::LightObject::Pointer itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::CreateAnother ( ) const
template<typename TInput , typename TOutput >
std::string itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::GetDescription ( void  ) const
inlineoverride

Get a short description of the stopping criterion.

Definition at line 146 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.

template<typename TInput , typename TOutput >
virtual const char* itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

template<typename TInput , typename TOutput >
virtual const TargetConditionType& itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::GetTargetCondition ( ) const
virtual
template<typename TInput , typename TOutput >
virtual OutputPixelType itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::GetTargetOffset ( )
virtual

Set/Get TargetOffset

template<typename TInput , typename TOutput >
void itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::Initialize ( )
inlineprotected
template<typename TInput , typename TOutput >
bool itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::IsSatisfied ( ) const
inlineoverride
template<typename TInput , typename TOutput >
static Pointer itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::New ( )
static

Method for creation through the object factory.

template<typename TInput , typename TOutput >
void itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::Reset ( )
inlineoverrideprotected
template<typename TInput , typename TOutput >
void itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::SetCurrentNode ( const NodeType iNode)
inlineoverride
template<typename TInput , typename TOutput >
void itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::SetNumberOfTargetsToBeReached ( const vcl_size_t &  iN)
inline
template<typename TInput , typename TOutput >
void itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::SetTargetCondition ( const TargetConditionType iCondition)
inline

Set/Get TargetCondition to indicate if the user wants the front to reach one, some or all target nodes.

Definition at line 66 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.

References itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::m_Initialized, and itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::m_TargetCondition.

template<typename TInput , typename TOutput >
virtual void itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::SetTargetNodes ( const std::vector< NodeType > &  iNodes)
inlinevirtual
template<typename TInput , typename TOutput >
virtual void itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::SetTargetOffset ( OutputPixelType  _arg)
virtual

Set/Get TargetOffset

Member Data Documentation

template<typename TInput , typename TOutput >
bool itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::m_Initialized {false}
protected
template<typename TInput , typename TOutput >
vcl_size_t itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::m_NumberOfTargetsToBeReached {0}
protected
template<typename TInput , typename TOutput >
std::vector< NodeType > itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::m_ReachedTargetNodes
protected
template<typename TInput , typename TOutput >
bool itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::m_Satisfied {false}
protected
template<typename TInput , typename TOutput >
OutputPixelType itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::m_StoppingValue
protected
template<typename TInput , typename TOutput >
TargetConditionType itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::m_TargetCondition
protected
template<typename TInput , typename TOutput >
std::vector< NodeType > itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::m_TargetNodes
protected
template<typename TInput , typename TOutput >
OutputPixelType itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::m_TargetOffset
protected

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