I've looked into this a little bit for a similar application, and I think the key thing is to look at the classes deriving from vtkImplicitFunction to see if there is one that gives the desired deformation, or subclass to suit. vtkClipPolyData can take any of these as input.<br>
<br>-Isaiah<br><br><div class="gmail_quote">On Wed, Jul 6, 2011 at 11:31 PM, Xiaopeng Yang <span dir="ltr"><<a href="mailto:yxp233@postech.ac.kr">yxp233@postech.ac.kr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal"><span style="color:#1F497D">Hello All,<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal">
<span style="color:#1F497D">Since no one has replied to this problem, I raise it again. I think it is a good issue for discussion in this mailing list. So everyone is welcomed and appreciated if you can share your knowledge.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span style="color:#1F497D">Thanks,<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#1F497D">Yang<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><u></u> <u></u></span></p><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> <a href="mailto:vtkusers-bounces@vtk.org" target="_blank">vtkusers-bounces@vtk.org</a> [mailto:<a href="mailto:vtkusers-bounces@vtk.org" target="_blank">vtkusers-bounces@vtk.org</a>] <b>On Behalf Of </b>Xiaopeng Yang<br>
<b>Sent:</b> Tuesday, July 05, 2011 11:31 AM<br><b>To:</b> 'vtk'<br><b>Subject:</b> [vtkusers] Cutting 3D isosurface<u></u><u></u></span></p></div></div><div><div></div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Dear Users,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I have extracted the liver from CT scans and reconstructed it as an isosurface by vtkContourFilter in 3D. Then to simulate virtual surgery, I need to cut it. I applied vtkClipPolyData to cut the liver with a flat plane generated by vtkPlane. It works well but not enough for my application. What I need is to cut the liver by a plane which is deformable. I am wondering whether VTK has this kind of function or class or not. <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Thank you.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Best regards,<u></u><u></u></p><p class="MsoNormal">Yang<u></u><u></u></p>
</div></div></div></div><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" 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" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br>