vtkTable is one of the last important VTK data types that has not been added to the VTKHDF specification yet. I’m presenting here a specification to fill this gap and get feedback from the community before implementing it.
Just like the XML .vtt format, we store data column by column. Data type is consistent in a given column, but not necessarily between columns.
Data is stored in /VTKHDF/RowData/ as 1-dimensional arrays. The number of rows must be consistent between columns.
For temporal data, read offsets for each column are specified in /VTKHDF/Steps/RowDataOffsets/. Each dataset in the RowDataOffsets group has size NumberOfSteps. This way, you can save space and memory when a column does not change values between time steps by setting the same offset as the step before.
/VTKHDF/NumberOfRows is a required field that stores the number of rows, and has 1 value for every time step.
An example file is attached
table.vtkhdf (32.9 KB)