ITK  4.4.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<class NodeType>
class itk::NarrowBand< NodeType >

Narrow Band class.

Definition at line 48 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 (void) 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
 

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
InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 

Private Member Functions

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

Private Attributes

NodeContainerType m_NodeContainer
 

Additional Inherited Members

- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 

Member Typedef Documentation

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

Definition at line 65 of file itkNarrowBand.h.

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

Definition at line 55 of file itkNarrowBand.h.

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

Definition at line 66 of file itkNarrowBand.h.

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

Definition at line 61 of file itkNarrowBand.h.

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

Definition at line 54 of file itkNarrowBand.h.

template<class 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<class NodeType >
typedef NarrowBand itk::NarrowBand< NodeType >::Self

Standard class typedefs

Definition at line 52 of file itkNarrowBand.h.

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

Definition at line 64 of file itkNarrowBand.h.

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

Definition at line 53 of file itkNarrowBand.h.

Constructor & Destructor Documentation

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

Definition at line 162 of file itkNarrowBand.h.

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

Member Function Documentation

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

Definition at line 82 of file itkNarrowBand.h.

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

Definition at line 87 of file itkNarrowBand.h.

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

Clear the narrow band container.

Definition at line 113 of file itkNarrowBand.h.

template<class NodeType >
virtual::itk::LightObject::Pointer itk::NarrowBand< NodeType >::CreateAnother ( void  ) 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<class NodeType >
bool itk::NarrowBand< NodeType >::Empty ( ) const
inline

Definition at line 107 of file itkNarrowBand.h.

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

Definition at line 92 of file itkNarrowBand.h.

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

Definition at line 97 of file itkNarrowBand.h.

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

Definition at line 159 of file itkNarrowBand.h.

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

Run-time type information (and related methods).

Reimplemented from itk::LightObject.

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

Definition at line 153 of file itkNarrowBand.h.

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

Definition at line 138 of file itkNarrowBand.h.

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

Definition at line 143 of file itkNarrowBand.h.

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

Definition at line 128 of file itkNarrowBand.h.

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

Definition at line 123 of file itkNarrowBand.h.

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

Definition at line 118 of file itkNarrowBand.h.

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

Definition at line 133 of file itkNarrowBand.h.

template<class 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 157 of file itkNarrowBand.h.

template<class 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 151 of file itkNarrowBand.h.

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

Definition at line 102 of file itkNarrowBand.h.

template<class 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<class NodeType >
float itk::NarrowBand< NodeType >::m_InnerRadius
protected

Definition at line 165 of file itkNarrowBand.h.

template<class NodeType >
NodeContainerType itk::NarrowBand< NodeType >::m_NodeContainer
private

Definition at line 171 of file itkNarrowBand.h.

template<class NodeType >
float itk::NarrowBand< NodeType >::m_TotalRadius
protected

Definition at line 164 of file itkNarrowBand.h.


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