[vtkusers] vtkBooleanOperationPolyDataFilter

Polly Pui polly_sukting at hotmail.com
Fri Mar 2 13:48:32 EST 2018



Hi Lorensen,
Thanks for your reply.
I will check it out.

By the way, do you have any idea on how i can invert the thresholded areas in Red image.
I extracted this result by using vtkthreshold, ThresholdByLower.
Is there any solution that i can show the areas that meet the criterion, instead of removing the areas?

Best,
Polly

________________________________
From: Bill Lorensen <bill.lorensen at gmail.com>
Sent: Thursday, March 1, 2018 10:16 PM
To: Polly Pui
Cc: vtkusers at vtk.org
Subject: Re: [vtkusers] vtkBooleanOperationPolyDataFilter

First, please use the new VTKExamples website:
https://lorensen.github.io/VTKExamples/site


The old wiki examples are no longer supported.

Take a look at this example:

https://lorensen.github.io/VTKExamples/site/Cxx/Meshes/FillHoles/
FillHoles - GitHub Pages<https://lorensen.github.io/VTKExamples/site/Cxx/Meshes/FillHoles/>
lorensen.github.io
Download and Build FillHoles¶ Click here to download FillHoles and its CMakeLists.txt file. Once the tarball FillHoles.tar has been downloaded and extracted,





On Wed, Feb 28, 2018 at 10:01 PM, Polly Pui <polly_sukting at hotmail.com<mailto:polly_sukting at hotmail.com>> wrote:

Hi,

I would like to obtain the areas which are removed in 'Red Image'.

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

VTK/Examples/Cxx/PolyData/BooleanOperationPolyDataFilter<https://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/BooleanOperationPolyDataFilter>
www.vtk.org
Download and Build BooleanOperationPolyDataFilter. Click here to download BooleanOperationPolyDataFilter. and its CMakeLists.txt file. Once the tarball ...




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?

[cid:447fa535-f257-4dc6-b3fc-6e3077cf35dd]


Thanks.


Best,

Polly

_______________________________________________
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:
https://vtk.org/mailman/listinfo/vtkusers
vtkusers Info Page - VTK - The Visualization Toolkit<https://vtk.org/mailman/listinfo/vtkusers>
vtk.org
To see the collection of prior postings to the list, visit the vtkusers Archives. Using vtkusers: To post a message to all the list members, send ...







--
Unpaid intern in BillsParadise at noware dot com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180302/1d9f1c4c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: boolean.jpg
Type: image/jpeg
Size: 29351 bytes
Desc: boolean.jpg
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180302/1d9f1c4c/attachment-0001.jpg>


More information about the vtkusers mailing list