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

itk::ParallelSparseFieldCityBlockNeighborList< TNeighborhoodType > Class Template Reference

A convenience class for storing indicies which reference neighbor pixels within a neighborhood. More...

#include <itkParallelSparseFieldLevelSetImageFilter.h>

Inheritance diagram for itk::ParallelSparseFieldCityBlockNeighborList< TNeighborhoodType >:

Inheritance graph
[legend]

List of all members.

Public Types

typedef TNeighborhoodType NeighborhoodType
typedef
NeighborhoodType::OffsetType 
OffsetType
typedef
NeighborhoodType::RadiusType 
RadiusType

Public Member Functions

const unsigned int & GetArrayIndex (unsigned int i) const
const OffsetTypeGetNeighborhoodOffset (unsigned int i) const
const RadiusTypeGetRadius () const
const unsigned int & GetSize () const
unsigned int GetStride (unsigned int i)
 itkStaticConstMacro (Dimension, unsigned int, NeighborhoodType::Dimension)
 ParallelSparseFieldCityBlockNeighborList ()
void Print (std::ostream &os) const
 ~ParallelSparseFieldCityBlockNeighborList ()


Detailed Description

template<class TNeighborhoodType>
class itk::ParallelSparseFieldCityBlockNeighborList< TNeighborhoodType >

A convenience class for storing indicies which reference neighbor pixels within a neighborhood.

This class creates and stores indicies for use in finding neighbors within an itk::NeighborhoodIterator object. Both an array of unsigned integer indicies and an array of N dimensional offsets (from the center of the neighborhood) are created and stored. The indicies and offsets correspond to the "city-block" neighbors, that is, 4-neighbors in 2d, 6-neighbors in 3d, etc.
Order of reference is lowest index to highest index in the neighborhood. For example, for 4 connectivity, the indicies refer to the following neighbors:
  * 1 *
  2 * 3
  * 4 * 

Definition at line 74 of file itkParallelSparseFieldLevelSetImageFilter.h.


Member Typedef Documentation

template<class TNeighborhoodType>
typedef TNeighborhoodType itk::ParallelSparseFieldCityBlockNeighborList< TNeighborhoodType >::NeighborhoodType

Definition at line 77 of file itkParallelSparseFieldLevelSetImageFilter.h.

template<class TNeighborhoodType>
typedef NeighborhoodType::OffsetType itk::ParallelSparseFieldCityBlockNeighborList< TNeighborhoodType >::OffsetType

Definition at line 78 of file itkParallelSparseFieldLevelSetImageFilter.h.

template<class TNeighborhoodType>
typedef NeighborhoodType::RadiusType itk::ParallelSparseFieldCityBlockNeighborList< TNeighborhoodType >::RadiusType

Definition at line 79 of file itkParallelSparseFieldLevelSetImageFilter.h.


Constructor & Destructor Documentation

template<class TNeighborhoodType>
itk::ParallelSparseFieldCityBlockNeighborList< TNeighborhoodType >::ParallelSparseFieldCityBlockNeighborList (  ) 

template<class TNeighborhoodType>
itk::ParallelSparseFieldCityBlockNeighborList< TNeighborhoodType >::~ParallelSparseFieldCityBlockNeighborList (  )  [inline]

Definition at line 110 of file itkParallelSparseFieldLevelSetImageFilter.h.


Member Function Documentation

template<class TNeighborhoodType>
const unsigned int& itk::ParallelSparseFieldCityBlockNeighborList< TNeighborhoodType >::GetArrayIndex ( unsigned int  i  )  const [inline]

Definition at line 88 of file itkParallelSparseFieldLevelSetImageFilter.h.

template<class TNeighborhoodType>
const OffsetType& itk::ParallelSparseFieldCityBlockNeighborList< TNeighborhoodType >::GetNeighborhoodOffset ( unsigned int  i  )  const [inline]

Definition at line 93 of file itkParallelSparseFieldLevelSetImageFilter.h.

template<class TNeighborhoodType>
const RadiusType& itk::ParallelSparseFieldCityBlockNeighborList< TNeighborhoodType >::GetRadius ( void   )  const [inline]

Definition at line 83 of file itkParallelSparseFieldLevelSetImageFilter.h.

template<class TNeighborhoodType>
const unsigned int& itk::ParallelSparseFieldCityBlockNeighborList< TNeighborhoodType >::GetSize (  )  const [inline]

Definition at line 98 of file itkParallelSparseFieldLevelSetImageFilter.h.

template<class TNeighborhoodType>
unsigned int itk::ParallelSparseFieldCityBlockNeighborList< TNeighborhoodType >::GetStride ( unsigned int  i  )  [inline]

Definition at line 103 of file itkParallelSparseFieldLevelSetImageFilter.h.

template<class TNeighborhoodType>
itk::ParallelSparseFieldCityBlockNeighborList< TNeighborhoodType >::itkStaticConstMacro ( Dimension  ,
unsigned  int,
NeighborhoodType::Dimension   
)

template<class TNeighborhoodType>
void itk::ParallelSparseFieldCityBlockNeighborList< TNeighborhoodType >::Print ( std::ostream &  os  )  const


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

Generated at Tue Sep 15 11:39:57 2009 for ITK by doxygen 1.5.8 written by Dimitri van Heesch, © 1997-2000