#include <mitkKdTree.h>
Collaboration diagram for mitkKdTree:
Public Member Functions | |
mitkKdTree (mitkPointSet *points, int points_per_leaf=4) | |
~mitkKdTree () | |
void | GetPointsKNearest (double *queryPoint, int k, vector< int > &closestIndices) |
void | GetPointsInBoundingBox (mitkBoundingBox< double > &box, vector< int > &indices_in_box) |
void | GetPointsInRadius (double *query_point, double radius, vector< int > &indices_in_radius) |
void | SetFlagUseHeap (bool flag) |
mitkKdTree is a class for the implementation of k-d tree data structure. It's designed to accelerate point set k nearest neighbor searching and points indexing. Some codes are borrowed from rsdl library.
|
Constructor with tree building.
|
|
Deconstructor. |
|
Get points in a bounding box.
|
|
Get points in a given circle/sphere.
|
|
Get k nearest point to a query point.
|
|
Set knn search using heap flag.
|