18 #ifndef itkImageRandomConstIteratorWithOnlyIndex_h
19 #define itkImageRandomConstIteratorWithOnlyIndex_h
122 template<
typename TImage >
164 m_NumberOfSamplesDone = 0L;
172 m_NumberOfSamplesDone = m_NumberOfSamplesRequested;
179 return ( m_NumberOfSamplesDone == 0L );
185 return ( m_NumberOfSamplesDone >= m_NumberOfSamplesRequested );
193 m_NumberOfSamplesDone++;
203 m_NumberOfSamplesDone--;
214 void ReinitializeSeed();
216 void ReinitializeSeed(
int);
229 #ifndef ITK_MANUAL_INSTANTIATION
230 #include "itkImageRandomConstIteratorWithOnlyIndex.hxx"
GeneratorPointer m_Generator
Self & operator=(const Self &it)
SizeValueType m_NumberOfSamplesDone
unsigned long SizeValueType
typename TImage::SizeType SizeType
SmartPointer< Self > Pointer
A multi-dimensional image iterator that visits a random set of locations within an image region...
SizeValueType m_NumberOfPixelsInRegion
typename OffsetType::OffsetValueType OffsetValueType
typename SizeType::SizeValueType SizeValueType
ImageBaseType::SizeType SizeType
A base class for multi-dimensional iterators templated over image type that are designed to provide o...
ImageBaseType::IndexType IndexType
signed long IndexValueType
typename TImage::RegionType RegionType
typename TImage::OffsetType OffsetType
typename Statistics::MersenneTwisterRandomVariateGenerator::Pointer GeneratorPointer
typename IndexType::IndexValueType IndexValueType
ImageRandomConstIteratorWithOnlyIndex(const ImageConstIteratorWithOnlyIndex< TImage > &it)
ImageBaseType::RegionType RegionType
typename TImage::IndexType IndexType
signed long OffsetValueType
SizeValueType m_NumberOfSamplesRequested