rg2 / xreg

Library and executables for modeling and registration applications in medical image analysis. Particular emphasis on intraoperative fluoroscopic (X-ray) navigation via 2D/3D registration.
MIT License
91 stars 18 forks source link

Interactive visualizations only occupy the lower quarter of the window on MacOS 10.15 #3

Closed rg2 closed 3 years ago

rg2 commented 3 years ago

With the v2020.09.26.0 release for MacOS, the interactive visualizations (e.g. xreg-show-mesh, xreg-draw-xray-scene) only occupy the lower quarter of the window. This happens on MacOS 10.15 (catalina), but not on MacOS 10.14 (mojave).

Screenshot of the following command is attached.

xreg-show-mesh pelvis_sur.ply

pelvis_sur.ply is found here: https://raw.githubusercontent.com/wiki/rg2/xreg/walkthrough/mesh_creation/pelvis_sur.ply

Screen Shot 2020-10-08 at 18 25 40
rg2 commented 3 years ago

Upgrading VTK from 7.1.1 to 8.2.0 resolves the quarter pane issue. The example build script and docker files were updated to reflect this in 9de8eed and aba574a. 7a83444 handles the HiDPI scaling on the retina display to show the window at the intended size.

Unfortunately, upgrading VTK causes some unexpected linker errors relating to HDF5 on windows.

rg2 commented 3 years ago

Windows builds are resolved after updating ITK to 5.1.1 and updating the build process on Windows.

A working windows build script was introduced in aba38fb. Changes for ITK 5 compatibility were made in d636c65.