Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::watershed::SegmentTree< TScalarType > Class Template Reference

#include <itkWatershedSegmentTree.h>

Inheritance diagram for itk::watershed::SegmentTree< TScalarType >:

Inheritance graph
[legend]
Collaboration diagram for itk::watershed::SegmentTree< TScalarType >:

Collaboration graph
[legend]
List of all members.

template<class TScalarType>
class itk::watershed::SegmentTree< TScalarType >


Public Types

typedef DequeType::const_iterator ConstIterator
typedef SmartPointer< const
Self
ConstPointer
typedef std::deque< merge_t > DequeType
typedef DequeType::iterator Iterator
typedef SmartPointer< SelfPointer
typedef TScalarType ScalarType
typedef DataObject Superclass
typedef DequeType::value_type ValueType

Public Member Functions

merge_t & Back ()
const merge_t & Back () const
ConstIterator Begin () const
Iterator Begin ()
void Clear ()
bool Empty () const
ConstIterator End () const
Iterator End ()
merge_t & Front ()
const merge_t & Front () const
virtual const char * GetNameOfClass () const
void Initialize ()
Elements of the list (nodes of the tree).A record of a merge *between two segments(unsigned long labels) at a particular *saliency.*/struct merge_t
void PopBack ()
void PopFront ()
void PushBack (const ValueType &t)
void PushFront (const ValueType &t)
DequeType::size_type Size () const

Static Public Member Functions

static Pointer New ()

Public Attributes

Define itk Smart Pointers
for this object *typedef SegmentTree 
Self

Protected Member Functions

void operator= (const Self &)
void PrintSelf (std::ostream &os, Indent indent) const
 SegmentTree (const Self &)
 SegmentTree ()
virtual ~SegmentTree ()

Protected Attributes

DequeType m_Deque

Classes

struct  merge_comp
struct  sort_comp

Member Typedef Documentation

template<class TScalarType>
typedef DequeType::const_iterator itk::watershed::SegmentTree< TScalarType >::ConstIterator
 

Definition at line 71 of file itkWatershedSegmentTree.h.

template<class TScalarType>
typedef SmartPointer<const Self> itk::watershed::SegmentTree< TScalarType >::ConstPointer
 

Definition at line 51 of file itkWatershedSegmentTree.h.

template<class TScalarType>
typedef std::deque<merge_t> itk::watershed::SegmentTree< TScalarType >::DequeType
 

Define the container type used in this list data structure

Definition at line 65 of file itkWatershedSegmentTree.h.

template<class TScalarType>
typedef DequeType::iterator itk::watershed::SegmentTree< TScalarType >::Iterator
 

Definition at line 70 of file itkWatershedSegmentTree.h.

template<class TScalarType>
typedef SmartPointer<Self> itk::watershed::SegmentTree< TScalarType >::Pointer
 

Definition at line 50 of file itkWatershedSegmentTree.h.

template<class TScalarType>
typedef TScalarType itk::watershed::SegmentTree< TScalarType >::ScalarType
 

Definition at line 53 of file itkWatershedSegmentTree.h.

template<class TScalarType>
typedef DataObject itk::watershed::SegmentTree< TScalarType >::Superclass
 

Definition at line 49 of file itkWatershedSegmentTree.h.

template<class TScalarType>
typedef DequeType::value_type itk::watershed::SegmentTree< TScalarType >::ValueType
 

Definition at line 72 of file itkWatershedSegmentTree.h.


Constructor & Destructor Documentation

template<class TScalarType>
itk::watershed::SegmentTree< TScalarType >::SegmentTree  )  [inline, protected]
 

Definition at line 167 of file itkWatershedSegmentTree.h.

template<class TScalarType>
virtual itk::watershed::SegmentTree< TScalarType >::~SegmentTree  )  [inline, protected, virtual]
 

Definition at line 168 of file itkWatershedSegmentTree.h.

template<class TScalarType>
itk::watershed::SegmentTree< TScalarType >::SegmentTree const Self  )  [inline, protected]
 

Definition at line 169 of file itkWatershedSegmentTree.h.


Member Function Documentation

template<class TScalarType>
merge_t& itk::watershed::SegmentTree< TScalarType >::Back  )  [inline]
 

Returns a reference to the back of the list

Definition at line 118 of file itkWatershedSegmentTree.h.

template<class TScalarType>
const merge_t& itk::watershed::SegmentTree< TScalarType >::Back  )  const [inline]
 

Returns a const reference to the back of the list (node with the greatest saliency value).

Definition at line 110 of file itkWatershedSegmentTree.h.

template<class TScalarType>
ConstIterator itk::watershed::SegmentTree< TScalarType >::Begin  )  const [inline]
 

Returns a const iterator pointing to the first element in the list.

Definition at line 142 of file itkWatershedSegmentTree.h.

template<class TScalarType>
Iterator itk::watershed::SegmentTree< TScalarType >::Begin  )  [inline]
 

Returns an iterator pointing to the first element in the list.

Definition at line 138 of file itkWatershedSegmentTree.h.

template<class TScalarType>
void itk::watershed::SegmentTree< TScalarType >::Clear  )  [inline]
 

Clears the Deque completely

Definition at line 156 of file itkWatershedSegmentTree.h.

template<class TScalarType>
bool itk::watershed::SegmentTree< TScalarType >::Empty  )  const [inline]
 

Returns TRUE if the SegmentTree is empty, FALSE if the SegmentTree is not empty.

Definition at line 100 of file itkWatershedSegmentTree.h.

template<class TScalarType>
ConstIterator itk::watershed::SegmentTree< TScalarType >::End  )  const [inline]
 

Returns a const iterator pointing one element past the last element in the list.

Definition at line 152 of file itkWatershedSegmentTree.h.

template<class TScalarType>
Iterator itk::watershed::SegmentTree< TScalarType >::End  )  [inline]
 

Returns an iterator pointing one element past the last element in the list.

Definition at line 147 of file itkWatershedSegmentTree.h.

template<class TScalarType>
merge_t& itk::watershed::SegmentTree< TScalarType >::Front  )  [inline]
 

Returns a reference to the front of the list

Definition at line 114 of file itkWatershedSegmentTree.h.

template<class TScalarType>
const merge_t& itk::watershed::SegmentTree< TScalarType >::Front  )  const [inline]
 

Returns a const reference to the front of the list (node with the least saliency value).

Definition at line 105 of file itkWatershedSegmentTree.h.

template<class TScalarType>
virtual const char* itk::watershed::SegmentTree< TScalarType >::GetNameOfClass  )  const [virtual]
 

template<class TScalarType>
void itk::watershed::SegmentTree< TScalarType >::Initialize  ) 
 

Standard DataObject routine to initialize. Returns the segment tree to a default state, deallocating memory.

template<class TScalarType>
Elements of the itk::watershed::SegmentTree< TScalarType >::list nodes of the  tree  )  [inline]
 

Definition at line 57 of file itkWatershedSegmentTree.h.

template<class TScalarType>
static Pointer itk::watershed::SegmentTree< TScalarType >::New  )  [static]
 

template<class TScalarType>
void itk::watershed::SegmentTree< TScalarType >::operator= const Self  )  [inline, protected]
 

Definition at line 170 of file itkWatershedSegmentTree.h.

template<class TScalarType>
void itk::watershed::SegmentTree< TScalarType >::PopBack  )  [inline]
 

Erases the node at the back of the list.

Definition at line 134 of file itkWatershedSegmentTree.h.

template<class TScalarType>
void itk::watershed::SegmentTree< TScalarType >::PopFront  )  [inline]
 

Erases the node at the front of the list.

Definition at line 130 of file itkWatershedSegmentTree.h.

template<class TScalarType>
void itk::watershed::SegmentTree< TScalarType >::PrintSelf std::ostream &  os,
Indent  indent
const [protected]
 

template<class TScalarType>
void itk::watershed::SegmentTree< TScalarType >::PushBack const ValueType t  )  [inline]
 

Inserts a node at the back of the list

Definition at line 126 of file itkWatershedSegmentTree.h.

template<class TScalarType>
void itk::watershed::SegmentTree< TScalarType >::PushFront const ValueType t  )  [inline]
 

Inserts a node at the front of the list.

Definition at line 122 of file itkWatershedSegmentTree.h.

template<class TScalarType>
DequeType::size_type itk::watershed::SegmentTree< TScalarType >::Size  )  const [inline]
 

Returns the size of the list.

Definition at line 95 of file itkWatershedSegmentTree.h.


Member Data Documentation

template<class TScalarType>
DequeType itk::watershed::SegmentTree< TScalarType >::m_Deque [protected]
 

Definition at line 173 of file itkWatershedSegmentTree.h.

template<class TScalarType>
Define itk Smart Pointers for this object* typedef SegmentTree itk::watershed::SegmentTree< TScalarType >::Self
 

Definition at line 48 of file itkWatershedSegmentTree.h.


The documentation for this class was generated from the following file:
Generated at Mon Jul 10 00:37:54 2006 for ITK by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2000