<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
how to write .vtk files with the following code, its not able to render
in 3d format<br>
<br>
Gururajan wrote:
<blockquote cite="mid:4A7095C5.8070008@raster.in" type="cite">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
Please see the attached my java file. that is the programme i used to
read dicom series and write .vtk file. To display in 3d format. but am
not able to view in 3d format. <br>
am getting following error <br>
  <pre wrap="">vtkPolyDataReader (0x8cdda7e8): Unrecognized file type: 

vtkStreamingDemandDrivenPipeline (0x8c1a2018): Input for connection index 0 on input port index 0 for algorithm vtkPolyDataWriter(0x8c1a3860) is of type vtkImageData, but a vtkPolyData is required.
  </pre>
Please have a look at my attached file<br>
  <br>
Thanks<br>
Guru<br>
  <br>
  <blockquote
 cite="mid:387ee2020907291121v1cae2522p6132804180c162a8@mail.gmail.com"
 type="cite">
    <pre wrap="">
  </pre>
  </blockquote>
  <br>
  <pre wrap=""><pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>

Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>

Please keep messages on-topic and check the VTK FAQ at: <a class="moz-txt-link-freetext" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a>

Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a>
</pre></pre>
</blockquote>
<br>
</body>
</html>