[vtkusers] How to convert vtkpolydata to image?

Gauler Tan tan3long at gmail.com
Wed Aug 24 05:19:50 EDT 2011


I want to write an image as output(vtkJPEGWriter) from
polydata(vtkCutter.getOutput()).

I tried vtkDataSetToImageDataFilter,but failed......

What is the problem?

Error Message is as below:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00220034, pid=4632,
tid=1524
#
# JRE version: 6.0_26-b03
# Java VM: Java HotSpot(TM) Client VM (20.1-b02 mixed mode, sharing
windows-x86 )
# Problematic frame:
# C  0x00220034
#
# An error report file with more information is saved as:
# D:\Workspaces\eclipse\Plane\hs_err_pid4632.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

2011/8/24 tan3long <tan3long at gmail.com>

> Hi,
>
> As the title,how can I get image output from vtkpolydata?Which filters can
> I
> use?Any examples?
> Thank you for your attention
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/How-to-convert-vtkpolydata-to-image-tp4729551p4729551.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110824/f52aa311/attachment.htm>


More information about the vtkusers mailing list