<div dir="ltr">Hi Normanius,<div><br></div><div>When a vtkPlaneCollection is used for clipping, the clipping is done once for each plane (so if there are six planes, then the data is clipped six times). In general, you can always combine implicit functions in this way: clip the data with each function (keeping both the "inside" part and the "outside" part), and then use a boolean to combine the data pieces back together again. By properly merging points when combining the pieces back together, it's possible to do this seamlessly even for "or" operations.</div><div><br></div><div> - David</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 8, 2016 at 3:36 AM, normanius <span dir="ltr"><<a href="mailto:juch@zhaw.ch" target="_blank">juch@zhaw.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi David<br>
<br>
Thanks for the suggestions. I completely understand your concerns regarding<br>
complexity and difficulties to implement my suggestions properly. I don't<br>
know VTK so well to write my own algorithm, my hack was the most feasible<br>
way to go, given the resources.<br>
<br>
I had a look at vtkClosedSurfaceClipping - good work. It will serve me as a<br>
source of inspiration. Thanks for the hint.<br>
<br>
As for now, I will go with Cory's suggestion to subclass vtkCylinder for<br>
issue 1). And for the accuracy problem, I will stick to my hack. If I will<br>
have time, I will look at it in more detail.<br>
<br>
Just a small correction: I don't fully agree with your statement that it is<br>
just a matter of curved implicit functions. The problem I described relates<br>
to combined implicit functions, I think one will face the same issues with a<br>
vtkPlaneCollection as well.<br>
<br>
Anyhow - thanks for the detailed answers.<br>
<br>
Cheers<br>
Norman<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Problems-with-vtkClipPolyData-and-vtkImplicitBoolean-tp5735713p5735871.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.com/Problems-with-vtkClipPolyData-and-vtkImplicitBoolean-tp5735713p5735871.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br></div>