[vtkusers] vtkBooleanOperationPolyDataFilter crashes while trying to intersect 2 vtkTubeFilter outputs

Andras Lasso lasso at queensu.ca
Sun Apr 1 13:31:05 EDT 2018


I think Boolean mesh operations are the only filters in VTK that are broken - randomly produce somewhat incorrect results and sometimes cause crash. There were attempts in the past to fix them, but the task proved to be too difficult for everybody.

If you clean the inputs and/or slightly dislocate them then you might get correct results. If you need a VTK-based solution that works for any input mesh then you can convert meshes to binary images, perform the Boolean operation on the images, and convert the result to mesh.

Andras

________________________________
From: alican <alican1812 at hotmail.com>
Sent: Sunday, April 1, 2018 10:45 AM
To: vtkusers at vtk.org
Subject: Re: [vtkusers] vtkBooleanOperationPolyDataFilter crashes while trying to intersect 2 vtkTubeFilter outputs

Thanks for answering my question.
I am already using vtkTriangleFilter and vtkButterflySubdivisionFilter to
get fine triangle cells.
Unfortunately, it didn't help.



--
Sent from: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fvtk.1045678.n5.nabble.com%2FVTK-Users-f1224199.html&data=02%7C01%7Classo%40queensu.ca%7C0f5fade427bd4e5ebfc908d597df4051%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636581907467177456&sdata=5KFNfyY8dXcMTkGPPkfWtmS9Kjgktzb0GdruZugnC%2Fk%3D&reserved=0
_______________________________________________
Powered by https://na01.safelinks.protection.outlook.com/?url=www.kitware.com&data=02%7C01%7Classo%40queensu.ca%7C0f5fade427bd4e5ebfc908d597df4051%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636581907467177456&sdata=I8mZtjSWDYzIYNY%2FnuIKHUr6HTSFoZ%2FoPXtpL0Ywfcs%3D&reserved=0

Visit other Kitware open-source projects at https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com%2Fopensource%2Fopensource.html&data=02%7C01%7Classo%40queensu.ca%7C0f5fade427bd4e5ebfc908d597df4051%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636581907467177456&sdata=Ui%2Fd16whWvIC7Rn5V4YST9yl432ZuRyll6bTwvxd1%2BU%3D&reserved=0

Please keep messages on-topic and check the VTK FAQ at: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.vtk.org%2FWiki%2FVTK_FAQ&data=02%7C01%7Classo%40queensu.ca%7C0f5fade427bd4e5ebfc908d597df4051%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636581907467177456&sdata=2%2FR2GSSW80%2FzFztiT9G2WiZpHwlbzh4XV98OYsDnEDY%3D&reserved=0

Search the list archives at: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmarkmail.org%2Fsearch%2F%3Fq%3Dvtkusers&data=02%7C01%7Classo%40queensu.ca%7C0f5fade427bd4e5ebfc908d597df4051%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636581907467177456&sdata=OxKRkbMsVT4B%2FWwaSXqnRk%2Fdd2mA2S3y1%2FYZsxuc%2FTc%3D&reserved=0

Follow this link to subscribe/unsubscribe:
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fvtk.org%2Fmailman%2Flistinfo%2Fvtkusers&data=02%7C01%7Classo%40queensu.ca%7C0f5fade427bd4e5ebfc908d597df4051%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636581907467177456&sdata=ajtTkUW%2F2JHXy0w8MjW8eh9PIodA5vbb5tqg1ZHKnbo%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180401/4af4a474/attachment.html>


More information about the vtkusers mailing list