[vtkusers] QVTKOpenGLWidget and QWidgets
Sam Raby
rabysam28 at gmail.com
Fri May 4 11:55:40 EDT 2018
I am running the following example of using QVTKOpenGLWidget to display a
sphere.
https://www.vtk.org/Wiki/VTK/Examples/Cxx/Qt/SideBySideRenderWindowsQt
It works fine. Then I added one QT Checkbox. but the checkbox is not
checkable. After debugging I realized that when I remove the following line
of code, the checkbox starts working but QVTKOpenGLWidget does not display
the sphere anymore. Is that something that I am missing here. QSlicer and
other qwidgets also do not work if I keep the following like of code:
QSurfaceFormat::setDefaultFormat(QVTKOpenGLWidget::defaultFormat());
Thanks
S
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180504/f539e1f1/attachment.html>
More information about the vtkusers
mailing list