Hi,<div><br></div><div>I haven&#39;t done this myself, but you can take a look at the CroppingRegionFlags ivar in vtkVolumeMapper. One of those flags should help you out, I think.</div><div><br></div><div>Regards,</div><div>
Shash<br><br><div class="gmail_quote">On Mon, Jul 12, 2010 at 9:16 PM, <a href="mailto:6dgis@163.com">6dgis@163.com</a> <span dir="ltr">&lt;<a href="mailto:6dgis@163.com">6dgis@163.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi, all<br>
        I have a series of CT Images and render them in Volume by vtkVolumeRayCastMapper. Now given a polygon by user clicking<br>
on the screen, how to clip the volume with the inner objects removed?<br>
I just want the &quot;hole&quot; effect for displaying. Any suggestion?<br>
<br>
<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>
</blockquote></div><br></div>