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

itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction > Class Template Reference
[Image Iterators]

Iterates over a flood-filled spatial function. More...

#include <itkFloodFilledSpatialFunctionConditionalConstIterator.h>

Inheritance diagram for itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >:

Inheritance graph
[legend]
Collaboration diagram for itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef FloodFilledSpatialFunctionConditionalConstIterator Self
typedef FloodFilledFunctionConditionalConstIterator<
TImage, TFunction > 
Superclass
typedef Superclass::FunctionType FunctionType
typedef Superclass::FunctionInputType FunctionInputType
typedef Superclass::IndexType IndexType
typedef Superclass::SizeType SizeType
typedef Superclass::RegionType RegionType
typedef Superclass::ImageType ImageType
typedef Superclass::InternalPixelType InternalPixelType
typedef Superclass::PixelType PixelType

Public Member Functions

 FloodFilledSpatialFunctionConditionalConstIterator (const ImageType *imagePtr, FunctionType *fnPtr, IndexType startIndex)
 FloodFilledSpatialFunctionConditionalConstIterator (const ImageType *imagePtr, FunctionType *fnPtr)
virtual ~FloodFilledSpatialFunctionConditionalConstIterator ()
bool IsPixelIncluded (const IndexType &index) const
void SetOriginInclusionStrategy ()
void SetCenterInclusionStrategy ()
void SetCompleteInclusionStrategy ()
void SetIntersectInclusionStrategy ()

Protected Attributes

unsigned char m_InclusionStrategy

Detailed Description

template<class TImage, class TFunction>
class itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >

Iterates over a flood-filled spatial function.

Definition at line 33 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.


Member Typedef Documentation

template<class TImage, class TFunction>
typedef Superclass::FunctionInputType itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::FunctionInputType
 

Type of vector used to store location info in the spatial function

Reimplemented from itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >.

Reimplemented in itk::FloodFilledSpatialFunctionConditionalIterator< TImage, TFunction >.

Definition at line 45 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.

template<class TImage, class TFunction>
typedef Superclass::FunctionType itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::FunctionType
 

Type of function

Reimplemented from itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >.

Reimplemented in itk::FloodFilledSpatialFunctionConditionalIterator< TImage, TFunction >.

Definition at line 42 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.

template<class TImage, class TFunction>
typedef Superclass::ImageType itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::ImageType
 

Image typedef support.

Reimplemented from itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >.

Reimplemented in itk::FloodFilledSpatialFunctionConditionalIterator< TImage, TFunction >.

Definition at line 57 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.

template<class TImage, class TFunction>
typedef Superclass::IndexType itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::IndexType
 

Index typedef support.

Reimplemented from itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >.

Reimplemented in itk::FloodFilledSpatialFunctionConditionalIterator< TImage, TFunction >.

Definition at line 48 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.

template<class TImage, class TFunction>
typedef Superclass::InternalPixelType itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::InternalPixelType
 

Internal Pixel Type

Reimplemented from itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >.

Reimplemented in itk::FloodFilledSpatialFunctionConditionalIterator< TImage, TFunction >.

Definition at line 60 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.

template<class TImage, class TFunction>
typedef Superclass::PixelType itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::PixelType
 

External Pixel Type

Reimplemented from itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >.

Reimplemented in itk::FloodFilledSpatialFunctionConditionalIterator< TImage, TFunction >.

Definition at line 63 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.

template<class TImage, class TFunction>
typedef Superclass::RegionType itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::RegionType
 

Region typedef support

Reimplemented from itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >.

Reimplemented in itk::FloodFilledSpatialFunctionConditionalIterator< TImage, TFunction >.

Definition at line 54 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.

template<class TImage, class TFunction>
typedef FloodFilledSpatialFunctionConditionalConstIterator itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::Self
 

Standard class typedefs.

Reimplemented from itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >.

Reimplemented in itk::FloodFilledSpatialFunctionConditionalIterator< TImage, TFunction >.

Definition at line 38 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.

template<class TImage, class TFunction>
typedef Superclass::SizeType itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::SizeType
 

Size typedef support.

Reimplemented from itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >.

Reimplemented in itk::FloodFilledSpatialFunctionConditionalIterator< TImage, TFunction >.

Definition at line 51 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.

template<class TImage, class TFunction>
typedef FloodFilledFunctionConditionalConstIterator<TImage, TFunction> itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::Superclass
 

Reimplemented in itk::FloodFilledSpatialFunctionConditionalIterator< TImage, TFunction >.

Definition at line 39 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.


Constructor & Destructor Documentation

template<class TImage, class TFunction>
itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::FloodFilledSpatialFunctionConditionalConstIterator const ImageType imagePtr,
FunctionType fnPtr,
IndexType  startIndex
 

Constructor establishes an iterator to walk a particular image and a particular region of that image. This version of the constructor uses an explicit seed pixel for the flood fill, the "startIndex"

template<class TImage, class TFunction>
itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::FloodFilledSpatialFunctionConditionalConstIterator const ImageType imagePtr,
FunctionType fnPtr
 

Constructor establishes an iterator to walk a particular image and a particular region of that image. This version of the constructor should be used when the seed pixel is unknown.

template<class TImage, class TFunction>
virtual itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::~FloodFilledSpatialFunctionConditionalConstIterator  )  [inline, virtual]
 

Default Destructor.

Definition at line 79 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.


Member Function Documentation

template<class TImage, class TFunction>
bool itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::IsPixelIncluded const IndexType index  )  const [virtual]
 

Compute whether the index of interest should be included in the flood

Implements itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >.

template<class TImage, class TFunction>
void itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::SetCenterInclusionStrategy  )  [inline]
 

Set the inclusion strategy to center

Definition at line 88 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.

template<class TImage, class TFunction>
void itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::SetCompleteInclusionStrategy  )  [inline]
 

Set the inclusion strategy to complete

Definition at line 91 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.

template<class TImage, class TFunction>
void itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::SetIntersectInclusionStrategy  )  [inline]
 

Set the inclusion strategy to intersect

Definition at line 94 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.

template<class TImage, class TFunction>
void itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::SetOriginInclusionStrategy  )  [inline]
 

Set the inclusion strategy to origin

Definition at line 85 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.


Member Data Documentation

template<class TImage, class TFunction>
unsigned char itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::m_InclusionStrategy [protected]
 

How the pixel (index) is examined in order to decide whether or not it's included. The strategies are: 0) Origin: if the origin of the pixel in physical space is inside the function, then the pixel is inside the function 1) Center: if the center of a pixel, in physical space, is inside the function, then the pixel is inside the function 2) Complete: if all of the corners of the pixel in physical space are inside the function, then the pixel is inside the function 3) Intersect: if any of the corners of the pixel in physical space are inside the function, then the pixel is inside the function

Definition at line 109 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.


The documentation for this class was generated from the following file:
Generated at Thu May 25 00:58:13 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000