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