41 #ifndef __vtkPointLocator_h
42 #define __vtkPointLocator_h
48 class vtkNeighborPoints;
63 vtkSetVector3Macro(Divisions,
int);
64 vtkGetVectorMacro(Divisions,
int,3);
70 vtkGetMacro(NumberOfPointsPerBucket,
int);
85 double radius,
const double x[3],
double& dist2);
87 double inputDataLength,
double& dist2);
130 xyz[0] = x; xyz[1] = y; xyz[2] = z;
166 virtual void FindDistributedPoints(
int N,
const double x[3],
168 virtual void FindDistributedPoints(
int N,
double x,
double y,
185 virtual vtkIdList *GetPointsInBucket(
const double x[3],
int ijk[3]);
206 void GetBucketNeighbors(vtkNeighborPoints* buckets,
207 const int ijk[3],
const int ndivs[3],
int level);
208 void GetOverlappingBuckets(vtkNeighborPoints* buckets,
209 const double x[3],
const int ijk[3],
double dist,
211 void GetOverlappingBuckets(vtkNeighborPoints* buckets,
212 const double x[3],
double dist,
214 int prevMaxLevel[3]);
215 void GenerateFace(
int face,
int i,
int j,
int k,
217 double Distance2ToBucket(
const double x[3],
const int nei[3]);
218 double Distance2ToBounds(
const double x[3],
const double bounds[6]);