VTK 6 compatibility