18 #ifndef itkFloodFilledFunctionConditionalConstIterator_h
19 #define itkFloodFilledFunctionConditionalConstIterator_h
38 template<
typename TImage,
typename TFunction >
78 itkStaticConstMacro(
NDimensions,
unsigned int, TImage::ImageDimension);
92 std::vector< IndexType > & startIndices);
143 {
return TImage::ImageDimension; }
194 for (
unsigned int i = 0; i <
m_Seeds.size(); i++ )
262 #ifndef ITK_MANUAL_INSTANTIATION
263 #include "itkFloodFilledFunctionConditionalConstIterator.hxx"
static const unsigned int NDimensions
ImageType::PointType m_ImageOrigin
std::queue< IndexType > m_IndexStack
TFunction::InputType FunctionInputType
virtual bool IsPixelIncluded(const IndexType &index) const =0
bool m_FoundUncheckedNeighbor
std::vector< IndexType > SeedsContainerType
virtual SmartPointer< FunctionType > GetFunction() const
TImage::PixelType PixelType
void AddSeed(const IndexType &seed)
Image< unsigned char, itkGetStaticConstMacro(NDimensions) > TTempImage
SeedsContainerType m_Seeds
TImage::IndexType IndexType
static unsigned int GetIteratorDimension()
TTempImage::Pointer m_TemporaryPointer
FunctionInputType m_LocationVector
virtual ~FloodFilledFunctionConditionalConstIterator()
TImage::PixelType PixelType
const PixelType Get(void) const
FloodFilledFunctionConditionalConstIterator(const ImageType *imagePtr, FunctionType *fnPtr, IndexType startIndex)
ImageType::ConstWeakPointer m_Image
virtual const SeedsContainerType & GetSeeds() const
SmartPointer< FunctionType > m_Function
TImage::SizeType SizeType
TImage::InternalPixelType InternalPixelType
ImageType::SpacingType m_ImageSpacing
FloodFilledFunctionConditionalConstIterator Self
Iterates over a flood-filled spatial function.
Self & operator=(const Self &it)
Define additional traits for native types such as int or float.
TImage::RegionType RegionType
A base class for other iterators where membership in the set of output pixels is conditional upon som...
void InitializeIterator()
const IndexType GetIndex()
Templated n-dimensional image class.
TImage::RegionType RegionType