20 #ifndef GAIA_EXTRACTAPPLIER_H 21 #define GAIA_EXTRACTAPPLIER_H 24 #include "3rdparty/libsvm/svm.h" 32 ltype(ltype_), desc(desc_), dim(dim_) {}
56 QMap<QString, QList<int> > _dims;
58 IndexMap _realMap, _stringMap, _enumMap;
60 typedef QList<QPair<InnerDim, InnerDim> > Mapping;
63 Mapping getMappings(
const PointLayout& layout)
const;
64 void transferData(
Point* p,
const Mapping& m)
const;
70 #endif // GAIA_EXTRACTAPPLIER_H
Point * mapPoint(const Point *p, const PointLayout &newLayout, const IndexMap &realMap, const IndexMap &stringMap, const IndexMap &enumMap)
Creates a new Point that is a mapping of the given one, copying only those descriptors that are in ne...
Definition: utils.cpp:310
This class describes the layout of a point.
Definition: pointlayout.h:60
Definition: extractapplier.h:29
DescriptorLengthType
Either fixed-length or variable-length.
Definition: region.h:46
Main Gaia namespace, which contains all the library functions.
Definition: addfield.cpp:22
The Applier abstract base class.
Definition: applier.h:44