serialize a vtk object

I’m not sure, but I think you have all the keys to solve your problem.