Sounds like all you need is a vtkImagePlaneWidget . There is an example which does that in the Example directory .<br><br>Regards<br>Darshan<br><br><div class="gmail_quote">On Thu, Jun 24, 2010 at 2:15 AM, Nizam de Abreu Pfeilsticker <span dir="ltr">&lt;<a href="mailto:nizam.abreu@gmail.com">nizam.abreu@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>I will explain what is exactly my problem. I have a serie of DICOMs that I render in a skull, for example. I also have an actor, which is a plane, that is used to choose the image to be resliced. I can spin and move this plane through the skull.</div>



<div>Since I am using <a href="http://VB.NET" target="_blank">VB.NET</a>, I cannot delete the actors or use smart pointers and usually I have memory problems if I don&#39;t shrink the image. Since I already have the plane (and the matrix4x4), can I have a function that returns me an 2D image (not the 3D one). It is important to be 2D because of memory issues. It would be perfect if I could have image as bitmap streamed to memory (like byte[])</div>



<div>It would be even better if I could retrieve this image from the DICOMs directly and not from the polydata I obtained using MarchingCubes (better resolution, since the image is not shrinked)</div>
<div>Did I make me clear?<br><br></div>
<div class="gmail_quote">2010/6/22 David Doria <span dir="ltr">&lt;<a href="mailto:daviddoria%2Bvtk@gmail.com" target="_blank">daviddoria+vtk@gmail.com</a>&gt;</span><div><div></div><div class="h5"><br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;" class="gmail_quote">On Tue, Jun 22, 2010 at 9:41 PM, Nizam de Abreu Pfeilsticker<br>
<div>&lt;<a href="mailto:nizam.abreu@gmail.com" target="_blank">nizam.abreu@gmail.com</a>&gt; wrote:<br>&gt; Actually, i am really beginner. Would u please send me an exemple?<br>&gt;<br>&gt; Enviado via iPhone<br>&gt; Em 22/06/2010, ąs 17:31, Darshan Pai &lt;<a href="mailto:darshanpai@gmail.com" target="_blank">darshanpai@gmail.com</a>&gt; escreveu:<br>


&gt;<br>&gt; You can try vtkClipPolyData for doing that .<br>&gt;<br>&gt; On Tue, Jun 22, 2010 at 2:20 PM, Nizam &lt;<a href="mailto:nizam.abreu@gmail.com" target="_blank">nizam.abreu@gmail.com</a>&gt; wrote:<br>&gt;&gt;<br>
&gt;&gt; I have a vtkActor which is a plane and another 3D actor. How can I get the<br>

&gt;&gt; 2d<br>&gt;&gt; image that is the intersection of the plane and the 3D object? Is there an<br>&gt;&gt; easy way?<br>&gt;&gt; Best regards,<br>&gt;&gt; Nizam<br>&gt;&gt; --<br>&gt;&gt; View this message in context:<br>


&gt;&gt; <a href="http://old.nabble.com/2d-image-tp28963365p28963365.html" target="_blank">http://old.nabble.com/2d-image-tp28963365p28963365.html</a><br>&gt;&gt; Sent from the VTK - Users mailing list archive at Nabble.com.<br>


&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br>&gt;&gt;<br>&gt;&gt; Visit other Kitware open-source projects at<br>


&gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>&gt;&gt;<br>&gt;&gt; Please keep messages on-topic and check the VTK FAQ at:<br>


&gt;&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>&gt;&gt;<br>&gt;&gt; Follow this link to subscribe/unsubscribe:<br><br></div>Have you seen the wiki examples: <a href="http://www.vtk.org/Wiki/VTK/Examples" target="_blank">http://www.vtk.org/Wiki/VTK/Examples</a> ?<br>


<br>There are a handful of examples that use vtkClipPolyData there. Give<br>them a look and let us know if you have any questions.<br><br>Thanks,<br><font color="#888888"><br>David<br></font></blockquote></div></div></div>
<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>
<br></blockquote></div><br>