add vtk output routine