[Paraview] VTK Image Data Reader

David Ingram David.Ingram at ed.ac.uk
Mon May 15 05:10:40 EDT 2006


After using Paraview for some time I have been trying to move away  
from using the Legacy VTK file formats for the results from my F95  
CFD code and have now tried to use both the Ensight Gold format and  
the XML VTK file formats.  Unfortunately the Ensight Gold "Fortran  
Binary" format doesn't seem to work and having written a F95 Base64  
encoder to extend the, excellent, wxml library I am having problems  
with the VTK format.  The following Image Data file fails to be read  
by the VTK reader, returning the error message "  
vtkXMLImageDataReader (0x861b050): ImageData element has no  
WholeExtent.".  Any help would be appreciated.

<VTKFile type="ImageData" version="0.1" byte_order="BigEndian">
<ImageData
   WholeExtent="0.0000E+00  0.1000E+01  0.0000E+00  0.1000E+01   
0.0000E+00  0.1000E+01"
   Origin="0.0000E+00  0.0000E+00  0.0000E+00"
   Spacing="0.2000E+00  0.2000E+00  0.1000E+01">
   <Piece
    Extent="0.0000E+00  0.1000E+01  0.0000E+00  0.1000E+01  0.0000E 
+00  0.1000E+01">
    <CellData Scalars="Pressure">
     <DataArray Name="Isolid" Type="Int32" Format="Binary">
/7v//7v//7v//7v//7v//7v//7v//7v/AAAAAAAAAAAAAAAA/7v//7v//7// 
AAAAAAAAAAAAAAw/
/7v//7v/////AAAAAAAAAAAAA8v//7v//7v//7v//7v//7v//7v//7v///==

     </DataArray>
    </CellData>
   </Piece>
</ImageData>
</VTKFile>

For the record I am currently using the Mac OSX version of Paraview  
2.4.3

Dr David M Ingram
Reader
Institute of Energy Systems
School of Engineering and Electronics
The University of Edinburgh
Kings Buildings
Mayfield Road
Edinburgh

David.Ingram at ed.ac.uk





More information about the ParaView mailing list