[vtkusers] vtkBooleanOperationPolyDataFilter

Cory Quammen cory.quammen at kitware.com
Thu Mar 1 08:01:03 EST 2018


On Thu, Mar 1, 2018 at 1:01 AM, Polly Pui <polly_sukting at hotmail.com> wrote:

> Hi,
>
> I would like to obtain the areas which are removed in 'Red Image'.
>
Couldn't you invert the threshold operation to produce those areas instead
of the red surface?

> Green image is original data and Red image is the thresholded data.
>
> I applied "union operation" in order to get the areas. I used the code
> given in https://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/
> BooleanOperationPolyDataFilter
>
The boolean operation filter won't work in this case because it does not
handle boolean operations on overlapping surfaces.

HTH,
Cory

> But the areas that I wanted couldn't be shown completely in grey image.
> The polygons are not connected.
>
> Any suggestion on how can I improve this?
>
>
>
> Thanks.
>
> Best,
>
> Polly
>
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> https://vtk.org/mailman/listinfo/vtkusers
>
>


-- 
Cory Quammen
Staff R&D Engineer
Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180301/feb6e1ab/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: boolean.jpg
Type: image/jpeg
Size: 29351 bytes
Desc: not available
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180301/feb6e1ab/attachment.jpg>


More information about the vtkusers mailing list