ITK
4.4.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 36 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
std::string | GetDescription () const |
virtual const char * | GetNameOfClass () const |
virtual const TargetConditionType & | GetTargetCondition () |
bool | IsSatisfied () const |
void | SetCurrentNode (const NodeType &iNode) |
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 > | |
virtual const OutputDomainType * | GetDomain () const |
virtual OutputDomainType * | GetModifiableDomain () |
void | Reinitialize () |
void | SetCurrentNodePair (const NodePairType &iNodePair) |
virtual void | SetDomain (OutputDomainType *_arg) |
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 (void) |
const MetaDataDictionary & | GetMetaDataDictionary (void) 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 |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
virtual void | SetReferenceCount (int) |
virtual void | UnRegister () 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 () |
Protected Member Functions | |
FastMarchingReachedTargetNodesStoppingCriterion () | |
void | Initialize () |
void | Reset () |
~FastMarchingReachedTargetNodesStoppingCriterion () | |
Protected Member Functions inherited from itk::FastMarchingStoppingCriterionBase< TInput, TOutput > | |
FastMarchingStoppingCriterionBase () | |
virtual void | SetCurrentValue (const OutputPixelType &iValue) |
virtual | ~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 |
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 |
Private Member Functions | |
FastMarchingReachedTargetNodesStoppingCriterion (const Self &) | |
void | operator= (const Self &) |
Additional Inherited Members | |
Protected Types inherited from itk::LightObject | |
typedef int | InternalReferenceCountType |
typedef SmartPointer< const Self > itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::ConstPointer |
Definition at line 43 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
typedef Superclass::NodeType itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::NodeType |
Definition at line 54 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
typedef Superclass::OutputPixelType itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::OutputPixelType |
Definition at line 51 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
typedef SmartPointer< Self > itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::Pointer |
Definition at line 42 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
typedef FastMarchingReachedTargetNodesStoppingCriterion itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::Self |
Definition at line 40 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
typedef FastMarchingStoppingCriterionBase< TInput, TOutput > itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::Superclass |
Definition at line 41 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
typedef Superclass::Traits itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::Traits |
Definition at line 44 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
enum itk::FastMarchingReachedTargetNodesStoppingCriterion::TargetConditionType |
Enumerator | |
---|---|
OneTarget | |
SomeTargets | |
AllTargets |
Definition at line 57 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
|
inlineprotected |
Constructor
Definition at line 151 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
References itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::AllTargets, itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::m_Initialized, itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::m_Satisfied, itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::m_StoppingValue, itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::m_TargetCondition, and itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::m_TargetOffset.
|
inlineprotected |
Destructor
Definition at line 161 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.
|
inlinevirtual |
Get a short description of the stopping criterion.
Implements itk::StoppingCriterionBase.
Definition at line 143 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 177 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().
|
inlinevirtual |
returns if the stopping condition is satisfied or not.
Implements itk::StoppingCriterionBase.
Definition at line 137 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 |
|
inlineprotectedvirtual |
Inherited classes must implement this method and make sure member variables got reinitialized.
Implements itk::FastMarchingStoppingCriterionBase< TInput, TOutput >.
Definition at line 172 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
References itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::Initialize().
|
inlinevirtual |
Set the current node.
Implements itk::FastMarchingStoppingCriterionBase< TInput, TOutput >.
Definition at line 95 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 79 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 63 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 87 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 170 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
Referenced by itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::FastMarchingReachedTargetNodesStoppingCriterion(), 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 166 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 169 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
Referenced by itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::FastMarchingReachedTargetNodesStoppingCriterion(), itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::Initialize(), itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::IsSatisfied(), and itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::SetCurrentNode().
|
protected |
Definition at line 168 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
Referenced by itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::FastMarchingReachedTargetNodesStoppingCriterion(), itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::IsSatisfied(), and itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::SetCurrentNode().
|
protected |
Definition at line 163 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
Referenced by itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::FastMarchingReachedTargetNodesStoppingCriterion(), itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::Initialize(), and itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::SetTargetCondition().
|
protected |
Definition at line 164 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 167 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
Referenced by itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::FastMarchingReachedTargetNodesStoppingCriterion(), and itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::SetCurrentNode().