[vtkusers] reading triangles data

Mathieu Malaterre Mathieu.Malaterre at creatis.insa-lyon.fr
Wed Oct 22 13:51:22 EDT 2003


Patrick Schuska wrote:
> 
> Hi. 
> I`m trying now for hours to fix the header of my triangles file. I tried
> also to read the header in ascii, but then I have got more errors.
> 
> No comes the error message: unrecognized keyword: ....
> 
> I included my file..
> 
> Can please somebody take a look into it...?? :o)
> 
> Thanks, Patrick

For debuging purpose I *really* suggest you switch to ASCII.

BTW I have a done 'du' on your file (only the points) and I find: 25956

Assuming there is 2163 points:

25956/2163 = 12 = 3 * 4 = num of points * size

You won't be able to read those points while specifiying unsigned short 
(size=2)...

HTH
mathieu




More information about the vtkusers mailing list