[vtkusers] Embedding .h5 data in .vtu files

Richard Haney cosmoh2o at hotmail.com
Tue Feb 14 06:28:26 EST 2006


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.





More information about the vtkusers mailing list