|
ITK
5.2.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
std::queue< IndexType > m_IndexStack
typename TImage::InternalPixelType InternalPixelType
typename Superclass::IndexType IndexType
typename Superclass::PixelType PixelType
ShapedFloodFilledImageFunctionConditionalIterator(ImageType *imagePtr, FunctionType *fnPtr, IndexType startIndex)
typename Superclass::FunctionInputType FunctionInputType
static constexpr unsigned int NDimensions
void Set(const PixelType &value)
typename Superclass::InternalPixelType InternalPixelType
Iterates over a flood-filled spatial function with read-only access to pixels.
ImageType::ConstWeakPointer m_Image
ShapedFloodFilledImageFunctionConditionalIterator(ImageType *imagePtr, FunctionType *fnPtr)
typename Superclass::ImageType ImageType
ShapedFloodFilledImageFunctionConditionalIterator(ImageType *imagePtr, FunctionType *fnPtr, std::vector< IndexType > &startIndex)
typename TImage::RegionType RegionType
typename Superclass::PixelType PixelType
typename TImage::SizeType SizeType
typename Superclass::SizeType SizeType
typename TFunction::InputType FunctionInputType
A base class for other iterators where membership in the set of output pixels is conditional upon som...
typename Superclass::RegionType RegionType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
typename Superclass::FunctionType FunctionType
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