vmtkdelaunayvoronoi

Description

calculate the delaunay tesellation, voronoi diagram, and voronoi poleIds of an input surface

Input arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdstr10script id
handleSelfself1handle to self
disabledDisabledbool10disable execution and piping
iSurfacevtkPolyData1the input surface
ifileSurfaceInputFileNamestr1filename for the default Surface reader
nonmanifoldcheckCheckNonManifoldbool10toggle checking the surface for non-manifold edges
flipnormalsFlipNormalsbool10flip normals after outward normal computation; outward oriented normals must be computed for the removal of outer tetrahedra; the algorithm might fail so for weird geometries, so changing this might solve the problem
capdisplacementCapDisplacementfloat10.0displacement of the center points of caps at open profiles along their normals (avoids the creation of degenerate tetrahedra)
delaunaytoleranceDelaunayTolerancefloat10.001tolerance for evaluating coincident points during Delaunay tessellation, evaluated as a fraction of the bounding box
radiusarrayRadiusArrayNamestr1MaximumInscribedSphereRadiusname of the array where radius values of maximal inscribed spheres have to be stored
delaunaytessellationDelaunayTessellationvtkUnstructuredGrid1optional input Delaunay tessellation
removesubresolutionRemoveSubresolutionTetrahedrabool10toggle removal of subresolution tetrahedra from Delaunay tessellation
subresolutionfactorSubresolutionFactorfloat1(0.0,)1.0factor for removal of subresolution tetrahedra, expressing the size of the circumsphere relative to the local edge length size of surface triangles
simplifyvoronoiSimplifyVoronoibool10toggle simplification of Voronoi diagram
usetetgenUseTetGenbool10toggle use TetGen to compute Delaunay tessellation
tetgendetectinterTetGenDetectInterbool11TetGen option
delaunaytessellationfileDelaunayTessellationOutputFileNamestr1filename for the default DelaunayTessellation writer
voronoidiagramfileVoronoiDiagramOutputFileNamestr1filename for the default VoronoiDiagram writer
omeshfileMeshOutputFileNamestr1filename for the default Mesh writer
osurfacefileSurfaceOutputFileNamestr1filename for the default Surface writer

Output arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdstr10script id
handleSelfself1handle to self
radiusarrayRadiusArrayNamestr1MaximumInscribedSphereRadiusname of the array where radius values of maximal inscribed spheres are stored
delaunaytessellationDelaunayTessellationvtkUnstructuredGrid1
voronoidiagramVoronoiDiagramvtkPolyData1
omeshMeshvtkUnstructuredGrid1conveniently named DelaunayTessellation output
osurfaceSurfacevtkPolyData1conveniently named VoronoiDiagram output
poleidsPoleIdsvtkIdList1