 |
VTK
9.0.1
|
Go to the documentation of this file.
32 #ifndef vtkClosestPointStrategy_h
33 #define vtkClosestPointStrategy_h
36 #include "vtkCommonDataModelModule.h"
75 double tol2,
int& subId,
double pcoords[3],
double* weights)
override;
119 self->GetCell(cellId, gencell);
124 cell =
self->GetCell(cellId);
vtkCell * SelectCell(vtkPointSet *self, vtkIdType cellId, vtkCell *cell, vtkGenericCell *gencell)
Subclasses use this method to select the current cell.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
std::set< vtkIdType > VisitedCells
helper class to manage the vtkPointSet::FindCell() METHOD
abstract class to specify cell behavior
a simple class to control print indentation
implement a specific vtkPointSet::FindCell() strategy based on closest point
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
list of point or cell ids
abstract class for specifying dataset behavior
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.
abstract class to quickly locate points in 3-space
provides thread-safe access to cells
vtkAbstractPointLocator * PointLocator
virtual int Initialize(vtkPointSet *ps)
All subclasses of this class must provide an initialize method.