<div><div class="gmail_quote">On Thu, Sep 30, 2010 at 9:13 AM, Laurent <span dir="ltr"><<a href="mailto:l.paul@uclouvain.be">l.paul@uclouvain.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
This is an update of my findings...<br>
<br>
It appears that the clipping is well performed on my polydata.<br>
Unfortunately, the SuperQuadricSource that I see is not exactly the same as<br>
the SuperquadricImplicitFunction. The difference is resolution dependant, I<br>
mean that if I lower the resolution of the SuperQuadricSource, its topology<br>
changes and so, I don't get the same difference.<br>
<br>
Thus, Which one is wrong?<br>
Any of them. I have to consider the Source and the ImplicitFunction as two<br>
different objects, and cannot use both of them for display AND for clipping.<br>
<br>
I am surprised of not finding a class that computes the intersection between<br>
two PolyDatas. I'll try to write one.<br>
<br>
If someone knows a vtk class that is able to do a similar job, thanks to<br>
communicate it!<br>
<br>
Laurent.<br><br></blockquote><div><br></div>Laurent,<div><br></div><div>Bryn has written such a class: <a href="http://www.midasjournal.org/browse/publication/726">http://www.midasjournal.org/browse/publication/726</a></div>
<div><br></div><div>It relies on GTS, but it works very well.</div><div><br></div><div>There is also <a href="http://sourceforge.net/projects/vtkbioeng/">http://sourceforge.net/projects/vtkbioeng/</a> which has a collisionDetection filter that may be worth looking at.</div>
<div><br></div><div>David</div></div></div>