[Insight-users] [ITK Community] VTKPolyDataReader Unexpected end-of-file before finding POLYGONS.

Matt McCormick matt.mccormick at kitware.com
Thu Jan 30 09:19:36 EST 2014


Hi Jong Seo,

The MeshFileReader may give better results.  An example is here:

  http://itk.org/ITKExamples/src/IO/Mesh/ReadMesh/Documentation.html

Hope this helps,
Matt

On Tue, Jan 28, 2014 at 5:28 PM, js0823
<JongSeo.Yoon at childrens.harvard.edu> wrote:
> Hi everyone,
>
> I am testing the code from here
>
> http://www.itk.org/Wiki/ITK/Examples/PointSet/ReadPointSet
>
> But when I tried using the program by giving it an input of vtk file, I get
> the following error.
>
> Error during Update()
>
> itk::ExceptionObject (0x2b37e20)
> Location: "unknown"
> File:
> /opt/x86_64/pkgs/itk/4.3.1/gcc-release/include/ITK-4.3/itkVTKPolyDataReader.hxx
> Line: 192
> Description: itk::ERROR: VTKPolyDataReader(0x2b335a0): Error reading file:
> pressure.vtk
> Unexpected end-of-file before finding POLYGONS.
>
> What does this error mean and how do I fix it?
>
>
>
> --
> View this message in context: http://itk-insight-users.2283740.n2.nabble.com/VTKPolyDataReader-Unexpected-end-of-file-before-finding-POLYGONS-tp7584900.html
> Sent from the ITK Insight 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
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> 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
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/community


More information about the Insight-users mailing list