[vtkusers] vtkXMLPolyDataReader

Immo Trinks trinks at esc.cam.ac.uk
Thu Jun 17 09:36:35 EDT 2004


Thank you, I downloaded and installed the latest version.

I have got a .vtp XML file that uses encoding="raw" for the binary part of the data. 
The latest ParaView in not able to load it and when I use (VTK 4.4)

vtkXMLPolyDataReader reader
reader SetFileName "test.vtp"
reader Update

I get the following message:

ERROR: In /home/trinks/Programs/VTK/IO/vtkXMLUnstructuredDataReader.cxx, line 462
vtkXMLPolyDataReader (0xa7cd710): Cannot read points array from Points in piece 0.  The data array in the element may be too short.

It is possible that the person who wrote the .vtp file used a non-standard vtkXMLWriter. 
Any idea how I could get VTK to read this file?
Thank you!

Immo


On Thursday 17 Jun 2004 13:57, Brad King wrote:
> Immo Trinks wrote:
> > Ok, this explains. I am using ParaView version 0.6 release 1, available
> > from http://fresh.t-systems-sfr.com/linux/src/.warix/PVLinux.tar.gz.html
>
> Have a look at
>
> http://www.paraview.org
>
> for the latest release (currently 1.4.x).
>
> -Brad



More information about the vtkusers mailing list