29 #ifndef vtkClosestNPointsStrategy_h 30 #define vtkClosestNPointsStrategy_h 33 #include "vtkCommonDataModelModule.h" 58 double tol2,
int& subId,
double pcoords[3],
double* weights)
override;
64 vtkSetClampMacro(ClosestNPoints,
int, 1, 100);
65 vtkGetMacro(ClosestNPoints,
int);
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
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).
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.