#include <KDTreeMultiIndex.h>
Public Member Functions | |
void | clear () |
Inserts the given data considering the given envelope as key. More... | |
std::unique_ptr< te::vp::IndexReport< T > > | getData () const |
Searches from all data consdering the given mbr. More... | |
void | insert (const te::gm::Coord2D &coord, const T &data) |
Removes the given data considering the given envelope as key. More... | |
KDTreeMultiIndex () | |
< Constructor More... | |
void | remove (const te::gm::Coord2D &coord, std::size_t dataIndex) |
Gets all data from the KDTreeIndex. More... | |
std::unique_ptr< te::vp::IndexReport< T > > | search (const te::gm::Envelope &mbr) const |
~KDTreeMultiIndex () | |
Clears the index. More... | |
Private Types | |
using | KD_NODE = te::sam::kdtree::Node< te::gm::Coord2D, std::size_t, std::vector< std::size_t >, te::sam::kdtree::kd_node_m_dataset_tag > |
Private Attributes | |
te::sam::kdtree::Index< KD_NODE > | m_index |
The internal rtree to store the data indexes. More... | |
IndexContainer< T > | m_indexContainer |
The indexed data container. More... | |
Definition at line 54 of file KDTreeMultiIndex.h.
|
private |
Definition at line 56 of file KDTreeMultiIndex.h.
te::vp::KDTreeMultiIndex< T >::KDTreeMultiIndex |
te::vp::KDTreeMultiIndex< T >::~KDTreeMultiIndex |
Clears the index.
Definition at line 96 of file KDTreeMultiIndex.h.
void te::vp::KDTreeMultiIndex< T >::clear |
Inserts the given data considering the given envelope as key.
Definition at line 102 of file KDTreeMultiIndex.h.
std::unique_ptr< te::vp::IndexReport< T > > te::vp::KDTreeMultiIndex< T >::getData |
Searches from all data consdering the given mbr.
Definition at line 123 of file KDTreeMultiIndex.h.
void te::vp::KDTreeMultiIndex< T >::insert | ( | const te::gm::Coord2D & | coord, |
const T & | data | ||
) |
Removes the given data considering the given envelope as key.
Definition at line 110 of file KDTreeMultiIndex.h.
void te::vp::KDTreeMultiIndex< T >::remove | ( | const te::gm::Coord2D & | coord, |
std::size_t | dataIndex | ||
) |
Gets all data from the KDTreeIndex.
Definition at line 117 of file KDTreeMultiIndex.h.
std::unique_ptr< te::vp::IndexReport< T > > te::vp::KDTreeMultiIndex< T >::search | ( | const te::gm::Envelope & | mbr | ) | const |
Definition at line 132 of file KDTreeMultiIndex.h.
|
private |
The internal rtree to store the data indexes.
Definition at line 82 of file KDTreeMultiIndex.h.
|
private |
The indexed data container.
Definition at line 83 of file KDTreeMultiIndex.h.