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>

Inheritance diagram for gaia2::FixLength:
gaia2::Analyzer

Public Member Functions

 FixLength (const ParameterMap &params)
 
Transformation analyze (const DataSet *data) const
 
- Public Member Functions inherited from gaia2::Analyzer
 Analyzer (const ParameterMap &params)
 
virtual Transformation analyze (const DataSet *dataset, const Region &region) 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 RegioncheckFixedLength (const Region &region, 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
 
- Protected Attributes inherited from gaia2::Analyzer
ParameterMap _params
 
QStringList _descriptorNames
 
QStringList _exclude
 

Additional Inherited Members

- Public Attributes inherited from gaia2::Analyzer
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...
 

Detailed Description

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.

Parameters
descriptorNamesthe 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.
exceptthe names of the descriptors to be removed from the selected list specified before. Can use wildcards. (default: "").

The documentation for this class was generated from the following files: