[Insight-users] itkVTKPolyDataWriter

Arnaud Gelas arnaud_gelas at hms.harvard.edu
Wed May 13 15:33:57 EDT 2009


Hi Leila,

Can you join your file (MESH5.vtk), please?

Thanks
Arnaud

Leila Baghdadi wrote:
> Hi guys
>
> I used the class itkVTKPolyDataWriter in Review directory 
> to write my meshes as vtkPolyData but when I try to read them using
> vtkPolyDataReader I get the following error,
>
> I checked the file and it seemed to have the format of vtkPolyData
>
>   
>>>> a = vtkPolyDataReader()
>>>> a.SetFileName("MESH5.vtk")
>>>> a.Update()
>>>>         
> ERROR: In /build/buildd/vtk-5.0.3/IO/vtkDataReader.cxx, line 1631
> vtkPolyDataReader (0x95c650): Error reading ascii cell data! for file:
> MESH5.vtk
>
>
>
> any ideas
>
> Leila
>
> _____________________________________
> 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 ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>   



More information about the Insight-users mailing list