[vtkusers] 3d view of .VTK files

Gururajan gururajan.r at raster.in
Wed Jul 29 15:10:33 EDT 2009


how to write .vtk files with the following code, its not able to render
in 3d format

Gururajan wrote:
> 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.
> am getting following error
> 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.
>   
> Please have a look at my attached file
>
> Thanks
> Guru
>
>>   
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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/20090730/c26d0562/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SimpleVTK.java
Type: text/x-java
Size: 3365 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090730/c26d0562/attachment.java>


More information about the vtkusers mailing list