ITK
4.8.0
Insight Segmentation and Registration Toolkit
|
#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 37 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
std::string | GetDescription () const override |
virtual const char * | GetNameOfClass () const |
virtual const TargetConditionType & | GetTargetCondition () 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 () |
Public Member Functions inherited from itk::FastMarchingStoppingCriterionBase< TInput, TOutput > | |
void | Reinitialize () |
void | SetCurrentNodePair (const NodePairType &iNodePair) |
virtual void | SetDomain (OutputDomainType *_arg) |
virtual OutputDomainType * | GetModifiableDomain () |
virtual const OutputDomainType * | GetDomain () const |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) const |
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 |
virtual void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
virtual void | SetReferenceCount (int) override |
virtual void | UnRegister () const noexceptoverride |
virtual void | SetObjectName (std::string _arg) |
virtual const std::string & | GetObjectName () const |
Public Member Functions inherited from itk::LightObject | |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
itkCloneMacro (Self) | |
void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Protected Member Functions | |
FastMarchingReachedTargetNodesStoppingCriterion () | |
void | Initialize () |
void | Reset () override |
~FastMarchingReachedTargetNodesStoppingCriterion () | |
Protected Member Functions inherited from itk::FastMarchingStoppingCriterionBase< TInput, TOutput > | |
virtual void | SetCurrentValue (const OutputPixelType &iValue) |
virtual | ~FastMarchingStoppingCriterionBase () |
FastMarchingStoppingCriterionBase () | |
Protected Member Functions inherited from itk::StoppingCriterionBase | |
StoppingCriterionBase () | |
virtual | ~StoppingCriterionBase () |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | PrintSelf (std::ostream &os, Indent indent) const override |
virtual void | SetTimeStamp (const TimeStamp &time) |
virtual | ~Object () |
Protected Member Functions inherited from itk::LightObject | |
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 |
vcl_size_t | m_NumberOfTargetsToBeReached |
std::vector< NodeType > | m_ReachedTargetNodes |
bool | m_Satisfied |
OutputPixelType | m_StoppingValue |
TargetConditionType | m_TargetCondition |
std::vector< NodeType > | m_TargetNodes |
OutputPixelType | m_TargetOffset |
Protected Attributes inherited from itk::FastMarchingStoppingCriterionBase< TInput, TOutput > | |
OutputPixelType | m_CurrentValue |
OutputDomainPointer | m_Domain |
OutputPixelType | m_PreviousValue |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
Private Member Functions | |
FastMarchingReachedTargetNodesStoppingCriterion (const Self &) | |
void | operator= (const Self &) |
typedef SmartPointer< const Self > itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::ConstPointer |
Definition at line 44 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
typedef Superclass::NodeType itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::NodeType |
Definition at line 55 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
typedef Superclass::OutputPixelType itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::OutputPixelType |
Definition at line 52 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
typedef SmartPointer< Self > itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::Pointer |
Definition at line 43 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
typedef FastMarchingReachedTargetNodesStoppingCriterion itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::Self |
Definition at line 41 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
typedef FastMarchingStoppingCriterionBase< TInput, TOutput > itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::Superclass |
Definition at line 42 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
typedef Superclass::Traits itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::Traits |
Definition at line 45 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
enum itk::FastMarchingReachedTargetNodesStoppingCriterion::TargetConditionType |
Enumerator | |
---|---|
OneTarget | |
SomeTargets | |
AllTargets |
Definition at line 58 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
|
inlineprotected |
Constructor
Definition at line 152 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
|
inlineprotected |
Destructor
Definition at line 164 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
|
private |
|
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.
|
inlineoverridevirtual |
Get a short description of the stopping criterion.
Implements itk::StoppingCriterionBase.
Definition at line 144 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::FastMarchingStoppingCriterionBase< TInput, TOutput >.
|
virtual |
|
virtual |
Set/Get TargetOffset
|
inlineprotected |
Definition at line 180 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
References itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::AllTargets, itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::m_Initialized, itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::m_NumberOfTargetsToBeReached, itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::m_ReachedTargetNodes, itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::m_Satisfied, itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::m_TargetCondition, itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::m_TargetNodes, and itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::OneTarget.
Referenced by itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::Reset(), and itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::SetCurrentNode().
|
inlineoverridevirtual |
returns if the stopping condition is satisfied or not.
Implements itk::StoppingCriterionBase.
Definition at line 138 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
References itk::FastMarchingStoppingCriterionBase< TInput, TOutput >::m_CurrentValue, itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::m_Satisfied, and itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::m_StoppingValue.
|
static |
Method for creation through the object factory.
|
private |
|
inlineoverrideprotectedvirtual |
Inherited classes must implement this method and make sure member variables got reinitialized.
Implements itk::FastMarchingStoppingCriterionBase< TInput, TOutput >.
Definition at line 175 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
References itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::Initialize().
|
inlineoverridevirtual |
Set the current node.
Implements itk::FastMarchingStoppingCriterionBase< TInput, TOutput >.
Definition at line 96 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
References itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::Initialize(), itk::FastMarchingStoppingCriterionBase< TInput, TOutput >::m_CurrentValue, itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::m_Initialized, itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::m_NumberOfTargetsToBeReached, itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::m_ReachedTargetNodes, itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::m_Satisfied, itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::m_StoppingValue, itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::m_TargetNodes, and itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::m_TargetOffset.
|
inline |
Set the number of target nodes to be reached.
Definition at line 80 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
References itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::m_Initialized, itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::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 64 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
References itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::m_Initialized, itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::m_TargetCondition, and itk::Object::Modified().
|
inlinevirtual |
Set Target Nodes.
Definition at line 88 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
References itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::m_Initialized, itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::m_TargetNodes, and itk::Object::Modified().
|
virtual |
Set/Get TargetOffset
|
protected |
Definition at line 173 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
Referenced by itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::Initialize(), itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::SetCurrentNode(), itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::SetNumberOfTargetsToBeReached(), itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::SetTargetCondition(), and itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::SetTargetNodes().
|
protected |
Definition at line 169 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
Referenced by itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::Initialize(), itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::SetCurrentNode(), and itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::SetNumberOfTargetsToBeReached().
|
protected |
|
protected |
Definition at line 172 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
Referenced by itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::Initialize(), itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::IsSatisfied(), and itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::SetCurrentNode().
|
protected |
|
protected |
|
protected |
Definition at line 167 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
Referenced by itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::Initialize(), itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::SetCurrentNode(), and itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::SetTargetNodes().
|
protected |
Definition at line 170 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
Referenced by itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::SetCurrentNode().