21 #ifndef otbSamplerBase_h
22 #define otbSamplerBase_h
24 #include "itkObject.h"
25 #include "itkObjectFactory.h"
26 #include "OTBStatisticsExport.h"
60 void SetRate(
double rate,
unsigned long total = 0UL);
63 itkGetMacro(Rate,
double);
66 itkGetMacro(TotalElements,
unsigned long);
69 itkGetMacro(NeededElements,
unsigned long);
72 itkGetMacro(ChosenElements,
unsigned long);
75 itkGetMacro(ProcessedElements,
unsigned long);
This is a base class for sampling methods.
void SetNumberOfElements(unsigned long needed, unsigned long total)
void SetRate(double rate, unsigned long total=0UL)
unsigned long m_TotalElements
SamplerBase(const Self &)
unsigned long m_NeededElements
unsigned long m_ProcessedElements
itk::SmartPointer< Self > Pointer
void operator=(const Self &)
unsigned long m_ChosenElements
itk::SmartPointer< const Self > ConstPointer
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.