[vtkusers] About vtkPLYReader
Jérôme
jerome.velut at gmail.com
Sun May 22 15:09:43 EDT 2011
Hi,
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.
HTH
Jerome
2011/5/22 hbfyf <hbfyf at qq.com>
> I have tried vtkPLYReader and succeed in reading some PLY file.But
> vtkPLYReader can't read all PLY file.Here is a PLY file and can you explain
> why it can't be read.
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110522/c65f77e0/attachment.htm>
More information about the vtkusers
mailing list