#include <itkFastMarchingReachedTargetNodesStoppingCriterion.h>
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 60 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
Public Member Functions | |
virtual::itk::LightObject::Pointer | CreateAnother () const |
std::string | GetDescription () const override |
const char * | GetNameOfClass () const override |
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 TargetConditionEnum &iCondition) |
virtual const TargetConditionEnum & | GetTargetCondition () const |
virtual void | SetTargetOffset (OutputPixelType _arg) |
virtual OutputPixelType | GetTargetOffset () |
![]() | |
virtual const OutputDomainType * | GetDomain () const |
virtual OutputDomainType * | GetModifiableDomain () |
const char * | GetNameOfClass () const override |
void | Reinitialize () |
void | SetCurrentNodePair (const NodePairType &iNodePair) |
virtual void | SetDomain (OutputDomainType *_arg) |
![]() | |
const char * | GetNameOfClass () const override |
![]() | |
unsigned long | AddObserver (const EventObject &event, Command *cmd) const |
unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const |
LightObject::Pointer | CreateAnother () const override |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary () |
const MetaDataDictionary & | GetMetaDataDictionary () const |
virtual ModifiedTimeType | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) const |
void | SetDebug (bool debugFlag) const |
void | SetReferenceCount (int) override |
void | UnRegister () const noexcept override |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
void | SetMetaDataDictionary (MetaDataDictionary &&rrhs) |
virtual void | SetObjectName (std::string _arg) |
virtual const std::string & | GetObjectName () const |
![]() | |
Pointer | Clone () const |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions | |
static Pointer | New () |
![]() | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
![]() | |
static void | BreakOnError () |
static Pointer | New () |
Protected Member Functions | |
FastMarchingReachedTargetNodesStoppingCriterion () | |
void | Initialize () |
void | Reset () override |
~FastMarchingReachedTargetNodesStoppingCriterion () override=default | |
![]() | |
FastMarchingStoppingCriterionBase () | |
virtual void | SetCurrentValue (const OutputPixelType &iValue) |
~FastMarchingStoppingCriterionBase () override=default | |
![]() | |
StoppingCriterionBase () | |
~StoppingCriterionBase () override | |
![]() | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
void | PrintSelf (std::ostream &os, Indent indent) const override |
virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
~Object () override | |
![]() | |
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 | |
bool | m_Initialized { false } |
vcl_size_t | m_NumberOfTargetsToBeReached { 0 } |
std::vector< NodeType > | m_ReachedTargetNodes {} |
bool | m_Satisfied { false } |
OutputPixelType | m_StoppingValue {} |
TargetConditionEnum | m_TargetCondition { TargetConditionEnum::AllTargets } |
std::vector< NodeType > | m_TargetNodes {} |
OutputPixelType | m_TargetOffset {} |
![]() | |
OutputPixelType | m_CurrentValue {} |
OutputDomainPointer | m_Domain {} |
OutputPixelType | m_PreviousValue {} |
![]() | |
std::atomic< int > | m_ReferenceCount {} |
using itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::ConstPointer = SmartPointer<const Self> |
Definition at line 69 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
using itk::FastMarchingStoppingCriterionBase< TInput, TOutput >::NodeType |
Definition at line 47 of file itkFastMarchingStoppingCriterionBase.h.
using itk::FastMarchingStoppingCriterionBase< TInput, TOutput >::OutputPixelType |
Definition at line 48 of file itkFastMarchingStoppingCriterionBase.h.
using itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::Pointer = SmartPointer<Self> |
Definition at line 68 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
using itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::Self = FastMarchingReachedTargetNodesStoppingCriterion |
Definition at line 66 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
using itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::Superclass = FastMarchingStoppingCriterionBase<TInput, TOutput> |
Definition at line 67 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
using itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::TargetConditionEnum = FastMarchingReachedTargetNodesStoppingCriterionEnums::TargetCondition |
Definition at line 81 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
using itk::FastMarchingStoppingCriterionBase< TInput, TOutput >::Traits |
Definition at line 45 of file itkFastMarchingStoppingCriterionBase.h.
|
inlineprotected |
Constructor
Definition at line 183 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
References m_StoppingValue, and m_TargetOffset.
Referenced by GetNameOfClass().
|
overrideprotecteddefault |
Destructor
|
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::LightObject.
|
inlineoverridevirtual |
Get a short description of the stopping criterion.
Implements itk::StoppingCriterionBase.
Definition at line 176 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
|
overridevirtual |
Reimplemented from itk::LightObject.
References FastMarchingReachedTargetNodesStoppingCriterion().
|
virtual |
Set/Get TargetCondition to indicate if the user wants the front to reach one, some or all target nodes.
|
virtual |
Set/Get TargetOffset
|
inlineprotected |
Definition at line 208 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
References m_Initialized, m_NumberOfTargetsToBeReached, m_ReachedTargetNodes, m_Satisfied, m_TargetCondition, and m_TargetNodes.
Referenced by Reset(), and SetCurrentNode().
|
inlineoverridevirtual |
returns if the stopping condition is satisfied or not.
Implements itk::StoppingCriterionBase.
Definition at line 169 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
References itk::FastMarchingStoppingCriterionBase< TInput, TOutput >::m_CurrentValue, m_Satisfied, and m_StoppingValue.
|
static |
Method for creation through the object factory.
|
inlineoverrideprotectedvirtual |
Inherited classes must implement this method and make sure member variables got reinitialized.
Implements itk::FastMarchingStoppingCriterionBase< TInput, TOutput >.
Definition at line 202 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
References Initialize().
|
inlineoverridevirtual |
Set the current node.
Implements itk::FastMarchingStoppingCriterionBase< TInput, TOutput >.
Definition at line 129 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
References Initialize(), itk::FastMarchingStoppingCriterionBase< TInput, TOutput >::m_CurrentValue, m_Initialized, m_NumberOfTargetsToBeReached, m_ReachedTargetNodes, m_Satisfied, m_StoppingValue, m_TargetNodes, and m_TargetOffset.
|
inline |
Set the number of target nodes to be reached.
Definition at line 111 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
References m_Initialized, m_NumberOfTargetsToBeReached, and itk::Object::Modified().
|
inline |
Set/Get TargetCondition to indicate if the user wants the front to reach one, some or all target nodes.
Definition at line 93 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
References m_Initialized, m_TargetCondition, and itk::Object::Modified().
|
inlinevirtual |
Set Target Nodes.
Definition at line 120 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
References m_Initialized, m_TargetNodes, and itk::Object::Modified().
|
virtual |
Set/Get TargetOffset
|
protected |
Definition at line 199 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
Referenced by Initialize(), SetCurrentNode(), SetNumberOfTargetsToBeReached(), SetTargetCondition(), and SetTargetNodes().
|
protected |
Definition at line 195 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
Referenced by Initialize(), SetCurrentNode(), and SetNumberOfTargetsToBeReached().
|
protected |
Definition at line 194 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
Referenced by Initialize(), and SetCurrentNode().
|
protected |
Definition at line 198 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
Referenced by Initialize(), IsSatisfied(), and SetCurrentNode().
|
protected |
Definition at line 197 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
Referenced by FastMarchingReachedTargetNodesStoppingCriterion(), IsSatisfied(), and SetCurrentNode().
|
protected |
Definition at line 192 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
Referenced by Initialize(), and SetTargetCondition().
|
protected |
Definition at line 193 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
Referenced by Initialize(), SetCurrentNode(), and SetTargetNodes().
|
protected |
Definition at line 196 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
Referenced by FastMarchingReachedTargetNodesStoppingCriterion(), and SetCurrentNode().