VTK 6 compatibility

John says this works with VTK 5 and VTK 6.1 as of 4f48881; it works for me with VTK 6.0 as of 9a7f5f6.