94 #ifndef vtkDelaunay3D_h
95 #define vtkDelaunay3D_h
97 #include "vtkFiltersCoreModule.h"
130 vtkGetMacro(Alpha,
double);
175 vtkSetClampMacro(Tolerance,
double, 0.0, 1.0);
176 vtkGetMacro(Tolerance,
double);
185 vtkGetMacro(Offset,
double);
262 vtkSetMacro(OutputPointsPrecision,
int);
263 vtkGetMacro(OutputPointsPrecision,
int);
create 3D Delaunay triangulation of input points
void CreateDefaultLocator()
Create default locator.
static vtkDelaunay3D * New()
Construct object with Alpha = 0.0; Tolerance = 0.001; Offset = 2.5; BoundingTriangulation turned off.
~vtkDelaunay3D() override
int InSphere(double x[3], vtkIdType tetraId)
vtkMTimeType GetMTime() override
Return the MTime also considering the locator.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FindTetra(vtkUnstructuredGrid *Mesh, double x[3], vtkIdType tetId, int depth)
vtkIdType FindEnclosingFaces(double x[3], vtkUnstructuredGrid *Mesh, vtkIdList *tetras, vtkIdList *faces, vtkIncrementalPointLocator *Locator)
vtkTetraArray * TetraArray
void EndPointInsertion()
Invoke this method after all points have been inserted.
int OutputPointsPrecision
vtkUnstructuredGrid * InitPointInsertion(double center[3], double length, vtkIdType numPts, vtkPoints *&pts)
This is a helper method used with InsertPoint() to create tetrahedronalizations of points.
int NumberOfDuplicatePoints
void InsertTetra(vtkUnstructuredGrid *Mesh, vtkPoints *pts, vtkIdType tetraId)
vtkIncrementalPointLocator * Locator
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
void SetLocator(vtkIncrementalPointLocator *locator)
Set / get a spatial locator for merging points.
vtkTypeBool BoundingTriangulation
void InsertPoint(vtkUnstructuredGrid *Mesh, vtkPoints *points, vtkIdType id, double x[3], vtkIdList *holeTetras)
This is a helper method used with InitPointInsertion() to create tetrahedronalizations of points.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
list of point or cell ids
Abstract class in support of both point location and point insertion.
a simple class to control print indentation
quickly locate points in 3-space
abstract class for specifying dataset behavior
represent and manipulate 3D points
Superclass for algorithms that produce only unstructured grid as output.
dataset represents arbitrary combinations of all possible cell types
vtkTypeUInt32 vtkMTimeType