18 #ifndef itkImageRandomConstIteratorWithOnlyIndex_h
19 #define itkImageRandomConstIteratorWithOnlyIndex_h
122 template<
typename TImage >
163 m_NumberOfSamplesDone = 0L;
171 m_NumberOfSamplesDone = m_NumberOfSamplesRequested;
178 return ( m_NumberOfSamplesDone == 0L );
184 return ( m_NumberOfSamplesDone >= m_NumberOfSamplesRequested );
192 m_NumberOfSamplesDone++;
202 m_NumberOfSamplesDone--;
213 void ReinitializeSeed();
215 void ReinitializeSeed(
int);
228 #ifndef ITK_MANUAL_INSTANTIATION
229 #include "itkImageRandomConstIteratorWithOnlyIndex.hxx"
IndexType::IndexValueType IndexValueType
Superclass::OffsetValueType OffsetValueType
TImage::SizeType SizeType
GeneratorPointer m_Generator
Superclass::SizeValueType SizeValueType
Superclass::ImageType ImageType
TImage::RegionType RegionType
Self & operator=(const Self &it)
ImageConstIteratorWithOnlyIndex< TImage > Superclass
SizeValueType m_NumberOfSamplesDone
SizeType::SizeValueType SizeValueType
A multi-dimensional image iterator that visits a random set of locations within an image region...
SizeValueType m_NumberOfPixelsInRegion
Superclass::RegionType RegionType
TImage::IndexType IndexType
unsigned long SizeValueType
Superclass::IndexValueType IndexValueType
ImageRandomConstIteratorWithOnlyIndex Self
bool IsAtBegin(void) const
A base class for multi-dimensional iterators templated over image type that are designed to provide o...
Statistics::MersenneTwisterRandomVariateGenerator::Pointer GeneratorPointer
TImage::OffsetType OffsetType
~ImageRandomConstIteratorWithOnlyIndex()
Superclass::SizeType SizeType
OffsetType::OffsetValueType OffsetValueType
ImageRandomConstIteratorWithOnlyIndex(const ImageConstIteratorWithOnlyIndex< TImage > &it)
Superclass::IndexType IndexType
SizeValueType m_NumberOfSamplesRequested
Superclass::OffsetType OffsetType