7 #ifndef __SEARCHTREE_H__ 8 #define __SEARCHTREE_H__ 64 virtual inline void lock() {};
81 virtual double *FindClosest(
double *_p,
double maxdist2,
int threadNum = 0)
const = 0 ;
83 virtual void getPtPairs(vector <PtPair> *pairs,
84 double *source_alignxf,
85 double *
const *q_points,
unsigned int startindex,
unsigned int endindex,
87 int rnd,
double max_dist_match2,
double &sum,
88 double *centroid_m,
double *centroid_d);
90 virtual void getPtPairs(vector <PtPair> *pairs,
91 double *source_alignxf,
92 const DataXYZ& xyz_r,
unsigned int startindex,
unsigned int endindex,
94 int rnd,
double max_dist_match2,
double &sum,
95 double *centroid_m,
double *centroid_d);
136 virtual SearchTreeCacheItem* FindClosestCacheInit(
double *_p,
double maxdist2,
int threadNum = 0) = 0;
148 virtual SearchTreeCacheItem* FindClosestCache(
double *_p,
double maxdist2,
int threadNum = 0) = 0;
149 double *
FindClosest(
double *_p,
double maxdist2,
int threadNum = 0)
const {
double * FindClosest(double *_p, double maxdist2, int threadNum=0) const
Representation of a general cache for search trees.
The search tree structure.
Definition of point pairs.
virtual ~CachedSearchTree()
The search tree structure.
Basic DataPointer class and its derivates SingleArray and TripleArray.