add a vtk writter, and use it in tet and obj.