37 #include <OpenMS/config.h>
46 class KDTreeFeatureMaps;
Stores a set of features, together with a 2D tree for fast search.
Definition: KDTreeFeatureMaps.h:50
A node of the kD-tree with pointer to corresponding data and index.
Definition: KDTreeFeatureNode.h:50
KDTreeFeatureNode(KDTreeFeatureMaps *data, Size idx)
Constructor.
Size idx_
Index of this feature.
Definition: KDTreeFeatureNode.h:81
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:78
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:67
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:127
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47