[vtkusers] vtkBooleanOperationPolyDataFilter creates non-manifold edges

normanius juch at zhaw.ch
Mon May 16 18:26:27 EDT 2016


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.


More information about the vtkusers mailing list