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