BoxWidget in a vtkMultiVolume renderer with more than one volume


I render three volumes using the vtkMultiVolume renderer.

Know, I need to apply a BoxWidgets to clip/crop the volumes.
However, when I apply the BoxWidget, the Box is shown, but the Volume stays as it is.
When I render only one volume, it works as expected.

Does anyone know if VTK 9.x supports BoxWidgets in vtkMultiVolume renderer?

Thanks you very much.

How are you applying the box to the volume mapper? In the case of vtkMultiVolume you’d have to apply the clip planes to each individual mapper.

Thank you for your answer.

As mapper I use the vtkGPUVolumeRayCastMapper.

I am adding the volume (vtkImageData) as input to the BoxWidget and apply the vtkGPUVolumeRayCastMapper to the Observer: