[vtkusers] Trying to perform boolean union between more than two polydatas

Cory Quammen cquammen at cs.unc.edu
Thu Mar 14 09:58:42 EDT 2013


You could use one instance of the vtkBooleanOperationPolyDataFilter to
compute the union of two of your poly data, then a second instance of
the boolean operation filter to compute the union of the output from
the first boolean operation filter with the third poly data, and so
on.

- Cory

On Thu, Mar 14, 2013 at 6:16 AM, reaper84 <sankowski at gmail.com> wrote:
> Hi all VTK users,
>
> I'm trying to combine couple of polydatas to boolean union. I've tried
> vtkBooleanOperationPolyDataFilter and it worked great but only with two
> polydatas (i found out that vtkBooleanOperationPolyDataFilter  has this
> limitation after using it). After that I found example(
> http://http://www.itk.org/Wiki/VTK/Examples/Cxx/Filtering/ImplicitBoolean
> <http://www.itk.org/Wiki/VTK/Examples/Cxx/Filtering/ImplicitBoolean>  ) with
> vtkImplicitBoolean, added one more sphere and it worked. This is what I
> need, but unfortunattely this class require implicit funtion as input and my
> polydata is far from it. I checked if there is a way to convert polydata to
> implicit function but after reading some posts I couldn't find an answer.
> I'll really appreciate some help...for now I'm stuck :/
>
>
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/Trying-to-perform-boolean-union-between-more-than-two-polydatas-tp5719330.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers



--
Cory Quammen
Research Associate
Department of Computer Science
The University of North Carolina at Chapel Hill



More information about the vtkusers mailing list