[vtk-developers] Strange problem with vtkPLYReader
Prabhu Ramachandran
prabhu at aero.iitb.ac.in
Sat Aug 5 14:04:06 EDT 2017
Hi all,
We've been running into a strange issue with the vtkPLYReader ever since VTK 5.6
all the way up to 8.0.0. I am attaching a simple VTK Python script. If you run
it a few times you'll see inconsistent results for the bounds of the data like so:
(0.0, 1.0, 0.0, 1.0, 0.0, 1.600000023841858)
(0.0, 1.5845632502852868e+29, 0.0, 1.0, 0.0, 1.600000023841858)
...
I've also attached a standard dataset for this. I could find the bug but I
figured someone more familiar with the code may be quicker fixing it. Thanks! :)
cheers,
Prabhu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20170805/3c1fb19a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_ply_vtk.py
Type: text/x-python-script
Size: 273 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20170805/3c1fb19a/attachment.bin>
-------------- next part --------------
ply
format ascii 1.0
comment created by MATLAB ply_write
element vertex 5
property float x
property float y
property float z
element face 6
property list uchar char vertex_indices
end_header
0.000000 0.000000 0.000000
1.000000 0.000000 0.000000
1.000000 1.000000 0.000000
0.000000 1.000000 0.000000
0.500000 0.500000 1.600000
3 2 1 4
3 2 4 3
3 1 2 5
3 1 5 4
3 4 5 3
3 2 3 5
More information about the vtk-developers
mailing list