31#ifndef vtkImplicitProjectOnPlaneDistance_h
32#define vtkImplicitProjectOnPlaneDistance_h
37#include "vtkFiltersCoreModule.h"
86 vtkGetMacro(Tolerance,
double);
87 vtkSetMacro(Tolerance,
double);
102#ifndef __VTK_WRAP_JAVA__
an abstract base class for locators which find cells
provides thread-safe access to cells
abstract interface for implicit functions
virtual double EvaluateFunction(double x[3])=0
Evaluate function at position x-y-z and return value.
This class recieve a plannar polygon as input.
vtkSmartPointer< vtkPlane > ProjectionPlane
void SetInput(vtkPolyData *input)
Set the input vtkPolyData used for the implicit function evaluation.
vtkSmartPointer< vtkPolyData > Input
vtkImplicitProjectOnPlaneDistance()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkImplicitProjectOnPlaneDistance * New()
vtkMTimeType GetMTime() override
Return the MTime also considering the Input dependency.
vtkSmartPointer< vtkGenericCell > UnusedCell
vtkSmartPointer< vtkAbstractCellLocator > Locator
void CreateDefaultLocator(void)
Create a default locator (vtkStaticCellLocator).
vtkSetSmartPointerMacro(Locator, vtkAbstractCellLocator)
Set/get the Locator used by to compute the distance.
vtkGetSmartPointerMacro(Locator, vtkAbstractCellLocator)
Set/get the Locator used by to compute the distance.
~vtkImplicitProjectOnPlaneDistance() override=default
double EvaluateFunction(double x[3]) override
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].
void SetNorm(NormType n)
Set the norm to use: L0: 0 when the projection is inside the input polygon, 1 otherwise L2: Euclidean...
NormType GetNorm() const
Set the norm to use: L0: 0 when the projection is inside the input polygon, 1 otherwise L2: Euclidean...
void SetNorm(int n)
Set the norm to use: L0: 0 when the projection is inside the input polygon, 1 otherwise L2: Euclidean...
a simple class to control print indentation
virtual void Modified()
Update the modification time for this object.
perform various plane computations
concrete dataset represents vertices, lines, polygons, and triangle strips
Hold a reference to a vtkObjectBase instance.
vtkTypeUInt32 vtkMTimeType