[vtk-developers] VTKRenderWindowInteractor.py does not display correctly on retina display

Brian Alger brian.alger at inl.gov
Mon Feb 27 11:54:34 EST 2017


On a MacBook Pro with retina display, running:
python lib/python2.7/site-packages/vtk/qt/QVTKRenderWindowInteractor.py

shows the following

<http://vtk.1045678.n5.nabble.com/file/n5742298/QVTKRenderWindowInteractor_retina.png> 

The cone is only in the lower left. This works as expected on non retina
displays.
Using: VTK 7.1.0, PyQt 5.6
I found  this <https://github.com/siudej/Eigenvalues/blob/master/qvtk.py>  
that shows how one might fix the problem. Incorporating their changes does
seem to fix the problem but their comment
says it is not the right way to do this.

What is the correct way to get this to work?




--
View this message in context: http://vtk.1045678.n5.nabble.com/VTKRenderWindowInteractor-py-does-not-display-correctly-on-retina-display-tp5742298.html
Sent from the VTK - Dev mailing list archive at Nabble.com.


More information about the vtk-developers mailing list