ITK  5.2.0
Insight Toolkit
Public Types | Public Member Functions | List of all members
itk::FloodFilledSpatialFunctionConditionalIterator< TImage, TFunction > Class Template Reference

#include <itkFloodFilledSpatialFunctionConditionalIterator.h>

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

Public Types

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

Public Member Functions

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

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 ()
 
- Static Public Attributes inherited from itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >
static constexpr unsigned int NDimensions = TImage::ImageDimension
 
- Static Public Attributes inherited from itk::ConditionalConstIterator< TImage >
static constexpr unsigned int NDimension = TImage::ImageDimension
 
- Protected Types inherited from itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >
using TTempImage = Image< unsigned char, Self::NDimensions >
 
- Protected Attributes inherited from itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >
unsigned char m_InclusionStrategy
 
- Protected Attributes inherited from itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >
SmartPointer< FunctionTypem_Function
 
TTempImage::Pointer m_TemporaryPointer
 
SeedsContainerType m_Seeds
 
ImageType::PointType m_ImageOrigin
 
ImageType::SpacingType m_ImageSpacing
 
RegionType m_ImageRegion
 
std::queue< IndexTypem_IndexStack
 
FunctionInputType m_LocationVector
 
bool m_FoundUncheckedNeighbor
 
bool m_IsValidIndex
 
- Protected Attributes inherited from itk::ConditionalConstIterator< TImage >
ImageType::ConstWeakPointer m_Image
 
bool m_IsAtEnd { false }
 
RegionType m_Region
 

Detailed Description

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

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

Definition at line 35 of file itkFloodFilledSpatialFunctionConditionalIterator.h.

Member Typedef Documentation

◆ FunctionInputType

template<typename TImage , typename TFunction >
using itk::FloodFilledSpatialFunctionConditionalIterator< TImage, TFunction >::FunctionInputType = typename Superclass::FunctionInputType

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

Definition at line 48 of file itkFloodFilledSpatialFunctionConditionalIterator.h.

◆ FunctionType

template<typename TImage , typename TFunction >
using itk::FloodFilledSpatialFunctionConditionalIterator< TImage, TFunction >::FunctionType = typename Superclass::FunctionType

Type of function

Definition at line 45 of file itkFloodFilledSpatialFunctionConditionalIterator.h.

◆ ImageType

template<typename TImage , typename TFunction >
using itk::FloodFilledSpatialFunctionConditionalIterator< TImage, TFunction >::ImageType = typename Superclass::ImageType

Image type alias support

Definition at line 63 of file itkFloodFilledSpatialFunctionConditionalIterator.h.

◆ IndexType

template<typename TImage , typename TFunction >
using itk::FloodFilledSpatialFunctionConditionalIterator< TImage, TFunction >::IndexType = typename Superclass::IndexType

Index type alias support

Definition at line 51 of file itkFloodFilledSpatialFunctionConditionalIterator.h.

◆ InternalPixelType

template<typename TImage , typename TFunction >
using itk::FloodFilledSpatialFunctionConditionalIterator< TImage, TFunction >::InternalPixelType = typename Superclass::InternalPixelType

Internal Pixel Type

Definition at line 66 of file itkFloodFilledSpatialFunctionConditionalIterator.h.

◆ PixelType

template<typename TImage , typename TFunction >
using itk::FloodFilledSpatialFunctionConditionalIterator< TImage, TFunction >::PixelType = typename Superclass::PixelType

External Pixel Type

Definition at line 69 of file itkFloodFilledSpatialFunctionConditionalIterator.h.

◆ RegionType

template<typename TImage , typename TFunction >
using itk::FloodFilledSpatialFunctionConditionalIterator< TImage, TFunction >::RegionType = typename Superclass::RegionType

Region type alias support

Definition at line 60 of file itkFloodFilledSpatialFunctionConditionalIterator.h.

◆ SeedsContainerType

template<typename TImage , typename TFunction >
using itk::FloodFilledSpatialFunctionConditionalIterator< TImage, TFunction >::SeedsContainerType = typename Superclass::SeedsContainerType

Index ContainerType.

Definition at line 54 of file itkFloodFilledSpatialFunctionConditionalIterator.h.

◆ Self

template<typename TImage , typename TFunction >
using itk::FloodFilledSpatialFunctionConditionalIterator< TImage, TFunction >::Self = FloodFilledSpatialFunctionConditionalIterator

Standard class type aliases.

Definition at line 41 of file itkFloodFilledSpatialFunctionConditionalIterator.h.

◆ SizeType

template<typename TImage , typename TFunction >
using itk::FloodFilledSpatialFunctionConditionalIterator< TImage, TFunction >::SizeType = typename Superclass::SizeType

Size type alias support

Definition at line 57 of file itkFloodFilledSpatialFunctionConditionalIterator.h.

◆ Superclass

template<typename TImage , typename TFunction >
using itk::FloodFilledSpatialFunctionConditionalIterator< TImage, TFunction >::Superclass = FloodFilledSpatialFunctionConditionalConstIterator<TImage, TFunction>

Constructor & Destructor Documentation

◆ FloodFilledSpatialFunctionConditionalIterator() [1/2]

template<typename TImage , typename TFunction >
itk::FloodFilledSpatialFunctionConditionalIterator< TImage, TFunction >::FloodFilledSpatialFunctionConditionalIterator ( 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 74 of file itkFloodFilledSpatialFunctionConditionalIterator.h.

◆ FloodFilledSpatialFunctionConditionalIterator() [2/2]

template<typename TImage , typename TFunction >
itk::FloodFilledSpatialFunctionConditionalIterator< TImage, TFunction >::FloodFilledSpatialFunctionConditionalIterator ( 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 81 of file itkFloodFilledSpatialFunctionConditionalIterator.h.

◆ ~FloodFilledSpatialFunctionConditionalIterator()

template<typename TImage , typename TFunction >
itk::FloodFilledSpatialFunctionConditionalIterator< TImage, TFunction >::~FloodFilledSpatialFunctionConditionalIterator ( )
overridedefault

Default Destructor.

Member Function Documentation

◆ Get() [1/2]

template<typename TImage , typename TFunction >
PixelType itk::FloodFilledSpatialFunctionConditionalIterator< TImage, TFunction >::Get ( )
inline

◆ Get() [2/2]

template<typename TImage , typename TFunction >
const PixelType itk::FloodFilledSpatialFunctionConditionalIterator< TImage, TFunction >::Get ( ) const
inlineoverridevirtual

◆ Set()

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

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