ITK  4.0.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
itk::NarrowBand< NodeType > Class Template Reference

Narrow Band class. More...

#include <itkNarrowBand.h>

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

List of all members.

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 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
const NodeType & operator[] (SizeType n) const
NodeType & operator[] (SizeType n)
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 &)

Static Public Member Functions

static Pointer New ()

Protected Member Functions

 NarrowBand ()

Protected Attributes

float m_InnerRadius
float m_TotalRadius

Private Member Functions

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

Private Attributes

NodeContainerType m_NodeContainer

Detailed Description

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

Narrow Band class.

Definition at line 48 of file itkNarrowBand.h.


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

Reimplemented from itk::LightObject.

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

Reimplemented from itk::LightObject.

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

Reimplemented from itk::LightObject.

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 ( ) [inline, protected]

Definition at line 161 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 >
ConstIterator itk::NarrowBand< NodeType >::End ( void  ) const [inline]

Definition at line 97 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 >
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]

Mutex lock to protect modification to the reference count

Reimplemented from itk::LightObject.

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 164 of file itkNarrowBand.h.

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

Definition at line 169 of file itkNarrowBand.h.

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

Definition at line 163 of file itkNarrowBand.h.


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