[vtkusers] Error reading cell type

Hayden Smith s_hayden_28 at yahoo.com
Sun Apr 28 23:43:11 EDT 2013


Dear Vtk users,
I can read the following vtk file, it shows some ouput, but also shows error: error reading cell types, if I put CELL_TYPES as 1 (VTK_VERTEX), it shows same error: 
/*****************************/# vtk DataFile Version 1.0
2D scalar data
ASCII
DATASET UNSTRUCTURED_GRID
POINTS 10 float
5 7 10
5 7 13
5 8 11.25
5 8.25 11
5 8 10
5 7 11.25
5 7.5 13
5 8 12.5
5 7 10.3125
5 7 10.625
CELLS 10 10
1  1 
1  2 
1  3 
1  4 
1  5 
1  6 
1  7 
1  8 
1  9 
1  10 
CELL_TYPES 10
POINT_DATA 10
VECTORS displacement float
5.317256 0.038328 0.009241
1.270657 0.036974 -0.467480
0.347197 0.061410 -1.310931
0.704583 0.061886 -1.197829
1.022699 0.056816 -0.897948
1.304252 0.057359 -0.483078
1.354688 0.053458 0.015998
0.838027 0.005652 0.324289
0.951906 -0.113057 0.007819
1.653968 -0.127456 0.014767
SCALARS temperature float
LOOKUP_TABLE default
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.90702939
0.90702939
/*****************************/

Please help me fix the error.Thanks,
Hayden.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130428/f6014b6d/attachment.htm>


More information about the vtkusers mailing list