![]() |
OTB
9.1.1
Orfeo Toolbox
|
#include <otbPeriodicSampler.h>
Inheritance diagram for otb::PeriodicSampler:
Collaboration diagram for otb::PeriodicSampler:Classes | |
| struct | Parameter |
Public Types | |
| typedef itk::SmartPointer< const Self > | ConstPointer |
| typedef struct otb::PeriodicSampler::Parameter | ParameterType |
| typedef itk::SmartPointer< Self > | Pointer |
| typedef PeriodicSampler | Self |
| typedef SamplerBase | Superclass |
Public Types inherited from otb::SamplerBase | |
| typedef itk::SmartPointer< const Self > | ConstPointer |
| typedef itk::SmartPointer< Self > | Pointer |
| typedef SamplerBase | Self |
| typedef itk::Object | Superclass |
Public Member Functions | |
| virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
| virtual const char * | GetNameOfClass () const |
Public Member Functions inherited from otb::SamplerBase | |
| virtual unsigned long | GetChosenElements () |
| virtual unsigned long | GetNeededElements () |
| virtual unsigned long | GetProcessedElements () |
| virtual double | GetRate () |
| virtual unsigned long | GetTotalElements () |
| void | SetNumberOfElements (unsigned long needed, unsigned long total) |
| void | SetRate (double rate, unsigned long total=0UL) |
Static Public Member Functions | |
| static Pointer | New () |
| ParameterType | m_Parameters |
| double | m_JitterSize |
| double | m_OffsetValue |
| std::vector< double > | m_JitterValues |
| void | SetParameters (const ParameterType ¶m) |
| ParameterType | GetParameters () |
| void | Reset (void) override |
| bool | TakeSample (void) |
| PeriodicSampler () | |
| ~PeriodicSampler () override | |
| PeriodicSampler (const Self &) | |
| void | operator= (const Self &) |
Additional Inherited Members | |
Protected Member Functions inherited from otb::SamplerBase | |
| SamplerBase () | |
| ~SamplerBase () override | |
Protected Attributes inherited from otb::SamplerBase | |
| unsigned long | m_ChosenElements |
| unsigned long | m_ProcessedElements |
Periodic sampler for iteration loops.
This class allows doing periodic sampling during an iteration loop.
Definition at line 38 of file otbPeriodicSampler.h.
| typedef itk::SmartPointer<const Self> otb::PeriodicSampler::ConstPointer |
Definition at line 44 of file otbPeriodicSampler.h.
Internal parameters, only contains an offset to shift the periodic sampling
| typedef itk::SmartPointer<Self> otb::PeriodicSampler::Pointer |
Definition at line 43 of file otbPeriodicSampler.h.
Definition at line 41 of file otbPeriodicSampler.h.
Definition at line 42 of file otbPeriodicSampler.h.
|
protected |
Constructor
|
inlineoverrideprotected |
Destructor
Definition at line 104 of file otbPeriodicSampler.h.
|
private |
Internal parameters for the sampler
| virtual::itk::LightObject::Pointer otb::PeriodicSampler::CreateAnother | ( | void | ) | const |
|
virtual |
Runtime information support.
Reimplemented from otb::SamplerBase.
|
inline |
Getter for internal parameters
Definition at line 83 of file otbPeriodicSampler.h.
|
static |
Method for creation through the object factory.
|
private |
Internal parameters for the sampler
|
overridevirtual |
Method that resets the internal state of the sampler
Reimplemented from otb::SamplerBase.
|
inline |
Setter for internal parameters
Definition at line 72 of file otbPeriodicSampler.h.
| bool otb::PeriodicSampler::TakeSample | ( | void | ) |
Method to call during iteration, returns true if the sample is selected, and false otherwise.
|
private |
Internal width for jitter
Definition at line 117 of file otbPeriodicSampler.h.
|
private |
jitter offsets computed up to MaxBufferSize
Definition at line 124 of file otbPeriodicSampler.h.
|
private |
Internal current offset value (either fixed, or reset each time a sample is taken)
Definition at line 121 of file otbPeriodicSampler.h.
|
private |
Internal parameters for the sampler
Definition at line 114 of file otbPeriodicSampler.h.
1.8.17