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(
const double p1[3],
const double p2[3],
double tol,
double& t,
119 double x[3],
double pcoords[3],
int& subId);
125 virtual int IntersectWithLine(
const double p1[3],
const double p2[3],
double tol,
double& t,
126 double x[3],
double pcoords[3],
int& subId,
vtkIdType& cellId);
133 virtual int IntersectWithLine(
const double p1[3],
const double p2[3],
double tol,
double& t,
148 virtual int IntersectWithLine(
156 virtual void FindClosestPoint(
157 const double x[3],
double closestPoint[3],
vtkIdType& cellId,
int& subId,
double& dist2);
170 virtual void FindClosestPoint(
const double x[3],
double closestPoint[3],
vtkGenericCell* cell,
171 vtkIdType& cellId,
int& subId,
double& dist2);
181 virtual vtkIdType FindClosestPointWithinRadius(
double x[3],
double radius,
double closestPoint[3],
182 vtkIdType& cellId,
int& subId,
double& dist2);
198 virtual vtkIdType FindClosestPointWithinRadius(
double x[3],
double radius,
double closestPoint[3],
217 virtual vtkIdType FindClosestPointWithinRadius(
double x[3],
double radius,
double closestPoint[3],
225 virtual void FindCellsWithinBounds(
double* bbox,
vtkIdList* cells);
234 virtual void FindCellsAlongLine(
235 const double p1[3],
const double p2[3],
double tolerance,
vtkIdList* cells);
249 double x[3],
double tol2,
vtkGenericCell* GenCell,
double pcoords[3],
double* weights);
256 virtual bool InsideCellBounds(
double x[3],
vtkIdType cell_ID);
270 virtual bool StoreCellBounds();
271 virtual void FreeCellBounds();
280 double (*CellBounds)[6];
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