About vtkResliceCursorWidget

hi, in the vtkResliceCursorWidget example used according to the official documentation, I found that after using the real DICOM data, when I rotated it I found other white padding in the background, which I hope to eliminate. thank you!
vtk.js:25.6.0

Looks like close to my issue in the topic: https://discourse.vtk.org/t/problem-with-imagereslice/9705, you need to set the background color.

1 Like

Your help was very much appreciated.