Go to the documentation of this file.
42 #ifndef vtkImplicitPolyDataDistance_h
43 #define vtkImplicitPolyDataDistance_h
45 #include "vtkFiltersCoreModule.h"
92 vtkSetMacro(NoValue,
double);
93 vtkGetMacro(NoValue,
double);
101 vtkSetVector3Macro(NoGradient,
double);
102 vtkGetVector3Macro(NoGradient,
double);
110 vtkSetVector3Macro(NoClosestPoint,
double);
111 vtkGetVector3Macro(NoClosestPoint,
double);
118 vtkGetMacro(Tolerance,
double);
119 vtkSetMacro(Tolerance,
double);
133 double NoGradient[3];
134 double NoClosestPoint[3];
octree-based spatial search object to quickly locate cells
double EvaluateFunction(double x[3]) override
Evaluate function at position x-y-z and return value.
static vtkImplicitPolyDataDistance * New()
virtual double EvaluateFunction(double x[3])=0
Evaluate function at position x-y-z and return value.
void EvaluateGradient(double x[3], double g[3]) override
Evaluate function gradient of nearest triangle to point x[3].
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...
abstract interface for implicit functions
void SetInput(vtkPolyData *input)
Set the input vtkPolyData used for the implicit function evaluation.
a simple class to control print indentation
double SharedEvaluate(double x[3], double g[3], double p[3])
vtkImplicitPolyDataDistance()
vtkMTimeType GetMTime() override
Return the MTime also considering the Input dependency.
concrete dataset represents vertices, lines, polygons, and triangle strips
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkImplicitPolyDataDistance() override
void CreateDefaultLocator(void)
Create default locator.
vtkTypeUInt32 vtkMTimeType