=?iso-2022-jp?B?UmU6UmU6IFtQYXJhdmlld10gRmlsZSBmb3JtYXQgZm9yIHJlYWRpbmcgYmluYXJ5IGRhdGEgaW4gcGFyYWxsZWw=?=
suzu at kg.candypop.jp
suzu at kg.candypop.jp
Tue Sep 13 22:43:39 EDT 2005
Thank you, Mr.Geveci.
>I would use .vts. Base64 encoding and compression are optional.
At first I think so and tried to read .vts file which contains raw binary data ,
but I failed to read.
Should I specify some special options for AppendedData tag or VTKFile tag ?
Error message and .vts file are following.
----------------------------------------------------------------
ErrorMessage
# Error or warning: There was a VTK Error in file: /home/suz/paraview-2.0.3/VTK/IO/vtkXMLStructuredDataReader.cxx (281)
Error reading extent 0 3 0 2 0 1 from piece 0
ErrorMessage end
ErrorMessage
# Error or warning: There was a VTK Error in file: /home/suz/paraview-2.0.3/VTK/IO/vtkXMLDataReader.cxx (330)
Cannot read point data array "pressure" from PointData in piece 0. The data array in the element may be too short.
ErrorMessage end
ErrorMessage
----------------------------------------------------------------
<?xml version="1.0"?>
<VTKFile type="StructuredGrid" version="0.1">
<StructuredGrid WholeExtent="0 3 0 2 0 1">
<Piece Extent="0 3 0 2 0 1">
<PointData Scalars="pressure">
<DataArray type="Float32" Name="pressure" format="appended" offset="0" />
</PointData>
<CellData>
</CellData>
<Points>
<DataArray type="Float32" NumberOfComponents="3" format="ascii">
0.0 0.0 0.0 0.1 0.0 0.0 0.2 0.0 0.0 0.3 0.0 0.0 0.0 0.1 0.0 0.1 0.1 0.0 0.2 0.1
0.0 0.3 0.1 0.0 0.0 0.2 0.0 0.1 0.2 0.0 0.2 0.2 0.0 0.3 0.2 0.0
0.0 0.0 0.05 0.1 0.0 0.1 0.2 0.0 0.1 0.3 0.0 0.1 0.0 0.1 0.1 0.1 0.1 0.1 0.2 0.1
0.1 0.3 0.1 0.1 0.0 0.2 0.1 0.1 0.2 0.1 0.2 0.2 0.1 0.3 0.2 0.15
</DataArray>
</Points>
</Piece>
</StructuredGrid>
<AppendedData>
_.............(this is raw binary data: 96bytes )...............................
</AppendedData>
</VTKFile>
--
Koichiro Suzuki
More information about the ParaView
mailing list