18#ifndef itkShapedFloodFilledImageFunctionConditionalIterator_h
19#define itkShapedFloodFilledImageFunctionConditionalIterator_h
37template <
typename TImage,
typename TFunction>
89 std::vector<IndexType> & startIndex)
A base class for other iterators where membership in the set of output pixels is conditional upon som...
typename TImage::IndexType IndexType
typename TImage::PixelType PixelType
ImageType::ConstWeakPointer m_Image
Iterates over a flood-filled spatial function with read-only access to pixels.
std::queue< IndexType > m_IndexStack
Iterates over a flood-filled image function with read-only access to pixels.
typename TImage::PixelType PixelType
static constexpr unsigned int NDimensions
typename TImage::InternalPixelType InternalPixelType
typename TImage::SizeType SizeType
typename TImage::IndexType IndexType
typename TFunction::InputType FunctionInputType
typename TImage::RegionType RegionType
Iterates over a flood-filled image function with write access to pixels.
static constexpr unsigned int NDimensions
~ShapedFloodFilledImageFunctionConditionalIterator() override=default
ShapedFloodFilledImageFunctionConditionalIterator(ImageType *imagePtr, FunctionType *fnPtr, IndexType startIndex)
typename TImage::PixelType PixelType
void Set(const PixelType &value)
ShapedFloodFilledImageFunctionConditionalIterator(ImageType *imagePtr, FunctionType *fnPtr)
const PixelType Get() const override
ShapedFloodFilledImageFunctionConditionalIterator(ImageType *imagePtr, FunctionType *fnPtr, std::vector< IndexType > &startIndex)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....