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