[vtkusers] About vtkPLYReader

Sean McBride sean at rogue-research.com
Wed May 25 15:23:55 EDT 2011


On Sun, 22 May 2011 21:09:43 +0200, Jérôme said:

>by reading the header of your file and the code in VTK/IO/vtkPLY.cxx, the
>problem is:
>   - the header declare the faces list as:  "property list uint8 uint32
>vertex_indices"
>   - vtkPLY does not handle uint32 type, but only uint.
>
>Changing the line to "property list uint8 uint vertex_indices" makes the
>file loadable in ParaView-3.11.1 and is still loadable in Blender-2.5.
>
>I didn't investigate the responsibilities : maybe MITK wrote a file with an
>unexpected uint32 regarding the specification or VTK lacks a check of this
>type in its PLY parser.

My guess is the former, but if the latter, then it's not just missing in
one place, it's missing everywhere.  There is no #define even for a
uint32.  If someone wants to create a bug, I think I could probably add
support for 'uint32', it looks like it would be straightforward enough.

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada





More information about the vtkusers mailing list