20#ifndef vtkClosestNPointsStrategy_h 
   21#define vtkClosestNPointsStrategy_h 
   24#include "vtkCommonDataModelModule.h"  
   26VTK_ABI_NAMESPACE_BEGIN
 
   50    double tol2, 
int& subId, 
double pcoords[3], 
double* weights) 
override;
 
   56  vtkSetClampMacro(ClosestNPoints, 
int, 1, 100);
 
   57  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.
 
void CopyParameters(vtkFindCellStrategy *from) override
Copy essential parameters between instances of this class.
 
~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).
 
helper class to manage the vtkPointSet::FindCell() METHOD
 
provides thread-safe access to cells
 
a simple class to control print indentation