[vtkusers] QVTKWidget on Mac Retina displays

Cory Quammen cory.quammen at kitware.com
Thu Jul 14 16:28:43 EDT 2016


Sean,

This sounds like something in your wheelhouse. Interested in tackling?

Maybe the code in the linked archived email could be added to
vtkCocoaRenderWindow.mm?


Thanks,
Cory

On Mon, Jun 27, 2016 at 6:22 AM, Dave Edmunds <david.edmunds at icr.ac.uk> wrote:
> Hi all,
>
> I am using Qt 5.5 and VTK 6.3. When I render using a QVTKWidget, on an
> external monitor everything looks great, but on my Macbook Pro retina
> display, my application is only rendered to the lower left quadrant of the
> screen. This is presumably because of the retina display treating each real
> pixel as a 2x2 block.
>
> Simon provided a workaround in this post:
> http://public.kitware.com/pipermail/vtkusers/2015-February/090117.html
>
> Unfortunately, I can't make use of the Objective C commands he used.
>
> Has this been fixed, or does anyone know a pure C++ workaround for this
> issue?
>
> Kind regards,
>
> Dave
>
>
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/QVTKWidget-on-Mac-Retina-displays-tp5738934.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers



-- 
Cory Quammen
R&D Engineer
Kitware, Inc.


More information about the vtkusers mailing list