[vtkusers] vtkXMLPolyDataReader

Immo Trinks trinks at esc.cam.ac.uk
Thu Jun 17 07:23:15 EDT 2004


Hi vtk users and developpers

I am trying to read a .vtp file with vtkXMLPolyDataReader.
I was able to successfully read the file fohe.vtp , which can be found under
http://fresh.t-systems-sfr.com/linux/src/.warix/PVLinux.tar.gz.html
with ParaView. However, if I try

vtkXMLPolyDataReader reader
reader SetFileName "fohe.vtp"
reader Update

all I get is 
ERROR: In /home/trinks/VTK/VTK/IO/vtkXMLDataElement.cxx, line 649
vtkXMLDataElement (0x998e1a8): Unknown data type "float".  Supported types 
are:
Int8,  Int16,  Int32,  Int64,
UInt8, UInt16, UInt32, UInt64,
Float32, Float64

How is it possible that ParaView apparently is able to read the file while 
vtkXMLPolyDataReader isn't?

Thanks for any help!



More information about the vtkusers mailing list