Integrate QVTKOpenGLWidget from VTK 8#523
Integrate QVTKOpenGLWidget from VTK 8#523sankhesh wants to merge 1 commit intoRobotLocomotion:masterfrom
Conversation
|
Hi Sankhesh, I am very excited to have this code in master, but I withheld it from #518 because I think there are a few more cleanups required before it's ready:
|
|
FYI @stonier. We need this pretty urgently for Drake. |
|
I thought you built the current set of binaries from the #508 branch instead of master. Can you do that for the next round of packages so that you aren't blocked by this? |
|
Hi Pat,
@jamiesnape has some ideas for getting
Yes, the `QVTKOpenGLWidget would only be available for the OpenGL2 backend. See https://gitlab.kitware.com/vtk/vtk/blob/72296e8d8f43fad32f08afefd81d471c4d8548b5/GUISupport/Qt/CMakeLists.txt#L37-41
That's a good idea. It would make the C++ code much cleaner. Although, would you mind handling it as part of the CMake code cleanup that you proposed during our conversation?
Sure. It could be. But since its just two consumers (and a three lines of code), we could do it as part of a separate follow-on PR. What do you think? |
|
We want to switch off VTK 5 support, so the CMake build including Director needs VTK 8 support. At present there are rendering issues without this. |
|
I thought Travis-ci is already compiling against mesa (or I think I tried it). I'll try it again to be sure. |
|
Not the Xenial one. |
|
Of the 3 cleanups I listed, only 2) and 3) are important code changes. 1) is for CI testing, but I don't mind delaying that. I think 2) and 3) are quick to implement. |
|
@jamiesnape @patmarion #528 supersedes this PR. |
QVTKOpenGLWidget changes ported from #508