#include <otbSamplerBase.h>
This is a base class for sampling methods.
Definition at line 37 of file otbSamplerBase.h.
◆ ConstPointer
◆ Pointer
◆ Self
◆ Superclass
◆ SamplerBase() [1/2]
otb::SamplerBase::SamplerBase |
( |
| ) |
|
|
protected |
◆ ~SamplerBase()
otb::SamplerBase::~SamplerBase |
( |
| ) |
|
|
inlineoverrideprotected |
◆ SamplerBase() [2/2]
otb::SamplerBase::SamplerBase |
( |
const Self & |
| ) |
|
|
private |
◆ GetChosenElements()
virtual unsigned long otb::SamplerBase::GetChosenElements |
( |
| ) |
|
|
virtual |
Get macro for the current number of chosen elements
◆ GetNameOfClass()
virtual const char* otb::SamplerBase::GetNameOfClass |
( |
| ) |
const |
|
virtual |
◆ GetNeededElements()
virtual unsigned long otb::SamplerBase::GetNeededElements |
( |
| ) |
|
|
virtual |
Get macro for the number of needed elements
◆ GetProcessedElements()
virtual unsigned long otb::SamplerBase::GetProcessedElements |
( |
| ) |
|
|
virtual |
Get macro for the current number of processed elements
◆ GetRate()
virtual double otb::SamplerBase::GetRate |
( |
| ) |
|
|
virtual |
Get macro for sampling rate
◆ GetTotalElements()
virtual unsigned long otb::SamplerBase::GetTotalElements |
( |
| ) |
|
|
virtual |
Get macro for the total number of elements
◆ operator=()
void otb::SamplerBase::operator= |
( |
const Self & |
| ) |
|
|
private |
◆ Reset()
virtual void otb::SamplerBase::Reset |
( |
void |
| ) |
|
|
virtual |
◆ SetNumberOfElements()
void otb::SamplerBase::SetNumberOfElements |
( |
unsigned long |
needed, |
|
|
unsigned long |
total |
|
) |
| |
method to set the number of needed and total elements the sampling rate is automatically updated
◆ SetRate()
void otb::SamplerBase::SetRate |
( |
double |
rate, |
|
|
unsigned long |
total = 0UL |
|
) |
| |
method to set the sampling rate, if the total number of elements is given, the number of needed elements is updated
◆ m_ChosenElements
unsigned long otb::SamplerBase::m_ChosenElements |
|
protected |
◆ m_NeededElements
unsigned long otb::SamplerBase::m_NeededElements |
|
private |
Number of elements to select during the iteration
Definition at line 100 of file otbSamplerBase.h.
◆ m_ProcessedElements
unsigned long otb::SamplerBase::m_ProcessedElements |
|
protected |
Current count of encountered elements during iteration
Definition at line 89 of file otbSamplerBase.h.
◆ m_Rate
double otb::SamplerBase::m_Rate |
|
private |
◆ m_TotalElements
unsigned long otb::SamplerBase::m_TotalElements |
|
private |
Total number of elements during the iteration
Definition at line 97 of file otbSamplerBase.h.
The documentation for this class was generated from the following file: