[Paraview] Base64 encoding

Craig Warren Craig.Warren at ed.ac.uk
Mon Feb 12 17:49:44 EST 2007


Hey folks,

I have written a very simple test VTK xml file and am reading it into  
Paraview (2.4.4). The problem is that Paraview is not reporting the  
data range correctly. Here is the file...

<?xml version="1.0"?>
<VTKFile type="ImageData" version="0.1" byte_order="BigEndian">
<ImageData WholeExtent="0 1 0 1 0 1" Origin="0 0 0" Spacing="1 1 1">
<Piece Extent="0 1 0 1 0 1">
<PointData Scalars="material">
<DataArray type="UInt8" Name="material" format="binary">
bAQIAAwAAAAA=
</DataArray>
</PointData>
</Piece>
</ImageData>
</VTKFile>

I am writing 8 scalars [1 2 0 3 0 0 0 0], but Paraview is reporting  
unsigned chars range 0 - 12.

Any advice would be most appreciated.

Craig
--
Craig Warren
Postgraduate student

Institute for Infrastructure & Environment
School of Engineering & Electronics
University of Edinburgh
Alexander Graham Bell Building
The King's Buildings
Edinburgh EH9 3JL
Tel: +44 (0)131 650 5812
Fax: +44 (0)131 650 6554




More information about the ParaView mailing list