[vtkusers] vtkBooleanOperationPolyDataFilter creates non-manifold edges

Andras Lasso lasso at queensu.ca
Mon May 16 19:31:52 EDT 2016


Yes, those examples are good starting points. You can use image math filter to compute min/max (intersection/union) and create mesh from image using contour filter.



Andras



From: normanius<mailto:juch at zhaw.ch>
Sent: May 16, 2016 18:27
To: vtkusers at vtk.org<mailto:vtkusers at vtk.org>
Subject: Re: [vtkusers] vtkBooleanOperationPolyDataFilter creates non-manifold edges



Hi Andras,
Hi Cory

Thanks for your answers.

@Andras: Do you mean poly-data to image conversion like  this
<http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/PolyDataToImageData>  ?
Haven't ever used image data in vtk. Could you briefly sketch how to apply
boolean operations on (3d) image data and how to generate a mesh from that.
I guess  this
<http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/PolyDataToImageData>
example is a starting point, right?

@Cory: Wow, I can't wait for vtkBooleanOperationPolyDataFilter2. I checked
out that branch updega2/vtk-new_intersection, but could not see any
difference with the output. Is there something special I need to do to
enable Adam's new filter? (Because there is no class named
vtkBooleanOperationPolyDataFilter2, I assumed that the former
vtkBooleanOperationPolyDataFilter was re-written.)

As an alternative to vtkBooleanOperationPolyDataFilter: I sometimes use
vtkImplicitFunction (vtkCylinder, vtkSphere, etc.), combine them with
vtkImplicitBoolean and sample then with vtkSampleFunction. This is not
always practicable however, because one gets visible artefacts on the
borders, and also the meshes get quite large. (The work-around for the
latter is to apply triangle decimation, see vtkDecimatePro).



--
View this message in context: http://vtk.1045678.n5.nabble.com/vtkBooleanOperationPolyDataFilter-creates-non-manifold-edges-tp5738088p5738108.html
Sent from the VTK - Users mailing list archive at Nabble.com.
_______________________________________________
Powered by www.kitware.com<http://www.kitware.com>

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160516/4ad75854/attachment-0001.html>


More information about the vtkusers mailing list