[vtkusers] avoiding/removing non-manifold parts from the result of vtkMarchingCubes

Dr. Roman Grothausmann grothausmann.roman at mh-hannover.de
Fri Aug 2 08:23:21 EDT 2013


Dear mailing list members,


Recently, I came across a voxel-dataset that when meshed with vtkMarchingCubes 
results in a mesh that contains non-manifold edges (magenta line in attached 
image).
How can this be avoided?
Using paraview's contour filter and switching off "Generate Triangles" creates a 
slightly different surface mesh that does not contain non-manifold edges. 
However vtkMarchingCubes does not seem to have any option concerning triangulation.
What filter/option do I have to use to get the same result just with pure VTK?

As a workaround: Is it possible to split the mesh at non-manifold edges? 
vtkIntersectionPolyDataFilter sounds promising but seems to need surfaces not 
just the edges.

Any help or hints are very much appreciated
Roman

-- 
Dr. Roman Grothausmann

Tomographie und Digitale Bildverarbeitung
Tomography and Digital Image Analysis

Institut für Funktionelle und Angewandte Anatomie, OE 4120
Medizinische Hochschule Hannover
Carl-Neuberg-Str. 1
D-30625 Hannover

Tel. +49 511 532-9574
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SLOT_08_02_02.png
Type: image/png
Size: 174937 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130802/471444e5/attachment.png>


More information about the vtkusers mailing list