#include <SegmentatorConfig.hxx>
Definition at line 70 of file SegmentatorConfig.hxx.
Public Member Functions | |
DYNAMIC_TYPE_USING_INTERFACE (SegmentatorConfig, 2, ProcessingConfig) | |
DYN_ATTRIBUTE (0, public, int, MinSegmentLength) | |
DYN_ATTRIBUTE (1, public, Array< TDescriptorsParams >, DescriptorsParams) | |
void | AddDescParams (const TDescriptorsParams &descParams) |
bool | FindDescParams (TDescriptorsParams &descParams) |
void | ClearDescParams () |
void | SetDescriptorsSearch (const SearchArray< TDescriptorsParams > &frame) |
const SearchArray < TDescriptorsParams > & | GetDescriptorsSearch () const |
SearchArray< TDescriptorsParams > & | GetDescriptorsSearch () |
~SegmentatorConfig () | |
Protected Member Functions | |
void | DefaultInit () |
The concrete dynamic type constructor calls DefaultInit(). | |
Friends | |
class | Segmentator |
CLAM::SegmentatorConfig::~SegmentatorConfig | ( | ) | [inline] |
Definition at line 94 of file SegmentatorConfig.hxx.
CLAM::SegmentatorConfig::DYNAMIC_TYPE_USING_INTERFACE | ( | SegmentatorConfig | , | |
2 | , | |||
ProcessingConfig | ||||
) |
CLAM::SegmentatorConfig::DYN_ATTRIBUTE | ( | 0 | , | |
public | , | |||
int | , | |||
MinSegmentLength | ||||
) |
CLAM::SegmentatorConfig::DYN_ATTRIBUTE | ( | 1 | , | |
public | , | |||
Array< TDescriptorsParams > | , | |||
DescriptorsParams | ||||
) |
void SegmentatorConfig::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 133 of file Segmentator.cxx.
References SetDescriptorsSearch(), and CLAM::DynamicType::UpdateData().
void SegmentatorConfig::AddDescParams | ( | const TDescriptorsParams & | descParams | ) |
bool SegmentatorConfig::FindDescParams | ( | TDescriptorsParams & | descParams | ) |
Definition at line 165 of file Segmentator.cxx.
References GetDescriptorsSearch(), CLAM::TDescriptorsParams::percentil, and CLAM::TDescriptorsParams::threshold.
void SegmentatorConfig::ClearDescParams | ( | ) |
Definition at line 177 of file Segmentator.cxx.
void CLAM::SegmentatorConfig::SetDescriptorsSearch | ( | const SearchArray< TDescriptorsParams > & | frame | ) | [inline] |
const SearchArray<TDescriptorsParams>& CLAM::SegmentatorConfig::GetDescriptorsSearch | ( | ) | const [inline] |
Definition at line 88 of file SegmentatorConfig.hxx.
Referenced by AddDescParams(), and FindDescParams().
SearchArray<TDescriptorsParams>& CLAM::SegmentatorConfig::GetDescriptorsSearch | ( | ) | [inline] |
Definition at line 91 of file SegmentatorConfig.hxx.
friend class Segmentator [friend] |
Definition at line 72 of file SegmentatorConfig.hxx.