Creating an Inverse Cropping Widget

Hi ,

I need to create an “inverse widget” using vtkImageCroppingWidget in VTK.js. Specifically, I want the area outside the cropping box to be visible and the area inside the box to be invisible.

Are there any best practices or alternative methods to achieve this effect?

Thank you for your guidance and suggestions!