[vtkusers] Re: [Insight-users] mesh hole filling

Sylvain Jaume sylvain.jaume at kitware.com
Wed Aug 22 13:20:51 EDT 2007


Hi Daniela,

vtkDelaunay3D will create tetrahedra. You want triangles, right?
So use vtkStripper and vtkAppendPolyData like I suggested in my previous 
email. Does that work? Did you succeed to extract the boundary edges 
with vtkFeatureEdges?

The pipeline should be:

  vtkFeatureEdges ->
  vtkStripper ->
  copy lines to polys ->
  vtkTriangleFilter ->
  vtkAppendPolyData

HTH,
Sylvain

Daniela Castelluccia wrote:
> Hi Sylvain,
> 
> vtkFeatureEdges work in this way:
> 
> [open .../.../file.vtk]
> 
> vtkFeatureEdges feature
> feature SetInput vtkTemp1492
> feature BoundaryEdgesOn
> feature FeatureEdgesOff
> feature NonManifoldEdgesOff
> feature ManifoldEdgesOn
> 
> ---> here I would select areas of boundaries and apply vtkDelaunay3D to
> fill them. Then I will append the result tu original polydata...
> 
> How can I clip predefined areas?
> 
> 
> daniela
> 
> 



More information about the vtkusers mailing list