Customizing the OHIF plugin layout (MPR), auto-activating crosshairs, and modifying default mouse controls

Hello,

I am currently integrating the Orthanc OHIF plugin into a research workflow, using Orthanc in Docker, and I would like to customize the viewer’s behavior when loading a study.

So far, I have managed to provide a custom configuration through UserConfiguration (e.g., showStudyList: false works), and enable MPR mode on startup by passing the URL parameter:
.../ohif/viewer?StudyInstanceUIDs=XYZ&hangingProtocolId=upfour.

However, I would like to go further, and this is where I am running into limitations with the plugin.

What I would like to achieve :

  1. A customized MPR layout, similar to the mpr layout but with 2 columns and 2 rows

  2. Automatically enable crosshairs, without requiring the user to click on the toolbar toggle

  3. Change the default mouse interactions, for example use stack scroll as the default left-drag tool instead of window/level, and customize other mouse or keyboard bindings if possible.

Is it currently possible using the built-in OHIF plugin of Orthanc?

Thank you very much for your work on Orthanc and for your insights!

Best regards,

Loïc

Hi @Icron


Orthanc project vs. OHIF project

The Orthanc server and the OHIF viewer are fully separate projects, with distinct communities. The OHIF plugin for Orthanc only aims at facilitating the deployment of OHIF through Orthanc.

As a consequence, the OHIF plugin for Orthanc only packages official releases of OHIF.

Furthermore, any question or issue that is related to OHIF must be directly asked to the OHIF community, not to the Orthanc discussion group.


Best,

Alain