Add windowing (center and width) to volume rendering

Hi everyone. I’m looking for a way to add windowing to volume render (adjust window center and width) together with current 3d presets. Currently windowing is not supported in VOLUME_3D viewport type, but this feature already exists in Desktop Viewers (confirmed Weasis and Radiant).

Looking at the source code I found that both windowing and 3d presets use “vtkColorTransferFunction” in the volume actor, so I cannot set both at the same time (define a window center/width and apply a color mapping to the volume).

Any idea how to implement this?