Do you mean I should replace vtkRenderingContextOpenGL2 with RenderingContextOpenGL2 or add it to the bottom?
vtkRenderingContextOpenGL2
RenderingContextOpenGL2