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);
abstract class to specify cell behavior
implement a specific vtkPointSet::FindCell() strategy based on the N closest points
static vtkClosestNPointsStrategy * New()
Construct a vtkFindCellStrategy subclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for type information and printing.
~vtkClosestNPointsStrategy() override
vtkClosestNPointsStrategy()
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
int Initialize(vtkPointSet *ps) override
Provide the necessary initialization method (see superclass for more information).
provides thread-safe access to cells
a simple class to control print indentation