[vtkusers] Using QVTKOpenGLWidget in QGraphics view and replacement for deprecated QVTKGraphicsItem
Oleksandr Malyushytsky
omalyushytskyvtkuser at gmail.com
Tue Jul 31 18:48:33 EDT 2018
QVTKWidget and QVTKWidget2 are deprecated due to QGLWidget be deprecated in
Qt.
There is a replacement - QVTKOpenGLWidget which is subclassing
QOpenGLWidget.
But it seems there is no real support for using vtk in QGraphicsScene.
Using QVTKOpenGLWidget as a background for QGraphicsScene is relatively
simple.
But QVTKGraphicsItem is still derived from QVTKWidget and is using
QGLContext (depricated).
Are there plans or example of QVTKGraphicsItem equivalent
("QVTKOpenGLGraphicsItem) ?
Best regards,
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20180731/c87404ca/attachment.html>
More information about the vtkusers
mailing list