39 #ifndef __vtkOctreePointLocator_h
40 #define __vtkOctreePointLocator_h
60 vtkSetMacro(MaximumPointsPerRegion,
int);
61 vtkGetMacro(MaximumPointsPerRegion,
int);
66 vtkSetMacro(CreateCubicOctants,
int);
67 vtkGetMacro(CreateCubicOctants,
int);
75 vtkGetMacro(FudgeFactor,
double);
76 vtkSetMacro(FudgeFactor,
double);
88 vtkGetMacro(NumberOfLeafNodes,
int);
92 void GetRegionBounds(
int regionID,
double bounds[6]);
95 void GetRegionDataBounds(
int leafNodeID,
double bounds[6]);
98 int GetRegionContainingPoint(
double x,
double y,
double z);
117 double radius,
const double x[3],
double& dist2);
124 vtkIdType FindClosestPointInRegion(
int regionId,
double *x,
double &dist2);
125 vtkIdType FindClosestPointInRegion(
int regionId,
double x,
double y,
126 double z,
double &dist2);
158 void FindPointsInArea(
double* area,
vtkIdTypeArray* ids,
bool clearArray =
true);
210 int _FindClosestPointInRegion(
int leafNodeId,
double x,
double y,
211 double z,
double &dist2);
220 int FindClosestPointInSphere(
double x,
double y,
double z,
double radius,
221 int skipRegion,
double &dist2);