ITK  4.9.0
Insight Segmentation and Registration Toolkit
Classes | Public Types | Public Member Functions | Static Public Attributes | List of all members
itk::LevelSetBase< TInput, VDimension, TOutput, TDomain > Class Template Referenceabstract

#include <itkLevelSetBase.h>

+ Inheritance diagram for itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >:
+ Collaboration diagram for itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >:

Detailed Description

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
class itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >

Abstract base class for the representation of a level-set function.

Template Parameters
TInputInput type where the level set function will be evaluated
VDimensionDimension of the input space
TOutputReturned type when evaluating the level set function
TDomainSupport of the level-set function (e.g. Image or QuadEdgeMesh)

Definition at line 41 of file itkLevelSetBase.h.

Classes

class  DataType
 
struct  LevelSetDataType
 

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef TDomain DomainType
 
typedef CovariantVector
< OutputRealType, VDimension > 
GradientType
 
typedef Matrix< OutputRealType,
VDimension, VDimension > 
HessianType
 
typedef TInput InputType
 
typedef NumericTraits
< OutputType >::RealType 
OutputRealType
 
typedef TOutput OutputType
 
typedef SmartPointer< SelfPointer
 
typedef IdentifierType RegionType
 
typedef LevelSetBase Self
 
typedef DataObject Superclass
 
- Public Types inherited from itk::DataObject
typedef SmartPointer< const SelfConstPointer
 
typedef std::string DataObjectIdentifierType
 
typedef std::vector< Pointer >
::size_type 
DataObjectPointerArraySizeType
 
typedef SmartPointer< SelfPointer
 
typedef DataObject Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual OutputType Evaluate (const InputType &iP) const =0
 
virtual GradientType EvaluateGradient (const InputType &iP) const =0
 
virtual OutputRealType EvaluateGradientNorm (const InputType &iP) const
 
virtual HessianType EvaluateHessian (const InputType &iP) const =0
 
virtual OutputRealType EvaluateLaplacian (const InputType &iP) const =0
 
virtual OutputRealType EvaluateMeanCurvature (const InputType &iP) const =0
 
virtual const char * GetNameOfClass () const
 
- Public Member Functions inherited from itk::DataObject
virtual void DataHasBeenGenerated ()
 
void DisconnectPipeline ()
 
bool GetDataReleased () const
 
virtual const bool & GetReleaseDataFlag () const
 
SmartPointerForwardReference
< ProcessObject
GetSource () const
 
DataObjectPointerArraySizeType GetSourceOutputIndex () const
 
const DataObjectIdentifierTypeGetSourceOutputName () const
 
virtual ModifiedTimeType GetUpdateMTime () const
 
virtual void PrepareForNewData ()
 
virtual void PropagateRequestedRegion ()
 
void ReleaseData ()
 
virtual void ReleaseDataFlagOff ()
 
virtual void ReleaseDataFlagOn ()
 
virtual void ResetPipeline ()
 
void SetReleaseDataFlag (bool flag)
 
bool ShouldIReleaseData () const
 
virtual void Update ()
 
virtual void UpdateOutputData ()
 
void SetPipelineMTime (ModifiedTimeType time)
 
virtual const ModifiedTimeTypeGetPipelineMTime () const
 
virtual void SetRealTimeStamp (RealTimeStamp _arg)
 
virtual const RealTimeStampGetRealTimeStamp () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual LightObject::Pointer CreateAnother () const override
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () 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 Attributes

static const unsigned int Dimension = VDimension
 
RegionType m_MaximumNumberOfRegions
 
RegionType m_NumberOfRegions
 
RegionType m_RequestedNumberOfRegions
 
RegionType m_BufferedRegion
 
RegionType m_RequestedRegion
 
virtual void Evaluate (const InputType &iP, LevelSetDataType &ioData) const =0
 
virtual void EvaluateGradient (const InputType &iP, LevelSetDataType &ioData) const =0
 
virtual void EvaluateHessian (const InputType &iP, LevelSetDataType &ioData) const =0
 
virtual void EvaluateLaplacian (const InputType &iP, LevelSetDataType &ioData) const =0
 
virtual void EvaluateGradientNorm (const InputType &iP, LevelSetDataType &ioData) const
 
virtual void EvaluateMeanCurvature (const InputType &iP, LevelSetDataType &ioData) const
 
virtual void EvaluateForwardGradient (const InputType &iP, LevelSetDataType &ioData) const =0
 
virtual void EvaluateBackwardGradient (const InputType &iP, LevelSetDataType &ioData) const =0
 
virtual bool IsInside (const InputType &iP) const
 
virtual RegionType GetMaximumNumberOfRegions () const
 
virtual void Initialize () override
 
virtual void UpdateOutputInformation () override
 
virtual void SetRequestedRegionToLargestPossibleRegion () override
 
virtual void CopyInformation (const DataObject *data) override
 
virtual void Graft (const DataObject *data) override
 
virtual bool RequestedRegionIsOutsideOfTheBufferedRegion () override
 
virtual bool VerifyRequestedRegion () override
 
virtual void SetRequestedRegion (const DataObject *data) override
 
virtual void SetRequestedRegion (const RegionType &region)
 
virtual RegionType GetRequestedRegion () const
 
virtual void SetBufferedRegion (const RegionType &region)
 
virtual RegionType GetBufferedRegion () const
 
 LevelSetBase ()
 
virtual ~LevelSetBase ()
 
 LevelSetBase (const Self &)
 
void operator= (const Self &)
 

Additional Inherited Members

- Static Public Member Functions inherited from itk::DataObject
static bool GetGlobalReleaseDataFlag ()
 
static void GlobalReleaseDataFlagOff ()
 
static void GlobalReleaseDataFlagOn ()
 
static void SetGlobalReleaseDataFlag (bool val)
 
- 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 inherited from itk::DataObject
 DataObject ()
 
virtual void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual void PropagateResetPipeline ()
 
 ~DataObject ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (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 inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Member Typedef Documentation

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
typedef SmartPointer< const Self > itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::ConstPointer

Definition at line 47 of file itkLevelSetBase.h.

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
typedef TDomain itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::DomainType

Definition at line 56 of file itkLevelSetBase.h.

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
typedef CovariantVector< OutputRealType, VDimension > itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::GradientType

Definition at line 58 of file itkLevelSetBase.h.

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
typedef Matrix< OutputRealType, VDimension, VDimension > itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::HessianType

Definition at line 59 of file itkLevelSetBase.h.

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
typedef TInput itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::InputType

Definition at line 54 of file itkLevelSetBase.h.

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
typedef NumericTraits< OutputType >::RealType itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::OutputRealType

Definition at line 57 of file itkLevelSetBase.h.

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
typedef TOutput itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::OutputType

Definition at line 55 of file itkLevelSetBase.h.

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
typedef SmartPointer< Self > itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::Pointer

Definition at line 46 of file itkLevelSetBase.h.

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
typedef IdentifierType itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::RegionType

Type used to define Regions

Definition at line 62 of file itkLevelSetBase.h.

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
typedef LevelSetBase itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::Self

Definition at line 44 of file itkLevelSetBase.h.

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
typedef DataObject itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::Superclass

Definition at line 45 of file itkLevelSetBase.h.

Constructor & Destructor Documentation

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::LevelSetBase ( )
protected

Returns true if iP is inside the level set, i.e. $\phi(p) \le 0 $

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
virtual itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::~LevelSetBase ( )
inlineprotectedvirtual

Returns true if iP is inside the level set, i.e. $\phi(p) \le 0 $

Definition at line 215 of file itkLevelSetBase.h.

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::LevelSetBase ( const Self )
private

Returns true if iP is inside the level set, i.e. $\phi(p) \le 0 $

Member Function Documentation

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
virtual void itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::CopyInformation ( const DataObject data)
overridevirtual
template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
virtual OutputType itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::Evaluate ( const InputType iP) const
pure virtual

Returns the value of the level set function at a given location iP

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
virtual void itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::Evaluate ( const InputType iP,
LevelSetDataType ioData 
) const
pure virtual

Returns true if iP is inside the level set, i.e. $\phi(p) \le 0 $

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
virtual void itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::EvaluateBackwardGradient ( const InputType iP,
LevelSetDataType ioData 
) const
pure virtual

Returns true if iP is inside the level set, i.e. $\phi(p) \le 0 $

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
virtual void itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::EvaluateForwardGradient ( const InputType iP,
LevelSetDataType ioData 
) const
pure virtual

Returns true if iP is inside the level set, i.e. $\phi(p) \le 0 $

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
virtual GradientType itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::EvaluateGradient ( const InputType iP) const
pure virtual

Returns the gradient of the level set function at a given location iP

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
virtual void itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::EvaluateGradient ( const InputType iP,
LevelSetDataType ioData 
) const
pure virtual

Returns true if iP is inside the level set, i.e. $\phi(p) \le 0 $

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
virtual OutputRealType itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::EvaluateGradientNorm ( const InputType iP) const
virtual
template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
virtual void itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::EvaluateGradientNorm ( const InputType iP,
LevelSetDataType ioData 
) const
virtual

Returns true if iP is inside the level set, i.e. $\phi(p) \le 0 $

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
virtual HessianType itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::EvaluateHessian ( const InputType iP) const
pure virtual

Returns the hessian of the level set function at a given location iP

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
virtual void itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::EvaluateHessian ( const InputType iP,
LevelSetDataType ioData 
) const
pure virtual

Returns true if iP is inside the level set, i.e. $\phi(p) \le 0 $

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
virtual OutputRealType itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::EvaluateLaplacian ( const InputType iP) const
pure virtual
template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
virtual void itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::EvaluateLaplacian ( const InputType iP,
LevelSetDataType ioData 
) const
pure virtual

Returns true if iP is inside the level set, i.e. $\phi(p) \le 0 $

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
virtual OutputRealType itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::EvaluateMeanCurvature ( const InputType iP) const
pure virtual
template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
virtual void itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::EvaluateMeanCurvature ( const InputType iP,
LevelSetDataType ioData 
) const
virtual

Returns true if iP is inside the level set, i.e. $\phi(p) \le 0 $

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
virtual RegionType itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::GetBufferedRegion ( ) const
virtual

Returns true if iP is inside the level set, i.e. $\phi(p) \le 0 $

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
virtual RegionType itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::GetMaximumNumberOfRegions ( ) const
virtual

Get the maximum number of regions that this data can be separated into.

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
virtual const char* itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::GetNameOfClass ( ) const
virtual
template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
virtual RegionType itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::GetRequestedRegion ( ) const
virtual

Returns true if iP is inside the level set, i.e. $\phi(p) \le 0 $

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
virtual void itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::Graft ( const DataObject data)
overridevirtual
template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
virtual void itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::Initialize ( )
overridevirtual
template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
virtual bool itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::IsInside ( const InputType iP) const
virtual

Returns true if iP is inside the level set, i.e. $\phi(p) \le 0 $

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
void itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::operator= ( const Self )
private

Returns true if iP is inside the level set, i.e. $\phi(p) \le 0 $

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
virtual bool itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::RequestedRegionIsOutsideOfTheBufferedRegion ( )
overridevirtual

Returns true if iP is inside the level set, i.e. $\phi(p) \le 0 $

Reimplemented from itk::DataObject.

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
virtual void itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::SetBufferedRegion ( const RegionType region)
virtual

Set/Get the Buffered region

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
virtual void itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::SetRequestedRegion ( const DataObject data)
overridevirtual

Set the requested region from this data object to match the requested region of the data object passed in as a parameter. This method implements the API from DataObject. The data object parameter must be castable to a PointSet.

Reimplemented from itk::DataObject.

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
virtual void itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::SetRequestedRegion ( const RegionType region)
virtual

Set/Get the Requested region

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
virtual void itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::SetRequestedRegionToLargestPossibleRegion ( )
overridevirtual

Returns true if iP is inside the level set, i.e. $\phi(p) \le 0 $

Reimplemented from itk::DataObject.

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
virtual void itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::UpdateOutputInformation ( )
overridevirtual

Methods to manage streaming.

Reimplemented from itk::DataObject.

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
virtual bool itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::VerifyRequestedRegion ( )
overridevirtual

Returns true if iP is inside the level set, i.e. $\phi(p) \le 0 $

Reimplemented from itk::DataObject.

Member Data Documentation

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
const unsigned int itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::Dimension = VDimension
static

Definition at line 52 of file itkLevelSetBase.h.

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
RegionType itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::m_BufferedRegion
protected

Returns true if iP is inside the level set, i.e. $\phi(p) \le 0 $

Definition at line 230 of file itkLevelSetBase.h.

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
RegionType itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::m_MaximumNumberOfRegions
protected

Returns true if iP is inside the level set, i.e. $\phi(p) \le 0 $

Definition at line 227 of file itkLevelSetBase.h.

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
RegionType itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::m_NumberOfRegions
protected

Returns true if iP is inside the level set, i.e. $\phi(p) \le 0 $

Definition at line 228 of file itkLevelSetBase.h.

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
RegionType itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::m_RequestedNumberOfRegions
protected

Returns true if iP is inside the level set, i.e. $\phi(p) \le 0 $

Definition at line 229 of file itkLevelSetBase.h.

template<typename TInput, unsigned int VDimension, typename TOutput, typename TDomain>
RegionType itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::m_RequestedRegion
protected

Returns true if iP is inside the level set, i.e. $\phi(p) \le 0 $

Definition at line 231 of file itkLevelSetBase.h.


The documentation for this class was generated from the following file: