Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Early initialization and fix errors from vtkOpenGLExtensionManager #2

Closed
wants to merge 4 commits into from

Conversation

maleike
Copy link

@maleike maleike commented Oct 4, 2013

I worked a bit more on a QML prototype for MITK and made three minor changes/improvements to QVTKQuickItem which I hope you find useful and are able to integrate:

  • vtkOpenGLExtensionManager errors of type "Attempting to load GL_VERSION_2_0, which is not supported." could be removed by a Qt::DirectConnection to IsCurrent()
  • introduced a counter-part to prepareForRender() called cleanupAfterRender()
  • the initialization that is being done once in the paint() method has been moved to the c'tor with the intention that sub-classes may access the VTK render window in their c'tor already. This makes using the class much easier in the MITK application mentioned above

Behavior the OpenView application did not change as much as I can see.

@fmorency
Copy link

fmorency commented May 7, 2014

I can confirm that those fixes are needed for the Linux version (Ubuntu 12.10) to work properly. Thanks maleike!

@maleike maleike closed this Oct 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants