ITK  4.9.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Protected Attributes | List of all members
itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction > Class Template Reference

#include <itkFloodFilledSpatialFunctionConditionalConstIterator.h>

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

Detailed Description

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

Iterates over a flood-filled spatial function with read-only access to pixels.

Definition at line 35 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.

Public Types

typedef
Superclass::FunctionInputType 
FunctionInputType
 
typedef Superclass::FunctionType FunctionType
 
typedef Superclass::ImageType ImageType
 
typedef Superclass::IndexType IndexType
 
typedef
Superclass::InternalPixelType 
InternalPixelType
 
typedef Superclass::PixelType PixelType
 
typedef Superclass::RegionType RegionType
 
typedef
Superclass::SeedsContainerType 
SeedsContainerType
 
typedef
FloodFilledSpatialFunctionConditionalConstIterator 
Self
 
typedef Superclass::SizeType SizeType
 
typedef
FloodFilledFunctionConditionalConstIterator
< TImage, TFunction > 
Superclass
 
- Public Types inherited from itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >
typedef TFunction::InputType FunctionInputType
 
typedef TFunction FunctionType
 
typedef TImage ImageType
 
typedef TImage::IndexType IndexType
 
typedef TImage::InternalPixelType InternalPixelType
 
typedef TImage::PixelType PixelType
 
typedef TImage::RegionType RegionType
 
typedef std::vector< IndexTypeSeedsContainerType
 
typedef
FloodFilledFunctionConditionalConstIterator 
Self
 
typedef TImage::SizeType SizeType
 
- Public Types inherited from itk::ConditionalConstIterator< TImage >
typedef TImage ImageType
 
typedef TImage::IndexType IndexType
 
typedef TImage::InternalPixelType InternalPixelType
 
typedef TImage::PixelType PixelType
 
typedef TImage::RegionType RegionType
 
typedef ConditionalConstIterator Self
 
typedef TImage::SizeType SizeType
 

Public Member Functions

 FloodFilledSpatialFunctionConditionalConstIterator (const ImageType *imagePtr, FunctionType *fnPtr, IndexType startIndex)
 
 FloodFilledSpatialFunctionConditionalConstIterator (const ImageType *imagePtr, FunctionType *fnPtr)
 
bool IsPixelIncluded (const IndexType &index) const
 
void SetCenterInclusionStrategy ()
 
void SetCompleteInclusionStrategy ()
 
void SetIntersectInclusionStrategy ()
 
void SetOriginInclusionStrategy ()
 
virtual ~FloodFilledSpatialFunctionConditionalConstIterator ()
 
- Public Member Functions inherited from itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >
void AddSeed (const IndexType &seed)
 
void ClearSeeds ()
 
void DoFloodStep ()
 
void FindSeedPixel ()
 
void FindSeedPixels ()
 
 FloodFilledFunctionConditionalConstIterator (const ImageType *imagePtr, FunctionType *fnPtr, IndexType startIndex)
 
 FloodFilledFunctionConditionalConstIterator (const ImageType *imagePtr, FunctionType *fnPtr, std::vector< IndexType > &startIndices)
 
 FloodFilledFunctionConditionalConstIterator (const ImageType *imagePtr, FunctionType *fnPtr)
 
const PixelType Get (void) const
 
virtual SmartPointer
< FunctionType
GetFunction () const
 
const IndexType GetIndex ()
 
virtual const SeedsContainerTypeGetSeeds () const
 
void GoToBegin ()
 
void InitializeIterator ()
 
bool IsAtEnd ()
 
void operator++ ()
 
virtual ~FloodFilledFunctionConditionalConstIterator ()
 
Selfoperator= (const Self &it)
 
- Public Member Functions inherited from itk::ConditionalConstIterator< TImage >
 ConditionalConstIterator ()
 
Selfoperator= (const Self &it)
 
virtual ~ConditionalConstIterator ()
 

Protected Attributes

unsigned char m_InclusionStrategy
 
- Protected Attributes inherited from itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >
bool m_FoundUncheckedNeighbor
 
SmartPointer< FunctionTypem_Function
 
ImageType::PointType m_ImageOrigin
 
RegionType m_ImageRegion
 
ImageType::SpacingType m_ImageSpacing
 
std::queue< IndexTypem_IndexStack
 
bool m_IsValidIndex
 
FunctionInputType m_LocationVector
 
SeedsContainerType m_Seeds
 
TTempImage::Pointer m_TemporaryPointer
 
- Protected Attributes inherited from itk::ConditionalConstIterator< TImage >
ImageType::ConstWeakPointer m_Image
 
bool m_IsAtEnd
 
RegionType m_Region
 

Additional Inherited Members

- Static Public Member Functions inherited from itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >
static unsigned int GetIteratorDimension ()
 
- Static Public Member Functions inherited from itk::ConditionalConstIterator< TImage >
static unsigned int GetIteratorDimension (void)
 
- Static Public Attributes inherited from itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >
static const unsigned int NDimensions = TImage::ImageDimension
 
- Static Public Attributes inherited from itk::ConditionalConstIterator< TImage >
static const unsigned int NDimension = TImage::ImageDimension
 
- Protected Types inherited from itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >
typedef Image< unsigned char,
itkGetStaticConstMacro(NDimensions) > 
TTempImage
 

Member Typedef Documentation

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

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

Definition at line 48 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.

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

Type of function

Definition at line 45 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.

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

Image typedef support.

Definition at line 63 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.

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

Index typedef support.

Definition at line 51 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.

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

Internal Pixel Type

Definition at line 66 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.

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

External Pixel Type

Definition at line 69 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.

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

Region typedef support

Definition at line 60 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.

template<typename TImage , typename TFunction >
typedef Superclass::SeedsContainerType itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::SeedsContainerType

Index ContainerType.

Definition at line 54 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.

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

Standard class typedefs.

Definition at line 41 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.

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

Size typedef support.

Definition at line 57 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.

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

Constructor & Destructor Documentation

template<typename TImage , typename 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<typename TImage , typename 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<typename TImage , typename TFunction >
virtual itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::~FloodFilledSpatialFunctionConditionalConstIterator ( )
inlinevirtual

Default Destructor.

Definition at line 85 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.

Member Function Documentation

template<typename TImage , typename 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<typename TImage , typename TFunction >
void itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::SetCenterInclusionStrategy ( )
inline
template<typename TImage , typename TFunction >
void itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::SetCompleteInclusionStrategy ( )
inline
template<typename TImage , typename TFunction >
void itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::SetIntersectInclusionStrategy ( )
inline
template<typename TImage , typename TFunction >
void itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::SetOriginInclusionStrategy ( )
inline

Member Data Documentation

template<typename TImage , typename 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 115 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.

Referenced by itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::SetCenterInclusionStrategy(), itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::SetCompleteInclusionStrategy(), itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::SetIntersectInclusionStrategy(), and itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::SetOriginInclusionStrategy().


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