added compatibility with VTK Major version <= 5

* added compatibility with VTK Major version <= 5, just an #ifdef VTK_MAJOR_VERSION <= 5 at two occasions
* extended little main.cpp to render the sampled sphere instead of saving it