VTK file format supporting multiple meshes?

If I wanted to store a torus and a cylinder in a VTK file, what file format would I store it in? I have figured out how to store a vtkPolyData or a vtkUnstructuredGrid … but what if I wanted to store multiples in a file? Or must I store one mesh per file?

You can apeend multiple polydata objects into one (using append polydata filter) and store the result in a single file.

1 Like

Thanks … I will give that a shot.

@lassoan,. I tried that out, it worked like a charm. Thanks!

1 Like