ITK  4.2.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Attributes
itk::ShapedFloodFilledImageFunctionConditionalConstIterator< TImage, TFunction > Class Template Reference

#include <itkShapedFloodFilledImageFunctionConditionalConstIterator.h>

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

List of all members.

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
ShapedFloodFilledImageFunctionConditionalConstIterator 
Self
typedef Superclass::SizeType SizeType
typedef
ShapedFloodFilledFunctionConditionalConstIterator
< TImage, TFunction > 
Superclass
- Public Types inherited from itk::ShapedFloodFilledFunctionConditionalConstIterator< TImage, TFunction >
typedef
itk::ShapedNeighborhoodIterator
< ImageType
NeighborhoodIteratorType
typedef TImage::OffsetType OffsetType
typedef std::vector< IndexTypeSeedsContainerType
- Public Types inherited from itk::ConditionalConstIterator< TImage >

Public Member Functions

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

Static Public Attributes

static const unsigned int NDimensions = Superclass::NDimensions
- Static Public Attributes inherited from itk::ShapedFloodFilledFunctionConditionalConstIterator< TImage, TFunction >
- Static Public Attributes inherited from itk::ConditionalConstIterator< TImage >
static const unsigned int NDimension = TImage::ImageDimension

Additional Inherited Members

- Static Public Member Functions inherited from itk::ShapedFloodFilledFunctionConditionalConstIterator< TImage, TFunction >
static unsigned int GetIteratorDimension ()
- Protected Types inherited from itk::ShapedFloodFilledFunctionConditionalConstIterator< TImage, TFunction >
typedef Image< unsigned char,
itkGetStaticConstMacro(NDimensions) > 
TTempImage
- Protected Attributes inherited from itk::ShapedFloodFilledFunctionConditionalConstIterator< 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
NeighborhoodIteratorType m_NeighborhoodIterator
SeedsContainerType m_Seeds
TTempImage::Pointer m_TempPtr
bool m_FullyConnected
- Protected Attributes inherited from itk::ConditionalConstIterator< TImage >
ImageType::ConstWeakPointer m_Image
bool m_IsAtEnd
RegionType m_Region

Detailed Description

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

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

Contributed as a paper to the Insight Journal: http://hdl.handle.net/1926/1320

Definition at line 38 of file itkShapedFloodFilledImageFunctionConditionalConstIterator.h.


Member Typedef Documentation

template<class TImage , class TFunction >
typedef Superclass::FunctionInputType itk::ShapedFloodFilledImageFunctionConditionalConstIterator< TImage, TFunction >::FunctionInputType
template<class TImage , class TFunction >
typedef Superclass::FunctionType itk::ShapedFloodFilledImageFunctionConditionalConstIterator< TImage, TFunction >::FunctionType
template<class TImage , class TFunction >
typedef Superclass::ImageType itk::ShapedFloodFilledImageFunctionConditionalConstIterator< TImage, TFunction >::ImageType
template<class TImage , class TFunction >
typedef Superclass::IndexType itk::ShapedFloodFilledImageFunctionConditionalConstIterator< TImage, TFunction >::IndexType
template<class TImage , class TFunction >
typedef Superclass::InternalPixelType itk::ShapedFloodFilledImageFunctionConditionalConstIterator< TImage, TFunction >::InternalPixelType
template<class TImage , class TFunction >
typedef Superclass::PixelType itk::ShapedFloodFilledImageFunctionConditionalConstIterator< TImage, TFunction >::PixelType
template<class TImage , class TFunction >
typedef Superclass::RegionType itk::ShapedFloodFilledImageFunctionConditionalConstIterator< TImage, TFunction >::RegionType
template<class TImage , class TFunction >
typedef Superclass::SizeType itk::ShapedFloodFilledImageFunctionConditionalConstIterator< TImage, TFunction >::SizeType
template<class TImage , class TFunction >
typedef ShapedFloodFilledFunctionConditionalConstIterator< TImage, TFunction > itk::ShapedFloodFilledImageFunctionConditionalConstIterator< TImage, TFunction >::Superclass

Constructor & Destructor Documentation

template<class TImage , class TFunction >
itk::ShapedFloodFilledImageFunctionConditionalConstIterator< TImage, TFunction >::ShapedFloodFilledImageFunctionConditionalConstIterator ( const ImageType imagePtr,
FunctionType fnPtr,
IndexType  startIndex 
)
inline

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"

Definition at line 82 of file itkShapedFloodFilledImageFunctionConditionalConstIterator.h.

template<class TImage , class TFunction >
itk::ShapedFloodFilledImageFunctionConditionalConstIterator< TImage, TFunction >::ShapedFloodFilledImageFunctionConditionalConstIterator ( const ImageType imagePtr,
FunctionType fnPtr,
std::vector< IndexType > &  startIndex 
)
inline

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

Definition at line 92 of file itkShapedFloodFilledImageFunctionConditionalConstIterator.h.

template<class TImage , class TFunction >
itk::ShapedFloodFilledImageFunctionConditionalConstIterator< TImage, TFunction >::ShapedFloodFilledImageFunctionConditionalConstIterator ( const ImageType imagePtr,
FunctionType fnPtr 
)
inline

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.

Definition at line 102 of file itkShapedFloodFilledImageFunctionConditionalConstIterator.h.

template<class TImage , class TFunction >
virtual itk::ShapedFloodFilledImageFunctionConditionalConstIterator< TImage, TFunction >::~ShapedFloodFilledImageFunctionConditionalConstIterator ( )
inlinevirtual

Default Destructor.

Definition at line 108 of file itkShapedFloodFilledImageFunctionConditionalConstIterator.h.


Member Function Documentation

template<class TImage , class TFunction >
bool itk::ShapedFloodFilledImageFunctionConditionalConstIterator< TImage, TFunction >::IsPixelIncluded ( const IndexType index) const
virtual

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

Implements itk::ShapedFloodFilledFunctionConditionalConstIterator< TImage, TFunction >.


Member Data Documentation

template<class TImage , class TFunction >
const unsigned int itk::ShapedFloodFilledImageFunctionConditionalConstIterator< TImage, TFunction >::NDimensions = Superclass::NDimensions
static

Dimension of the image the iterator walks. This constant is needed so functions that are templated over image iterator type (as opposed to being templated over pixel type and dimension) can have compile time access to the dimension of the image that the iterator walks.

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

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

Definition at line 77 of file itkShapedFloodFilledImageFunctionConditionalConstIterator.h.


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