[vtkusers] XML Format Description - Missing Information on Appended Data

Andreas.Ullrich@RIEGL.co.at aullrich at riegl.co.at
Wed Oct 15 03:42:58 EDT 2003


The current version of the file format description states the following:

The appended data section begins with the first character after the
underscore inside the AppendedData element. The underscore is not part of
the data, but is always present. Data in this section is always in binary
form, but can be compressed and/or base64 encoded. The byte-order of the
data matches that specified by the byte_order attribute of the VTKFile
element.

Each DataArray’s data are stored contiguously and appended immediately after
the previous DataArray’s data without a seperator.

The DataArray’s offset attribute indicates the file position offset from the
first character after the underscore to the beginning its data.

BUT THERE IS ADDITONALLY A HEADER (4 BYTE IN SIZE) CONTAINING THE NUMBER OF
BYTES OF THE DATA ARRAY FOLLOWING.
This information is also contained in case the data are NOT compressed.





More information about the vtkusers mailing list