ITK  4.9.0
Insight Segmentation and Registration Toolkit
Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
itk::NarrowBand< NodeType > Class Template Reference

#include <itkNarrowBand.h>

+ Inheritance diagram for itk::NarrowBand< NodeType >:
+ Collaboration diagram for itk::NarrowBand< NodeType >:

Detailed Description

template<typename NodeType>
class itk::NarrowBand< NodeType >

Narrow Band class.

Definition at line 51 of file itkNarrowBand.h.

Classes

struct  RegionStruct
 

Public Types

typedef
NodeContainerType::const_iterator 
ConstIterator
 
typedef SmartPointer< const SelfConstPointer
 
typedef NodeContainerType::iterator Iterator
 
typedef std::vector< NodeType > NodeContainerType
 
typedef SmartPointer< SelfPointer
 
typedef struct
itk::NarrowBand::RegionStruct 
RegionType
 
typedef NarrowBand Self
 
typedef
NodeContainerType::size_type 
SizeType
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

Iterator Begin ()
 
ConstIterator Begin () const
 
void Clear ()
 
virtual ::itk::LightObject::Pointer CreateAnother () const
 
bool Empty () const
 
Iterator End ()
 
ConstIterator End () const
 
float GetInnerRadius () const
 
virtual const char * GetNameOfClass () const
 
float GetTotalRadius () const
 
NodeType & operator[] (SizeType n)
 
const NodeType & operator[] (SizeType n) const
 
void PopBack ()
 
void PushBack (const NodeType &n)
 
void Reserve (SizeType n)
 
void Resize (SizeType n)
 
void SetInnerRadius (const float &val)
 
void SetTotalRadius (const float &val)
 
SizeType Size () const
 
std::vector< RegionTypeSplitBand (const SizeType &)
 
- 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
 
virtual void Register () const
 
virtual void SetReferenceCount (int)
 
virtual void UnRegister () const noexcept
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Protected Member Functions

 NarrowBand ()
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintSelf (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Protected Attributes

float m_InnerRadius
 
float m_TotalRadius
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Private Member Functions

 NarrowBand (const Self &) ITK_DELETE_FUNCTION
 
void operator= (const Self &) ITK_DELETE_FUNCTION
 

Private Attributes

NodeContainerType m_NodeContainer
 

Member Typedef Documentation

template<typename NodeType >
typedef NodeContainerType::const_iterator itk::NarrowBand< NodeType >::ConstIterator

Definition at line 68 of file itkNarrowBand.h.

template<typename NodeType >
typedef SmartPointer< const Self > itk::NarrowBand< NodeType >::ConstPointer

Definition at line 58 of file itkNarrowBand.h.

template<typename NodeType >
typedef NodeContainerType::iterator itk::NarrowBand< NodeType >::Iterator

Definition at line 69 of file itkNarrowBand.h.

template<typename NodeType >
typedef std::vector< NodeType > itk::NarrowBand< NodeType >::NodeContainerType

Definition at line 64 of file itkNarrowBand.h.

template<typename NodeType >
typedef SmartPointer< Self > itk::NarrowBand< NodeType >::Pointer

Definition at line 57 of file itkNarrowBand.h.

template<typename NodeType >
typedef struct itk::NarrowBand::RegionStruct itk::NarrowBand< NodeType >::RegionType

Begin is the first valid iterator position within the region. End is ONE PAST the last valid iterator position in the region.

template<typename NodeType >
typedef NarrowBand itk::NarrowBand< NodeType >::Self

Standard class typedefs

Definition at line 55 of file itkNarrowBand.h.

template<typename NodeType >
typedef NodeContainerType::size_type itk::NarrowBand< NodeType >::SizeType

Definition at line 67 of file itkNarrowBand.h.

template<typename NodeType >
typedef LightObject itk::NarrowBand< NodeType >::Superclass

Definition at line 56 of file itkNarrowBand.h.

Constructor & Destructor Documentation

template<typename NodeType >
itk::NarrowBand< NodeType >::NarrowBand ( )
inlineprotected

Definition at line 165 of file itkNarrowBand.h.

template<typename NodeType >
itk::NarrowBand< NodeType >::NarrowBand ( const Self )
private

Member Function Documentation

template<typename NodeType >
Iterator itk::NarrowBand< NodeType >::Begin ( )
inline

Definition at line 85 of file itkNarrowBand.h.

References itk::NarrowBand< NodeType >::m_NodeContainer.

template<typename NodeType >
ConstIterator itk::NarrowBand< NodeType >::Begin ( ) const
inline

Definition at line 90 of file itkNarrowBand.h.

References itk::NarrowBand< NodeType >::m_NodeContainer.

template<typename NodeType >
void itk::NarrowBand< NodeType >::Clear ( void  )
inline

Clear the narrow band container.

Definition at line 116 of file itkNarrowBand.h.

References itk::NarrowBand< NodeType >::m_NodeContainer.

template<typename NodeType >
virtual::itk::LightObject::Pointer itk::NarrowBand< NodeType >::CreateAnother ( ) const
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::LightObject.

template<typename NodeType >
bool itk::NarrowBand< NodeType >::Empty ( ) const
inline

Definition at line 110 of file itkNarrowBand.h.

References itk::NarrowBand< NodeType >::m_NodeContainer.

template<typename NodeType >
Iterator itk::NarrowBand< NodeType >::End ( )
inline

Definition at line 95 of file itkNarrowBand.h.

References itk::NarrowBand< NodeType >::m_NodeContainer.

template<typename NodeType >
ConstIterator itk::NarrowBand< NodeType >::End ( ) const
inline

Definition at line 100 of file itkNarrowBand.h.

References itk::NarrowBand< NodeType >::m_NodeContainer.

template<typename NodeType >
float itk::NarrowBand< NodeType >::GetInnerRadius ( ) const
inline

Definition at line 162 of file itkNarrowBand.h.

References itk::NarrowBand< NodeType >::m_InnerRadius.

template<typename NodeType >
virtual const char* itk::NarrowBand< NodeType >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::LightObject.

template<typename NodeType >
float itk::NarrowBand< NodeType >::GetTotalRadius ( ) const
inline

Definition at line 156 of file itkNarrowBand.h.

References itk::NarrowBand< NodeType >::m_TotalRadius.

template<typename NodeType >
static Pointer itk::NarrowBand< NodeType >::New ( )
static
template<typename NodeType >
void itk::NarrowBand< NodeType >::operator= ( const Self )
private
template<typename NodeType >
NodeType& itk::NarrowBand< NodeType >::operator[] ( SizeType  n)
inline

Definition at line 141 of file itkNarrowBand.h.

References itk::NarrowBand< NodeType >::m_NodeContainer.

template<typename NodeType >
const NodeType& itk::NarrowBand< NodeType >::operator[] ( SizeType  n) const
inline

Definition at line 146 of file itkNarrowBand.h.

References itk::NarrowBand< NodeType >::m_NodeContainer.

template<typename NodeType >
void itk::NarrowBand< NodeType >::PopBack ( )
inline

Definition at line 131 of file itkNarrowBand.h.

References itk::NarrowBand< NodeType >::m_NodeContainer.

template<typename NodeType >
void itk::NarrowBand< NodeType >::PushBack ( const NodeType &  n)
inline

Definition at line 126 of file itkNarrowBand.h.

References itk::NarrowBand< NodeType >::m_NodeContainer.

template<typename NodeType >
void itk::NarrowBand< NodeType >::Reserve ( SizeType  n)
inline

Definition at line 121 of file itkNarrowBand.h.

References itk::NarrowBand< NodeType >::m_NodeContainer.

template<typename NodeType >
void itk::NarrowBand< NodeType >::Resize ( SizeType  n)
inline

Definition at line 136 of file itkNarrowBand.h.

References itk::NarrowBand< NodeType >::m_NodeContainer.

template<typename NodeType >
void itk::NarrowBand< NodeType >::SetInnerRadius ( const float &  val)
inline

Set/Get the narrow band inner radius. The inner radius is the safe are where the level set can be computed.

Definition at line 160 of file itkNarrowBand.h.

References itk::NarrowBand< NodeType >::m_InnerRadius.

template<typename NodeType >
void itk::NarrowBand< NodeType >::SetTotalRadius ( const float &  val)
inline

Set/Get the narrow band total radius. The narrow band width will be twice this value (positive and negative distance to the zero level set). The user of the narrow band container should set up this value properly.

Definition at line 154 of file itkNarrowBand.h.

References itk::NarrowBand< NodeType >::m_TotalRadius.

template<typename NodeType >
SizeType itk::NarrowBand< NodeType >::Size ( void  ) const
inline

Definition at line 105 of file itkNarrowBand.h.

References itk::NarrowBand< NodeType >::m_NodeContainer.

template<typename NodeType >
std::vector< RegionType > itk::NarrowBand< NodeType >::SplitBand ( const SizeType )

Returns an array of RegionStructs which represent contiguous arrays of nodes within the narrow band.

Member Data Documentation

template<typename NodeType >
float itk::NarrowBand< NodeType >::m_InnerRadius
protected
template<typename NodeType >
NodeContainerType itk::NarrowBand< NodeType >::m_NodeContainer
private
template<typename NodeType >
float itk::NarrowBand< NodeType >::m_TotalRadius
protected

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