Public Member Functions | Protected Member Functions | Protected Attributes
rtc::Point3DKdTree Class Reference

#include <rtcPoint3DKdTree.h>

List of all members.

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

Detailed Description

Definition at line 32 of file rtcPoint3DKdTree.h.


Constructor & Destructor Documentation

rtc::Point3DKdTree::Point3DKdTree ( float *  x,
float *  y,
float *  z,
int  num_points 
)

Definition at line 27 of file rtcPoint3DKdTree.cpp.

Definition at line 41 of file rtcPoint3DKdTree.cpp.


Member Function Documentation

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.


Member Data Documentation

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.


The documentation for this class was generated from the following files:


rtc
Author(s): Benjamin Pitzer
autogenerated on Thu Jan 2 2014 11:04:54