17 #ifndef vtkClosestNPointsStrategy_h
18 #define vtkClosestNPointsStrategy_h
21 #include "vtkCommonDataModelModule.h"
24 VTK_ABI_NAMESPACE_BEGIN
57 double tol2,
int& subId,
double pcoords[3],
double* weights)
override;
63 vtkSetClampMacro(ClosestNPoints,
int, 1, 100);
64 vtkGetMacro(ClosestNPoints,
int);
point locator adaptor to perform cell Location using the jump and walk approach
vtkIdType FindCell(double x[3], vtkCell *cell, vtkGenericCell *gencell, vtkIdType cellId, double tol2, int &subId, double pcoords[3], double *weights) override
Implement the specific strategy.
implement a specific vtkPointSet::FindCell() strategy based on closest point
static vtkClosestPointStrategy * New()
Construct a vtkFindCellStrategy subclass.
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
int Initialize(vtkPointSet *ps) override
Provide the necessary initialization method (see superclass for more information).
void CopyParameters(vtkFindCellStrategy *from) override
Copy essential parameters between instances of this class.
implement a specific vtkPointSet::FindCell() strategy based on the N closest points ...
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for type information and printing.
#define VTK_DEPRECATED_IN_9_7_0(reason)
vtkSmartPointer< vtkAbstractCellLocator > ConvertToCellLocator() override
Convert FindCellStrategy to cellLocator.