11 #include <OpenMS/config.h>
20 class KDTreeFeatureMaps;
Stores a set of features, together with a 2D tree for fast search.
Definition: KDTreeFeatureMaps.h:24
A node of the kD-tree with pointer to corresponding data and index.
Definition: KDTreeFeatureNode.h:24
KDTreeFeatureNode(KDTreeFeatureMaps *data, Size idx)
Constructor.
Size idx_
Index of this feature.
Definition: KDTreeFeatureNode.h:55
Size getIndex() const
Return index of corresponding feature in data_.
KDTreeFeatureNode(const KDTreeFeatureNode &rhs)
Copy constructor - copy the pointer, use same data object.
KDTreeFeatureMaps * data_
Pointer to the actual data.
Definition: KDTreeFeatureNode.h:52
value_type operator[](Size i) const
Needed for 2D range queries using libkdtree++. [0] returns RT, [1] m/z.
double value_type
libkdtree++ needs this typedef
Definition: KDTreeFeatureNode.h:41
KDTreeFeatureNode()
Default constructor is not supposed to be called.
KDTreeFeatureNode & operator=(KDTreeFeatureNode const &rhs)
Assignment operator - copy the pointer, use same data object.
virtual ~KDTreeFeatureNode()
Destructor.
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:97
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19