37 #ifndef vtkAbstractCellLocator_h 38 #define vtkAbstractCellLocator_h 40 #include "vtkCommonDataModelModule.h" 61 vtkSetClampMacro(NumberOfCellsPerNode,
int,1,
VTK_INT_MAX);
62 vtkGetMacro(NumberOfCellsPerNode,
int);
109 vtkSetMacro(UseExistingSearchStructure,
vtkTypeBool);
110 vtkGetMacro(UseExistingSearchStructure,
vtkTypeBool);
111 vtkBooleanMacro(UseExistingSearchStructure,
vtkTypeBool);
118 virtual int IntersectWithLine(
119 double p1[3],
double p2[3],
double tol,
double& t,
double x[3],
120 double pcoords[3],
int &subId);
126 virtual int IntersectWithLine(
127 double p1[3],
double p2[3],
double tol,
double& t,
double x[3],
128 double pcoords[3],
int &subId,
vtkIdType &cellId);
135 virtual int IntersectWithLine(
136 double p1[3],
double p2[3],
double tol,
double& t,
double x[3],
151 virtual int IntersectWithLine(
152 const double p1[3],
const double p2[3],
160 virtual void FindClosestPoint(
161 double x[3],
double closestPoint[3],
162 vtkIdType &cellId,
int &subId,
double& dist2);
175 virtual void FindClosestPoint(
176 double x[3],
double closestPoint[3],
178 int &subId,
double& dist2);
188 virtual vtkIdType FindClosestPointWithinRadius(
189 double x[3],
double radius,
190 double closestPoint[3],
vtkIdType &cellId,
191 int &subId,
double& dist2);
207 virtual vtkIdType FindClosestPointWithinRadius(
208 double x[3],
double radius,
209 double closestPoint[3],
211 int &subId,
double& dist2);
229 virtual vtkIdType FindClosestPointWithinRadius(
230 double x[3],
double radius,
231 double closestPoint[3],
233 int &subId,
double& dist2,
int &inside);
240 virtual void FindCellsWithinBounds(
double *bbox,
vtkIdList *cells);
249 virtual void FindCellsAlongLine(
250 double p1[3],
double p2[3],
double tolerance,
vtkIdList *cells);
265 double pcoords[3],
double *weights);
272 virtual bool InsideCellBounds(
double x[3],
vtkIdType cell_ID);
286 virtual bool StoreCellBounds();
287 virtual void FreeCellBounds();
an abstract base class for locators which find cells
abstract base class for objects that accelerate spatial searches
void PrintSelf(ostream &os, vtkIndent indent) override
Standard type and print methods.
vtkTypeBool LazyEvaluation
vtkTypeBool CacheCellBounds
vtkGenericCell * GenericCell
provides thread-safe access to cells
a simple class to control print indentation
list of point or cell ids
object to represent cell connectivity
vtkTypeBool UseExistingSearchStructure
vtkTypeBool RetainCellLists
represent and manipulate 3D points