<font size="2"><font face="verdana,sans-serif">Maybe this is what you are looking for:</font></font><div><font size="2"><font face="verdana,sans-serif"><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Utilities/Screenshot">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Utilities/Screenshot</a><br>

</font></font><br><div class="gmail_quote">On Wed, Aug 24, 2011 at 11:19, Gauler Tan <span dir="ltr">&lt;<a href="mailto:tan3long@gmail.com">tan3long@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;">

I want to write an image as output(vtkJPEGWriter) from polydata(vtkCutter.getOutput()).<div><br></div><div>I tried vtkDataSetToImageDataFilter,but failed......</div><div><br></div><div>What is the problem?</div><div><br>
</div>

<div>Error Message is as below:</div><div><br></div><div><div>#</div><div># A fatal error has been detected by the Java Runtime Environment:</div><div>#</div><div>#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00220034, pid=4632, tid=1524</div>


<div>#</div><div># JRE version: 6.0_26-b03</div><div># Java VM: Java HotSpot(TM) Client VM (20.1-b02 mixed mode, sharing windows-x86 )</div><div># Problematic frame:</div><div># C  0x00220034</div><div>#</div><div># An error report file with more information is saved as:</div>


<div># D:\Workspaces\eclipse\Plane\hs_err_pid4632.log</div><div>#</div><div># If you would like to submit a bug report, please visit:</div><div>#   <a href="http://java.sun.com/webapps/bugreport/crash.jsp" target="_blank">http://java.sun.com/webapps/bugreport/crash.jsp</a></div>


<div># The crash happened outside the Java Virtual Machine in native code.</div><div># See problematic frame for where to report the bug.</div><div>#</div><div><div></div><div class="h5"><br><div class="gmail_quote">2011/8/24 tan3long <span dir="ltr">&lt;<a href="mailto:tan3long@gmail.com" target="_blank">tan3long@gmail.com</a>&gt;</span><br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
As the title,how can I get image output from vtkpolydata?Which filters can I<br>
use?Any examples?<br>
Thank you for your attention<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/How-to-convert-vtkpolydata-to-image-tp4729551p4729551.html" target="_blank">http://vtk.1045678.n5.nabble.com/How-to-convert-vtkpolydata-to-image-tp4729551p4729551.html</a><br>



Sent from the VTK - Users mailing list archive at Nabble.com.<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></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></div>