2D data legacy VTK

From KitwarePublic
Jump to navigationJump to search

I'm new to this forum and hope I'm doing this right.

I'm writing a program that will convert the output from my professor's simulation software into a format that visualization software packages such as Paraview and VisIt can read. I'm using legacy ASCII VTK and my program is working beautifully for 3D data.

I can't seem to get it to work for 2D data. I'm using the RECTILINEAR_GRID data structure this works for 3D data but I think I might be misinterpreting how to alter the file layout for 2D data, or perhaps this dataset only works on 3D data? I've also tried using the dataset STRUCTURED_GRID, and have not gotten this work either.

The data I wish to visualize is 2D rectilinear where dx dy and dz are all constants on the grid.

Does anybody have a sample Legacy VTK file with this type of data that they can e-mail me or post? I'm sure if I can look at a sample file for 2d rectilinear data I can figure out how my file needs to be formatted.

Gordon Taub gotaub@u.washington.edu