<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt"><div><span>You just have to replace the current vtkImplicitPolyDataDistance files with mine and recompile VTK.</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal; "><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal; "><span>Note that the result is not perfect since it increases the computation time for big meshes. Anyway, it works.</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal; "><span>I'm hoping that some of the initial
developers will come back to this bug and find a better solution.</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal; "><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal; "><span>Best.</span></div><div><br></div> <div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; "> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1"> <b><span style="font-weight:bold;">De :</span></b> Jon Haitz Legarreta <jhlegarreta@vicomtech.org><br> <b><span style="font-weight: bold;">À :</span></b> Malsoaz James <jmalsoaz@yahoo.fr> <br><b><span
style="font-weight: bold;">Cc :</span></b> "vtkusers@vtk.org" <vtkusers@vtk.org> <br> <b><span style="font-weight: bold;">Envoyé le :</span></b> Lundi 8 octobre 2012 11h13<br> <b><span style="font-weight: bold;">Objet :</span></b> Re: [vtkusers] Boolean operations with tubeFilters partially hide geometry<br> </font> </div> <br><div id="yiv1549176168">Dear James,<br>thank you for the tips.<br><br>I am trying to figure out if your vtkImplicitPolyDataDistance class contribution would help me somehow solve the issue. <br><br>Would you be able to post some simple example on how to use it?<br>
<br>Thank you.<br>JON HAITZ<br><br><br><br><br><div class="yiv1549176168gmail_quote">On 1 October 2012 10:41, Malsoaz James <span dir="ltr"><<a rel="nofollow" ymailto="mailto:jmalsoaz@yahoo.fr" target="_blank" href="mailto:jmalsoaz@yahoo.fr">jmalsoaz@yahoo.fr</a>></span> wrote:<br>
<blockquote class="yiv1549176168gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-size: 10pt; font-family: 'Courier New', courier, monaco, monospace, sans-serif; "><div><span><div><font>Hi,</font></div>
<div><font><br></font></div><div><span style="font-size:13px;">You should be aware that the vtkBooleanOperationPolyDataFilter has several bugs. </span><br></div><div><font>You can find information about it on previous threads:</font></div>
<div><font><a rel="nofollow" target="_blank" href="http://vtk.1045678.n5.nabble.com/PolyData-Boolean-operation-problem-td5714926.html">http://vtk.1045678.n5.nabble.com/PolyData-Boolean-operation-problem-td5714926.html</a></font></div><div>
<font><a rel="nofollow" target="_blank" href="http://vtk.1045678.n5.nabble.com/Holes-in-mesh-after-vtkBooleanOperationPolyDataFilter-td5713284.html">http://vtk.1045678.n5.nabble.com/Holes-in-mesh-after-vtkBooleanOperationPolyDataFilter-td5713284.html</a></font></div>
<div><br></div><div><font>Best</font></div><div><font>James</font></div></span></div><div><br></div> <div style="font-size:10pt;"> <div> <div dir="ltr">
<font face="Arial"> <hr size="1"> <b><span style="font-weight:bold;">De :</span></b> Jon Haitz Legarreta <<a rel="nofollow" ymailto="mailto:jhlegarreta@vicomtech.org" target="_blank" href="mailto:jhlegarreta@vicomtech.org">jhlegarreta@vicomtech.org</a>><br> <b><span style="font-weight:bold;">À :</span></b> <a rel="nofollow" ymailto="mailto:vtkusers@vtk.org" target="_blank" href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a> <br>
<b><span style="font-weight:bold;">Envoyé le :</span></b> Mercredi 26 septembre 2012 17h48<br> <b><span style="font-weight:bold;">Objet :</span></b> [vtkusers] Boolean operations with tubeFilters partially hide geometry<br>
</font> </div><div><div class="yiv1549176168h5"> <br><div>Hi there,<br>I am facing some problems with a boolean filter (vtkBooleanOperationPolyDataFilter) applied to a pair of vtkTubeFilter. The thing is that for my application the vtkTubeFilterfits better than a vtkCylinderSource. Besides, I want the capping property of the tubeFilter to be off.<br>
<br>I use a vtkTriangleFilter in order to transform the tubeFilters into objects that the boolean filter can deal with.<br><br>When performing an intersection boolean operation, it seems like capping is necessary in order to get acceptable results. However, since I cannot erase the cap to the actor yielded by the boolean operator, this is not a good solution.<br>
<br>On the other hand, I can give some "thickness" to the tubeFilter by creating an "inner" tubeFilter and then applying the difference boolean operator. <br><br>However, then the problem is that the inner wall of the resulting actor seems not to have a geometry. Or at least it is not shown. <br>
<br>Setting the backfaceculling property on does not change things.<br><br>I have attached some images in order to clarify things.<br><br>Any guess?<br><br>Thank you,<br>JON HAITZ<br><br><br>
</div><br></div></div>_______________________________________________<br>Powered by <a rel="nofollow" target="_blank" href="http://www.kitware.com/">www.kitware.com</a><br><br>Visit other Kitware open-source projects at <a rel="nofollow" target="_blank" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>
<br>Please keep messages on-topic and check the VTK FAQ at: <a rel="nofollow" target="_blank" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a rel="nofollow" target="_blank" href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br><br> </div> </div> </div></div></blockquote></div><br>
</div><br><br> </div> </div> </div></body></html>