18 #ifndef itkFloodFilledImageFunctionConditionalIterator_h 19 #define itkFloodFilledImageFunctionConditionalIterator_h 33 template<
typename TImage,
typename TFunction >
81 IndexType startIndex):Superclass(imagePtr, fnPtr, startIndex) {}
88 std::vector< IndexType > & startIndex):Superclass(imagePtr, fnPtr,
95 FunctionType *fnPtr):Superclass(imagePtr, fnPtr) {}
98 const PixelType
Get(
void)
const 99 {
return const_cast< ImageType *
>( this->
m_Image.GetPointer() )->GetPixel( this->
m_IndexStack.front() ); }
102 void Set(
const PixelType & value)
103 {
const_cast< ImageType *
>( this->
m_Image.GetPointer() )->GetPixel( this->
m_IndexStack.front() ) = value; }
std::queue< IndexType > m_IndexStack
TFunction::InputType FunctionInputType
FloodFilledImageFunctionConditionalIterator(ImageType *imagePtr, FunctionType *fnPtr)
FloodFilledImageFunctionConditionalIterator Self
std::vector< IndexType > SeedsContainerType
Superclass::FunctionInputType FunctionInputType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
Superclass::FunctionType FunctionType
FloodFilledImageFunctionConditionalIterator(ImageType *imagePtr, FunctionType *fnPtr, IndexType startIndex)
Superclass::PixelType PixelType
TImage::IndexType IndexType
static const unsigned int NDimensions
Superclass::ImageType ImageType
TImage::PixelType PixelType
ImageType::ConstWeakPointer m_Image
Superclass::RegionType RegionType
Superclass::SizeType SizeType
void Set(const PixelType &value)
Superclass::SeedsContainerType SeedsContainerType
TImage::SizeType SizeType
Iterates over a flood-filled image function with read-only access to pixels.
Superclass::IndexType IndexType
FloodFilledImageFunctionConditionalIterator(ImageType *imagePtr, FunctionType *fnPtr, std::vector< IndexType > &startIndex)
TImage::InternalPixelType InternalPixelType
virtual ~FloodFilledImageFunctionConditionalIterator()
FloodFilledImageFunctionConditionalConstIterator< TImage, TFunction > Superclass
TImage::RegionType RegionType
Iterates over a flood-filled image function with write access to pixels.
const PixelType Get(void) const
Superclass::InternalPixelType InternalPixelType
static const unsigned int NDimensions