ITK  4.4.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<class TInput, unsigned int VDimension, typename TOutput, class 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 ()
 
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 ()
 
virtual void SetRealTimeStamp (RealTimeStamp _arg)
 
virtual const RealTimeStampGetRealTimeStamp ()
 
- 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
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary (void)
 
const MetaDataDictionaryGetMetaDataDictionary (void) 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
 
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 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 ()
 
virtual void UpdateOutputInformation ()
 
virtual void SetRequestedRegionToLargestPossibleRegion ()
 
virtual void CopyInformation (const DataObject *data)
 
virtual void Graft (const DataObject *data)
 
virtual bool RequestedRegionIsOutsideOfTheBufferedRegion ()
 
virtual bool VerifyRequestedRegion ()
 
virtual void SetRequestedRegion (const DataObject *data)
 
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)
 
- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- Protected Member Functions inherited from itk::DataObject
 DataObject ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
virtual void PropagateResetPipeline ()
 
 ~DataObject ()
 
- Protected Attributes inherited from itk::LightObject
InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 

Member Typedef Documentation

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

Definition at line 47 of file itkLevelSetBase.h.

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

Definition at line 60 of file itkLevelSetBase.h.

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

Definition at line 57 of file itkLevelSetBase.h.

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

Definition at line 58 of file itkLevelSetBase.h.

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

Definition at line 54 of file itkLevelSetBase.h.

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

Definition at line 56 of file itkLevelSetBase.h.

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

Definition at line 55 of file itkLevelSetBase.h.

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

Definition at line 46 of file itkLevelSetBase.h.

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

Type used to define Regions

Definition at line 63 of file itkLevelSetBase.h.

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

Definition at line 44 of file itkLevelSetBase.h.

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

Definition at line 45 of file itkLevelSetBase.h.

Constructor & Destructor Documentation

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

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

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

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

Definition at line 216 of file itkLevelSetBase.h.

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

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

Member Function Documentation

template<class TInput, unsigned int VDimension, typename TOutput, class TDomain>
virtual void itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::CopyInformation ( const DataObject data)
virtual
template<class TInput, unsigned int VDimension, typename TOutput, class 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<class TInput, unsigned int VDimension, typename TOutput, class 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) \leqslant 0 $

template<class TInput, unsigned int VDimension, typename TOutput, class 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) \leqslant 0 $

template<class TInput, unsigned int VDimension, typename TOutput, class 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) \leqslant 0 $

template<class TInput, unsigned int VDimension, typename TOutput, class 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<class TInput, unsigned int VDimension, typename TOutput, class 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) \leqslant 0 $

template<class TInput, unsigned int VDimension, typename TOutput, class TDomain>
virtual OutputRealType itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::EvaluateGradientNorm ( const InputType iP) const
virtual
template<class TInput, unsigned int VDimension, typename TOutput, class 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) \leqslant 0 $

template<class TInput, unsigned int VDimension, typename TOutput, class 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<class TInput, unsigned int VDimension, typename TOutput, class 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) \leqslant 0 $

template<class TInput, unsigned int VDimension, typename TOutput, class TDomain>
virtual OutputRealType itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::EvaluateLaplacian ( const InputType iP) const
pure virtual
template<class TInput, unsigned int VDimension, typename TOutput, class 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) \leqslant 0 $

template<class TInput, unsigned int VDimension, typename TOutput, class TDomain>
virtual OutputRealType itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::EvaluateMeanCurvature ( const InputType iP) const
pure virtual
template<class TInput, unsigned int VDimension, typename TOutput, class 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) \leqslant 0 $

template<class TInput, unsigned int VDimension, typename TOutput, class 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) \leqslant 0 $

template<class TInput, unsigned int VDimension, typename TOutput, class 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<class TInput, unsigned int VDimension, typename TOutput, class TDomain>
virtual const char* itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::GetNameOfClass ( ) const
virtual
template<class TInput, unsigned int VDimension, typename TOutput, class 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) \leqslant 0 $

template<class TInput, unsigned int VDimension, typename TOutput, class TDomain>
virtual void itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::Graft ( const DataObject data)
virtual
template<class TInput, unsigned int VDimension, typename TOutput, class TDomain>
virtual void itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::Initialize ( )
virtual
template<class TInput, unsigned int VDimension, typename TOutput, class 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) \leqslant 0 $

template<class TInput, unsigned int VDimension, typename TOutput, class 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) \leqslant 0 $

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

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

Reimplemented from itk::DataObject.

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

Set/Get the Buffered region

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

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<class TInput, unsigned int VDimension, typename TOutput, class TDomain>
virtual void itk::LevelSetBase< TInput, VDimension, TOutput, TDomain >::SetRequestedRegion ( const RegionType region)
virtual

Set/Get the Requested region

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

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

Reimplemented from itk::DataObject.

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

Methods to manage streaming.

Reimplemented from itk::DataObject.

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

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

Reimplemented from itk::DataObject.

Member Data Documentation

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

Definition at line 52 of file itkLevelSetBase.h.

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

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

Definition at line 231 of file itkLevelSetBase.h.

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

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

Definition at line 228 of file itkLevelSetBase.h.

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

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

Definition at line 229 of file itkLevelSetBase.h.

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

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

Definition at line 230 of file itkLevelSetBase.h.

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

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

Definition at line 232 of file itkLevelSetBase.h.


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