Skip to content

(fwVTKQml): fix QML Tutos with VTK Scene

Ekaterina OLIVIER requested to merge 305-fix-qml-tutos-with-vtk-scene into dev

What does this MR do?

The vtk OpenGLRenderWindow was change from an external to a generic one which handle his own OpenGL context. So in each render at the beginning we init the state of the OpenGL by calling OpenGLInitState. QVTKOpenGLWidget was changed by QVTKOpenGLNativeWidget because in the code source of VTK it was written: QVTKOpenGLNativeWidget is intended to be a replacement for QVTKWidget when using Qt 5.

How to test it?

  • Test all the VTK samples (like Tuto08)

Data

some image or mesh

Some results

(Some interesting results, screenshot, perfs, ...)

Additional tests to run

  • works on linux
  • works on windows
  • works approximately on macos

Associated Issues/Merge Requests

Edited by Michaël KUGLER

Merge request reports