 |
VTK
9.1.0
|
Go to the documentation of this file.
37 #ifndef vtkAbstractCellLocator_h
38 #define vtkAbstractCellLocator_h
40 #include "vtkCommonDataModelModule.h"
62 vtkGetMacro(NumberOfCellsPerNode,
int);
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],
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);
280 double (*CellBounds)[6];
represent and manipulate 3D points
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTypeBool CacheCellBounds
virtual void FreeCellBounds()
This command is used internally by the locator to copy all cell Bounds into the internal CellBounds a...
virtual void FindCellsAlongLine(const double p1[3], const double p2[3], double tolerance, vtkIdList *cells)
Given a finite line defined by the two points (p1,p2), return the list of unique cell ids in the buck...
vtkTypeBool RetainCellLists
virtual bool StoreCellBounds()
This command is used internally by the locator to copy all cell Bounds into the internal CellBounds a...
virtual void FindCellsWithinBounds(double *bbox, vtkIdList *cells)
Return a list of unique cell ids inside of a given bounding box.
~vtkAbstractCellLocator() override
abstract base class for objects that accelerate spatial searches
vtkTypeBool UseExistingSearchStructure
virtual bool InsideCellBounds(double x[3], vtkIdType cell_ID)
Quickly test if a point is inside the bounds of a particular cell.
a simple class to control print indentation
object to represent cell connectivity
list of point or cell ids
vtkGenericCell * GenericCell
an abstract base class for locators which find cells
provides thread-safe access to cells
vtkTypeBool LazyEvaluation