Gaia
|
The FixLength analyzer allows you to specify a list of descriptors for which you want to fix the length definitely. More...
#include <fixlength.h>
Public Member Functions | |
FixLength (const ParameterMap ¶ms) | |
Transformation | analyze (const DataSet *data) const |
![]() | |
Analyzer (const ParameterMap ¶ms) | |
virtual Transformation | analyze (const DataSet *dataset, const Region ®ion) const |
void | checkDataSet (const DataSet *dataset) const |
Checks that the given dataset is valid. More... | |
void | checkMinPoints (const DataSet *dataset, int n) const |
Checks that the given dataset as at least the specified number of points. More... | |
const Region & | checkFixedLength (const Region ®ion, const PointLayout &layout) const |
Checks that the given Region only contains fixed-length descriptors and throws an exception if not. More... | |
Protected Attributes | |
bool | _default |
![]() | |
ParameterMap | _params |
QStringList | _descriptorNames |
QStringList | _exclude |
Additional Inherited Members | |
![]() | |
QString | name |
Name for the algorithm, usually the key that was used to instantiate it from the factory. | |
QStringList | validParams |
List of valid parameters this analyzer accepts. More... | |
The FixLength analyzer allows you to specify a list of descriptors for which you want to fix the length definitely.
This is very useful for saving memory.
descriptorNames | the names of the descriptors to be fixed. Can use wildcards. If you don't specify a value here, it will fix the length of all the descriptors which are of fixed size inside this dataset. In that case, the exclude parameter will be ignored. |
except | the names of the descriptors to be removed from the selected list specified before. Can use wildcards. (default: ""). |