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

#include <itkFloodFilledImageFunctionConditionalIterator.h>

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

Detailed Description

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

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

Definition at line 34 of file itkFloodFilledImageFunctionConditionalIterator.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
FloodFilledImageFunctionConditionalIterator 
Self
 
typedef Superclass::SizeType SizeType
 
typedef
FloodFilledImageFunctionConditionalConstIterator
< TImage, TFunction > 
Superclass
 
- Public Types inherited from itk::FloodFilledImageFunctionConditionalConstIterator< TImage, TFunction >
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
FloodFilledImageFunctionConditionalConstIterator 
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

 FloodFilledImageFunctionConditionalIterator (ImageType *imagePtr, FunctionType *fnPtr, IndexType startIndex)
 
 FloodFilledImageFunctionConditionalIterator (ImageType *imagePtr, FunctionType *fnPtr, std::vector< IndexType > &startIndex)
 
 FloodFilledImageFunctionConditionalIterator (ImageType *imagePtr, FunctionType *fnPtr)
 
const PixelType Get (void) const
 
void Set (const PixelType &value)
 
virtual ~FloodFilledImageFunctionConditionalIterator ()
 
- Public Member Functions inherited from itk::FloodFilledImageFunctionConditionalConstIterator< TImage, TFunction >
 FloodFilledImageFunctionConditionalConstIterator (const ImageType *imagePtr, FunctionType *fnPtr, IndexType startIndex)
 
 FloodFilledImageFunctionConditionalConstIterator (const ImageType *imagePtr, FunctionType *fnPtr, std::vector< IndexType > &startIndex)
 
 FloodFilledImageFunctionConditionalConstIterator (const ImageType *imagePtr, FunctionType *fnPtr)
 
bool IsPixelIncluded (const IndexType &index) const
 
virtual ~FloodFilledImageFunctionConditionalConstIterator ()
 
- 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)
 
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 ()
 

Static Public Attributes

static const unsigned int NDimensions = Superclass::NDimensions
 
- Static Public Attributes inherited from itk::FloodFilledImageFunctionConditionalConstIterator< TImage, TFunction >
static const unsigned int NDimensions = Superclass::NDimensions
 
- 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
 

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)
 
- Protected Types inherited from itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >
typedef Image< unsigned char,
itkGetStaticConstMacro(NDimensions) > 
TTempImage
 
- 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
 

Member Typedef Documentation

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

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

Definition at line 47 of file itkFloodFilledImageFunctionConditionalIterator.h.

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

Type of function

Definition at line 44 of file itkFloodFilledImageFunctionConditionalIterator.h.

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

Image typedef support.

Definition at line 62 of file itkFloodFilledImageFunctionConditionalIterator.h.

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

Index typedef support.

Definition at line 50 of file itkFloodFilledImageFunctionConditionalIterator.h.

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

Internal Pixel Type

Definition at line 65 of file itkFloodFilledImageFunctionConditionalIterator.h.

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

External Pixel Type

Definition at line 68 of file itkFloodFilledImageFunctionConditionalIterator.h.

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

Region typedef support

Definition at line 59 of file itkFloodFilledImageFunctionConditionalIterator.h.

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

Index ContainerType.

Definition at line 53 of file itkFloodFilledImageFunctionConditionalIterator.h.

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

Standard class typedefs.

Definition at line 40 of file itkFloodFilledImageFunctionConditionalIterator.h.

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

Size typedef support.

Definition at line 56 of file itkFloodFilledImageFunctionConditionalIterator.h.

template<typename TImage , typename TFunction >
typedef FloodFilledImageFunctionConditionalConstIterator< TImage, TFunction > itk::FloodFilledImageFunctionConditionalIterator< TImage, TFunction >::Superclass

Constructor & Destructor Documentation

template<typename TImage , typename TFunction >
itk::FloodFilledImageFunctionConditionalIterator< TImage, TFunction >::FloodFilledImageFunctionConditionalIterator ( 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 79 of file itkFloodFilledImageFunctionConditionalIterator.h.

template<typename TImage , typename TFunction >
itk::FloodFilledImageFunctionConditionalIterator< TImage, TFunction >::FloodFilledImageFunctionConditionalIterator ( 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 86 of file itkFloodFilledImageFunctionConditionalIterator.h.

template<typename TImage , typename TFunction >
itk::FloodFilledImageFunctionConditionalIterator< TImage, TFunction >::FloodFilledImageFunctionConditionalIterator ( 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 94 of file itkFloodFilledImageFunctionConditionalIterator.h.

template<typename TImage , typename TFunction >
virtual itk::FloodFilledImageFunctionConditionalIterator< TImage, TFunction >::~FloodFilledImageFunctionConditionalIterator ( )
inlinevirtual

Default Destructor.

Definition at line 106 of file itkFloodFilledImageFunctionConditionalIterator.h.

Member Function Documentation

template<typename TImage , typename TFunction >
const PixelType itk::FloodFilledImageFunctionConditionalIterator< TImage, TFunction >::Get ( void  ) const
inlinevirtual
template<typename TImage , typename TFunction >
void itk::FloodFilledImageFunctionConditionalIterator< TImage, TFunction >::Set ( const PixelType value)
inline

Member Data Documentation

template<typename TImage , typename TFunction >
const unsigned int itk::FloodFilledImageFunctionConditionalIterator< 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.

Definition at line 74 of file itkFloodFilledImageFunctionConditionalIterator.h.


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