#include <rtcPoint3DKdTree.h>
Public Member Functions | |
| int | findNearest (const Vec3f &p) |
| int | findNearest (float x, float y, float z) |
| void | findNearest (float x, float y, float z, int k, int *points) |
| void | findNearest (float x, float y, float z, int k, std::vector< int > &points) |
| void | findNearest (const Vec3f &p, int k, int *points) |
| void | findNearest (const Vec3f &p, int k, std::vector< int > &points) |
| int | findWithinRange (float x, float y, float z, float range, std::vector< int > &points) |
| int | findWithinRange (const Vec3f &p, float range, std::vector< int > &points) |
| Point3DKdTree (float *x, float *y, float *z, int num_points) | |
| virtual | ~Point3DKdTree () |
Protected Member Functions | |
| void | findNearest (float *ann_sample, ANNidx *i, ANNdist *d) |
Protected Attributes | |
| ANNkd_tree * | ann_tree |
| ANNpointArray | dataPts |
Definition at line 32 of file rtcPoint3DKdTree.h.
| rtc::Point3DKdTree::Point3DKdTree | ( | float * | x, |
| float * | y, | ||
| float * | z, | ||
| int | num_points | ||
| ) |
Definition at line 27 of file rtcPoint3DKdTree.cpp.
| rtc::Point3DKdTree::~Point3DKdTree | ( | ) | [virtual] |
Definition at line 41 of file rtcPoint3DKdTree.cpp.
| int rtc::Point3DKdTree::findNearest | ( | const Vec3f & | p | ) |
Definition at line 48 of file rtcPoint3DKdTree.cpp.
| int rtc::Point3DKdTree::findNearest | ( | float | x, |
| float | y, | ||
| float | z | ||
| ) |
Definition at line 53 of file rtcPoint3DKdTree.cpp.
| void rtc::Point3DKdTree::findNearest | ( | float | x, |
| float | y, | ||
| float | z, | ||
| int | k, | ||
| int * | points | ||
| ) |
Definition at line 72 of file rtcPoint3DKdTree.cpp.
| void rtc::Point3DKdTree::findNearest | ( | float | x, |
| float | y, | ||
| float | z, | ||
| int | k, | ||
| std::vector< int > & | points | ||
| ) |
Definition at line 90 of file rtcPoint3DKdTree.cpp.
| void rtc::Point3DKdTree::findNearest | ( | const Vec3f & | p, |
| int | k, | ||
| int * | points | ||
| ) |
Definition at line 113 of file rtcPoint3DKdTree.cpp.
| void rtc::Point3DKdTree::findNearest | ( | const Vec3f & | p, |
| int | k, | ||
| std::vector< int > & | points | ||
| ) |
Definition at line 118 of file rtcPoint3DKdTree.cpp.
| void rtc::Point3DKdTree::findNearest | ( | float * | ann_sample, |
| ANNidx * | i, | ||
| ANNdist * | d | ||
| ) | [protected] |
Definition at line 154 of file rtcPoint3DKdTree.cpp.
| int rtc::Point3DKdTree::findWithinRange | ( | float | x, |
| float | y, | ||
| float | z, | ||
| float | range, | ||
| std::vector< int > & | points | ||
| ) |
Definition at line 123 of file rtcPoint3DKdTree.cpp.
| int rtc::Point3DKdTree::findWithinRange | ( | const Vec3f & | p, |
| float | range, | ||
| std::vector< int > & | points | ||
| ) |
Definition at line 149 of file rtcPoint3DKdTree.cpp.
ANNkd_tree* rtc::Point3DKdTree::ann_tree [protected] |
Definition at line 53 of file rtcPoint3DKdTree.h.
ANNpointArray rtc::Point3DKdTree::dataPts [protected] |
Definition at line 54 of file rtcPoint3DKdTree.h.