helper programs for VTK