[Paraview] VTU File Format wih raw Data

"Sören Freudiger" muffmolch at gmx.de
Wed Oct 17 17:22:42 EDT 2007


Hi 
Is it possible to use “raw” data inside the VTU files?

Something like:

<VTKFile type="UnstructuredGrid" version="0.1" byte_order="LittleEndian">
  <UnstructuredGrid>
    <Piece NumberOfPoints="6" NumberOfCells="1">
      <Points>
        <DataArray type = " Float32" NumberOfComponents="3" format="appended" offset=”0” />
      </Points>
      <Cells>
        <DataArray type="Int32" Name="connectivity" format="appended" offset=”123” />
        <DataArray type="Int32" Name="offsets" format="appended" offset=”234” />          
        <DataArray type="UInt8" Name="types" format="appended" offset=”345” />
      </Cells>
      <PointData>
        <DataArray type="float" Name="stress" format="appended" offset=”567” />
      </PointData>
    </Piece>
  </UnstructuredGrid>
  <AppendedData encoding="raw">
_...  
  </AppendedData>
</VTKFile>

I cannot find a concrete example. 
Is is right that I the raw data is organized somehow like that

_(size=#points*3*sizeof(Float32()(data of array)(size of array1)(size=8(oct)*#cells*sizeof(Int32()(connectivity array)…

If so, has the length to be stored in same format as Data (Int32,Float32, etc.).
Is it possible to mix data types or do they all have to be in same format (e.g. Float32)

Best regards and thanks for any hint,
SirAnn

-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail


More information about the ParaView mailing list