Embedding .h5 data in .vtu files

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Embedding .h5 data in .vtu files

Richard Haney
Please help,

I am new to VTK and have a quick question. I know how to create a .vtu file
that can be read by vtkXMLUnstructuredGridReader but suppose I have heavy
data (> 1300 points/cells) - can vtkXMLUnstructuredGridReader read in .h5
data files embedded inside the .vtu file and if so, how?

Something like the following file:

<VTKFile type="UnstructuredGrid" version="0.1" byte_order="LittleEndian">
  <UnstructuredGrid>
    <Piece NumberOfPoints="1344" NumberOfCells="2560">
      <Points>
        <DataArray type="Float32" NumberOfComponents="3" format="HDF">
          outCIRC.h5:/data
        </DataArray>
      </Points>
      <Cells>
        <DataArray type="Int32" Name="connectivity" format="HDF">
          outCIRC.h5:/connection
        </DataArray>
      </Cells>
    </Piece>
  </UnstructuredGrid>
</VTKFile>

Any help/hints are greatly appreciated.


_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers