19#ifndef itkFastMarchingNumberOfElementsStoppingCriterion_h
20#define itkFastMarchingNumberOfElementsStoppingCriterion_h
40template <
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";
93 ++this->m_CurrentNumberOfElements;
Stopping Criterion is verified when Current Number of Elements is equal to or greater than the provid...
bool IsSatisfied() const override
void SetCurrentNode(const NodeType &) override
FastMarchingStoppingCriterionBase< TInput, TOutput > Superclass
~FastMarchingNumberOfElementsStoppingCriterion() override=default
FastMarchingNumberOfElementsStoppingCriterion()
std::string GetDescription() const override
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
SizeValueType IdentifierType