39 #ifndef __vtkOctreePointLocator_h
40 #define __vtkOctreePointLocator_h
42 #include "vtkCommonDataModelModule.h"
61 vtkSetMacro(MaximumPointsPerRegion,
int);
62 vtkGetMacro(MaximumPointsPerRegion,
int);
67 vtkSetMacro(CreateCubicOctants,
int);
68 vtkGetMacro(CreateCubicOctants,
int);
76 vtkGetMacro(FudgeFactor,
double);
77 vtkSetMacro(FudgeFactor,
double);
89 vtkGetMacro(NumberOfLeafNodes,
int);
93 void GetRegionBounds(
int regionID,
double bounds[6]);
96 void GetRegionDataBounds(
int leafNodeID,
double bounds[6]);
99 int GetRegionContainingPoint(
double x,
double y,
double z);
118 double radius,
const double x[3],
double& dist2);
125 vtkIdType FindClosestPointInRegion(
int regionId,
double *x,
double &dist2);
126 vtkIdType FindClosestPointInRegion(
int regionId,
double x,
double y,
127 double z,
double &dist2);
159 void FindPointsInArea(
double* area,
vtkIdTypeArray* ids,
bool clearArray =
true);
211 int _FindClosestPointInRegion(
int leafNodeId,
double x,
double y,
212 double z,
double &dist2);
221 int FindClosestPointInSphere(
double x,
double y,
double z,
double radius,
222 int skipRegion,
double &dist2);