Encode volume rendering preset in single mrml file

Hi folks–quick question:

We are trying to make a very portable version of some volume files with Slicer, such that we could simply send a master .mrml file (along with the .mhd and .raw) files to a user, who could simply open Slicer to the preferred view of the volume by clicking & opening the mrml file.

Is it possible to encode a set of desired volume properties into the mrml file, such that this option would be included in the presets under the Volume Rendering module? (right next to the “CT-AAA”, “MR-MIP”, options etc.).

Alternatively, could the mrml file be specified simply to open to these custom volume properties/volume view? (no need to click through volume rendering & select a preset)

Many thanks.

I think you can do these by creating “Scene views”. It remembers not just volume rendering options, but all other view settings, you get a thumbnail and can specify a name and description. User can switch between scene views in “Scene views” module. It is important that nodes should not be added or removed from the scene after scene views are created.

You also have the option of saving a ‘medical reality bundle’ (.mrb extension) which puts the mrml scene file together with the data into a single file that will open up with the pre-defined views.

https://www.slicer.org/wiki/Documentation/4.10/SlicerApplication/SavingData#Save_Options

1 Like