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

David Gobbi david.gobbi at gmail.com
Mon Feb 27 15:04:41 EST 2017


Hi Brian,

The retina code in VTK is still under development.  In the VTK master
branch, retina should work fine for pure C++ VTK apps, but it might not
work for python yet.  But feel free to try it if you want to be a guinea
pig.

The VTK 7.1.0 release doesn't support retina displays.

 - David


On Mon, Feb 27, 2017 at 9:54 AM, Brian Alger <brian.alger at inl.gov> wrote:

> 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/QVTKRenderWi
> ndowInteractor_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?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20170227/38276bd1/attachment.html>


More information about the vtk-developers mailing list