70#ifndef vtkImplicitPolyDataDistance_h
71#define vtkImplicitPolyDataDistance_h
73#include "vtkFiltersCoreModule.h"
78VTK_ABI_NAMESPACE_BEGIN
124 vtkSetMacro(NoValue,
double);
125 vtkGetMacro(NoValue,
double);
133 vtkSetVector3Macro(NoGradient,
double);
134 vtkGetVector3Macro(NoGradient,
double);
142 vtkSetVector3Macro(NoClosestPoint,
double);
143 vtkGetVector3Macro(NoClosestPoint,
double);
150 vtkGetMacro(Tolerance,
double);
151 vtkSetMacro(Tolerance,
double);
165 double NoGradient[3];
166 double NoClosestPoint[3];
octree-based spatial search object to quickly locate cells
abstract interface for implicit functions
virtual double EvaluateFunction(double x[3])=0
Evaluate function at position x-y-z and return value.
Implicit function that computes the distance from a point x to the nearest point p on an input vtkPol...
vtkMTimeType GetMTime() override
Return the MTime also considering the Input dependency.
void SetInput(vtkPolyData *input)
Set the input vtkPolyData used for the implicit function evaluation.
double EvaluateFunctionAndGetClosestPoint(double x[3], double closestPoint[3])
Evaluate plane equation of nearest triangle to point x[3] and provides closest point on an input vtkP...
double SharedEvaluate(double x[3], double g[3], double closestPoint[3])
vtkSMPThreadLocalObject< vtkGenericCell > TLCell
void CreateDefaultLocator()
Create default locator.
void EvaluateGradient(double x[3], double g[3]) override
Evaluate function gradient of nearest triangle to point x[3].
~vtkImplicitPolyDataDistance() override
vtkImplicitPolyDataDistance()
static vtkImplicitPolyDataDistance * New()
vtkSMPThreadLocalObject< vtkIdList > TLCellIds
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
double EvaluateFunction(double x[3]) override
Evaluate function at position x-y-z and return value.
a simple class to control print indentation
concrete dataset represents vertices, lines, polygons, and triangle strips
Thread local storage for VTK objects.
vtkTypeUInt32 vtkMTimeType