change how object factory is done
Merge branch 'opengl2-rendering' of https://github.com/cryos/VTK into opengl2-rendering