19 #ifndef itkFastMarchingNumberOfElementsStoppingCriterion_h
20 #define itkFastMarchingNumberOfElementsStoppingCriterion_h
40 template <
typename TInput,
typename TOutput>
42 :
public FastMarchingStoppingCriterionBase<TInput, TOutput>
48 using Superclass = FastMarchingStoppingCriterionBase<TInput, TOutput>;
58 using typename Superclass::OutputPixelType;
59 using typename Superclass::NodeType;
69 return (this->m_CurrentNumberOfElements >= this->m_TargetNumberOfElements);
75 return "Current Number of Elements >= Target Number of Elements";
85 ~FastMarchingNumberOfElementsStoppingCriterion()
override =
default;
93 ++this->m_CurrentNumberOfElements;
104 #endif // itkFastMarchingNumberOfElementsStoppingCriterion_h