Config class for the SpectralEnvelopeExtract Processing. More...
#include <SpectralEnvelopeExtractConfig.hxx>
Public Member Functions | |
SpectralEnvelopeExtractConfig () | |
SpectralEnvelopeExtractConfig (const SpectralEnvelopeExtractConfig &prototype, const bool shareData=false, const bool deep=true) | |
__COMMON_DYNAMIC_TYPE (SpectralEnvelopeExtractConfig, 2) | |
__COMMON_DYN_ATTRIBUTE (0, public, EInterpolation, InterpolationType) protected | |
Type of interpolation for resultant Spectrum BPF. | |
bool | LoadInterpolationType (CLAM::Storage &s) |
__COMMON_DYN_ATTRIBUTE (1, public, int, MaxPeaks) protected | |
bool | LoadMaxPeaks (CLAM::Storage &s) |
void | DefaultValues () |
Initialize configuration object with default values (name 'SpectralEnvelopeExtract', 513 bands, Magnitude treshold set to -80 and MaxSpectralPeaks setted to 100. | |
~SpectralEnvelopeExtractConfig () | |
Protected Member Functions | |
void | DefaultInit () |
The concrete dynamic type constructor calls DefaultInit(). |
Config class for the SpectralEnvelopeExtract Processing.
Definition at line 33 of file SpectralEnvelopeExtractConfig.hxx.
CLAM::SpectralEnvelopeExtractConfig::SpectralEnvelopeExtractConfig | ( | ) | [inline] |
Definition at line 36 of file SpectralEnvelopeExtractConfig.hxx.
CLAM::SpectralEnvelopeExtractConfig::SpectralEnvelopeExtractConfig | ( | const SpectralEnvelopeExtractConfig & | prototype, | |
const bool | shareData = false , |
|||
const bool | deep = true | |||
) | [inline] |
Definition at line 36 of file SpectralEnvelopeExtractConfig.hxx.
CLAM::SpectralEnvelopeExtractConfig::~SpectralEnvelopeExtractConfig | ( | ) | [inline] |
Definition at line 47 of file SpectralEnvelopeExtractConfig.hxx.
CLAM::SpectralEnvelopeExtractConfig::__COMMON_DYN_ATTRIBUTE | ( | 1 | , | |
public | , | |||
int | , | |||
MaxPeaks | ||||
) | [inline] |
Definition at line 39 of file SpectralEnvelopeExtractConfig.hxx.
CLAM::SpectralEnvelopeExtractConfig::__COMMON_DYN_ATTRIBUTE | ( | 0 | , | |
public | , | |||
EInterpolation | , | |||
InterpolationType | ||||
) | [inline] |
Type of interpolation for resultant Spectrum BPF.
Definition at line 38 of file SpectralEnvelopeExtractConfig.hxx.
CLAM::SpectralEnvelopeExtractConfig::__COMMON_DYNAMIC_TYPE | ( | SpectralEnvelopeExtractConfig | , | |
2 | ||||
) |
void CLAM::SpectralEnvelopeExtractConfig::DefaultInit | ( | void | ) | [protected] |
The concrete dynamic type constructor calls DefaultInit().
This allows user to initialize his/her object. But we define DefaultInit() here because we don't want to force writting one DefaultInit() function for each concrete dynamic type. If a dynamic type concrete class defines some (not-default) constructors, this should also call the DefaultInit().
Reimplemented from CLAM::DynamicType.
Definition at line 34 of file SpectralEnvelopeExtract.cxx.
References DefaultValues(), and CLAM::DynamicType::UpdateData().
void CLAM::SpectralEnvelopeExtractConfig::DefaultValues | ( | ) |
Initialize configuration object with default values (name 'SpectralEnvelopeExtract', 513 bands, Magnitude treshold set to -80 and MaxSpectralPeaks setted to 100.
Definition at line 42 of file SpectralEnvelopeExtract.cxx.
References CLAM::EInterpolation::eSpline.
Referenced by DefaultInit().
bool CLAM::SpectralEnvelopeExtractConfig::LoadInterpolationType | ( | CLAM::Storage & | s | ) | [inline] |
Definition at line 38 of file SpectralEnvelopeExtractConfig.hxx.
bool CLAM::SpectralEnvelopeExtractConfig::LoadMaxPeaks | ( | CLAM::Storage & | s | ) | [inline] |
Definition at line 39 of file SpectralEnvelopeExtractConfig.hxx.