31 #ifndef vtkImplicitPolyDataDistance_h
32 #define vtkImplicitPolyDataDistance_h
34 #include "vtkFiltersCoreModule.h"
40 VTK_ABI_NAMESPACE_BEGIN
71 double EvaluateFunctionAndGetClosestPoint(
double x[3],
double closestPoint[3]);
86 vtkSetMacro(NoValue,
double);
87 vtkGetMacro(NoValue,
double);
95 vtkSetVector3Macro(NoGradient,
double);
96 vtkGetVector3Macro(NoGradient,
double);
104 vtkSetVector3Macro(NoClosestPoint,
double);
105 vtkGetVector3Macro(NoClosestPoint,
double);
112 vtkGetMacro(Tolerance,
double);
113 vtkSetMacro(Tolerance,
double);
123 void CreateDefaultLocator();
125 double SharedEvaluate(
double x[3],
double g[3],
double closestPoint[3]);
127 double NoGradient[3];
128 double NoClosestPoint[3];
142 VTK_ABI_NAMESPACE_END
abstract interface for implicit functions
virtual double EvaluateFunction(double x[3])=0
Evaluate function at position x-y-z and return value.
vtkTypeUInt32 vtkMTimeType
vtkSMPThreadLocalObject< vtkGenericCell > TLCell
concrete dataset represents vertices, lines, polygons, and triangle strips
virtual void EvaluateGradient(double x[3], double g[3])=0
Evaluate function gradient at position x-y-z and pass back vector.
octree-based spatial search object to quickly locate cells
a simple class to control print indentation
vtkMTimeType GetMTime() override
Overload standard modified time function.
Implicit function that computes the distance from a point x to the nearest point p on an input vtkPol...
vtkSMPThreadLocalObject< vtkIdList > TLCellIds
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.