19 #ifndef vtkCellLocatorStrategy_h
20 #define vtkCellLocatorStrategy_h
22 #include "vtkCommonDataModelModule.h"
25 VTK_ABI_NAMESPACE_BEGIN
54 double tol2,
int& subId,
double pcoords[3],
double* weights)
override;
virtual bool InsideCellBounds(double x[3], vtkIdType cellId)=0
Quickly test if a point is inside the bounds of a particular cell.
vtkAbstractCellLocator * CellLocator
virtual vtkIdType FindClosestPointWithinRadius(double x[3], double radius, double closestPoint[3], vtkGenericCell *cell, vtkIdType &cellId, int &subId, double &dist2, int &inside)=0
Return the closest point within a specified radius and the cell which is closest to the point x...
virtual void CopyParameters(vtkFindCellStrategy *from)
Copy essential parameters between instances of this class.
an abstract base class for locators which find cells
concrete class for storing a set of points
virtual int Initialize(vtkPointSet *ps)
All subclasses of this class must provide an initialize method.
provides thread-safe access to cells
helper class to manage the vtkPointSet::FindCell() METHOD
abstract class to specify cell behavior
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for type information and printing.
virtual vtkIdType FindCell(double x[3], vtkCell *cell, vtkGenericCell *gencell, vtkIdType cellId, double tol2, int &subId, double pcoords[3], double *weights)=0
Virtual method for finding a cell.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
implement a specific vtkPointSet::FindCell() strategy based on using a cell locator ...