<div dir="ltr">I don not know whether it is possible to save the vtkCutter output as image.<br><br>But, you could use vtkWindowToImageFilter to save the displayed &quot;cut&quot; image.<br><br>Jothy<br><br><div class="gmail_quote">
On Sun, Aug 19, 2012 at 5:31 PM, Hadi Aminzadeh <span dir="ltr">&lt;<a href="mailto:hadi60@gmail.com" target="_blank">hadi60@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hello<br>I am a newbie in vtk and have a stl file and want to slice it.<br>I use vtkSTLReader and vtkCutter to cutte it (plane z=1) but I can&#39;t write it to image file (png format). How can I do that? and How can I set the density of out put image (DPI)?<br>


if vtkSTLReader convert my stl file to a 3 dimension matrix, I think it&#39;s faster and simpler to work with matrix to get my layer isn&#39;t it?<br><br>Regards<span class="HOEnZb"><font color="#888888"><br>Aminzadeh<br>
<br></font></span></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><br clear="all"><br>-- <br><div dir="ltr">Jothybasu Selvaraj<br>PhD Student<br>University of Liverpool<br>UK<br></div><br>
</div>