18 #ifndef itkFloodFilledSpatialFunctionConditionalIterator_h 19 #define itkFloodFilledSpatialFunctionConditionalIterator_h 34 template<
typename TImage,
typename TFunction >
76 IndexType startIndex):Superclass(imagePtr, fnPtr, startIndex) {}
82 FunctionType *fnPtr):Superclass(imagePtr, fnPtr) {}
85 const PixelType
Get(
void)
const 86 {
return const_cast< ImageType *
>( this->
m_Image.GetPointer() )->GetPixel( this->
m_IndexStack.front() ); }
90 {
return const_cast< ImageType *
>( this->
m_Image.GetPointer() )->GetPixel( this->
m_IndexStack.front() ); }
93 void Set(
const PixelType & value)
94 {
const_cast< ImageType *
>( this->
m_Image.GetPointer() )->GetPixel( this->
m_IndexStack.front() ) = value; }
std::queue< IndexType > m_IndexStack
TFunction::InputType FunctionInputType
Superclass::FunctionType FunctionType
Superclass::SeedsContainerType SeedsContainerType
std::vector< IndexType > SeedsContainerType
Superclass::PixelType PixelType
FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction > Superclass
const PixelType Get(void) const
Superclass::RegionType RegionType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
Superclass::ImageType ImageType
TImage::IndexType IndexType
Iterates over a flood-filled spatial function with read-only access to pixels.
FloodFilledSpatialFunctionConditionalIterator Self
TImage::PixelType PixelType
Superclass::SizeType SizeType
ImageType::ConstWeakPointer m_Image
TImage::SizeType SizeType
Superclass::IndexType IndexType
void Set(const PixelType &value)
FloodFilledSpatialFunctionConditionalIterator(ImageType *imagePtr, FunctionType *fnPtr)
TImage::InternalPixelType InternalPixelType
Superclass::InternalPixelType InternalPixelType
Superclass::FunctionInputType FunctionInputType
Iterates over a flood-filled spatial function with write access to pixels.
TImage::RegionType RegionType
virtual ~FloodFilledSpatialFunctionConditionalIterator()
FloodFilledSpatialFunctionConditionalIterator(ImageType *imagePtr, FunctionType *fnPtr, IndexType startIndex)