ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkFastMarchingReachedTargetNodesStoppingCriterion.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::NodeType | NodeType |
typedef Superclass::OutputPixelType | OutputPixelType |
typedef SmartPointer< Self > | Pointer |
typedef FastMarchingReachedTargetNodesStoppingCriterion | Self |
typedef FastMarchingStoppingCriterionBase < TInput, TOutput > | Superclass |
enum | TargetConditionType { OneTarget = 1, SomeTargets, AllTargets } |
typedef Superclass::Traits | Traits |
Public Types inherited from itk::FastMarchingStoppingCriterionBase< TInput, TOutput > | |
typedef Traits::NodePairType | NodePairType |
typedef Traits::OutputDomainPointer | OutputDomainPointer |
typedef Traits::OutputDomainType | OutputDomainType |
Public Types inherited from itk::StoppingCriterionBase | |
Public Types inherited from itk::Object | |
Public Types inherited from itk::LightObject |
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 OutputDomainType * | GetDomain () |
void | Reinitialize () |
void | SetCurrentNodePair (const NodePairType &iNodePair) |
virtual void | SetDomain (OutputDomainType *_arg) |
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 | SetCurrentNode (const NodeType &iNode)=0 |
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 &) |
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.
typedef SmartPointer< const Self > itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::ConstPointer |
Reimplemented from itk::FastMarchingStoppingCriterionBase< TInput, TOutput >.
Definition at line 43 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
typedef Superclass::NodeType itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::NodeType |
Reimplemented from itk::FastMarchingStoppingCriterionBase< TInput, TOutput >.
Definition at line 54 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
typedef Superclass::OutputPixelType itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::OutputPixelType |
Reimplemented from itk::FastMarchingStoppingCriterionBase< TInput, TOutput >.
Definition at line 51 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
typedef SmartPointer< Self > itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::Pointer |
Reimplemented from itk::FastMarchingStoppingCriterionBase< TInput, TOutput >.
Definition at line 42 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
typedef FastMarchingReachedTargetNodesStoppingCriterion itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::Self |
Smart pointer typedef support.
Reimplemented from itk::FastMarchingStoppingCriterionBase< TInput, TOutput >.
Definition at line 40 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
typedef FastMarchingStoppingCriterionBase< TInput, TOutput > itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::Superclass |
Reimplemented from itk::FastMarchingStoppingCriterionBase< TInput, TOutput >.
Definition at line 41 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
typedef Superclass::Traits itk::FastMarchingReachedTargetNodesStoppingCriterion< TInput, TOutput >::Traits |
Reimplemented from itk::FastMarchingStoppingCriterionBase< TInput, TOutput >.
Definition at line 44 of file itkFastMarchingReachedTargetNodesStoppingCriterion.h.
enum itk::FastMarchingReachedTargetNodesStoppingCriterion::TargetConditionType |
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.
Reimplemented from itk::Object.
|
private |
Mutex lock to protect modification to the reference count
Reimplemented from itk::FastMarchingStoppingCriterionBase< TInput, TOutput >.
|
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().
|
inline |
Set the current node.
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().