 |
ITK
5.4.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkImageRandomConstIteratorWithOnlyIndex_h
19 #define itkImageRandomConstIteratorWithOnlyIndex_h
122 template <
typename TImage>
165 m_NumberOfSamplesDone = 0L;
174 m_NumberOfSamplesDone = m_NumberOfSamplesRequested;
182 return (m_NumberOfSamplesDone == 0L);
189 return (m_NumberOfSamplesDone >= m_NumberOfSamplesRequested);
198 ++m_NumberOfSamplesDone;
209 --m_NumberOfSamplesDone;
219 GetNumberOfSamples()
const;
226 ReinitializeSeed(
int);
241 #ifndef ITK_MANUAL_INSTANTIATION
242 # include "itkImageRandomConstIteratorWithOnlyIndex.hxx"
ImageRandomConstIteratorWithOnlyIndex(const ImageConstIteratorWithOnlyIndex< TImage > &it)
typename TImage::OffsetType OffsetType
ImageBaseType::SizeType SizeType
typename TImage::RegionType RegionType
ImageBaseType::IndexType IndexType
typename Statistics::MersenneTwisterRandomVariateGenerator::Pointer GeneratorPointer
ImageBaseType::RegionType RegionType
Self & operator=(const Self &it)
static Pointer New()
Method for creation through the object factory.
A base class for multi-dimensional iterators templated over image type that are designed to provide o...
SmartPointer< Self > Pointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
typename SizeType::SizeValueType SizeValueType
A multi-dimensional image iterator that visits a random set of locations within an image region,...
unsigned long SizeValueType