This PR adds a button that allows the user to toggle on/off a label image bounding box. This will be useful when trying to visualize the actual bounds of a label image when it is not rendered as expected. ~This currently only adds this feature for the label image. This can be changed if the feature should be available for all images (moving, fixed, label, etc).~ This now supports displaying the bounding box for any image layer.
~Currently a draft - Relies on InsightSoftwareConsortium/itk-viewer-icons#5.~
Should help with InsightSoftwareConsortium/itkwidgets#662 and InsightSoftwareConsortium/itkwidgets#663.
This PR adds a button that allows the user to toggle on/off a label image bounding box. This will be useful when trying to visualize the actual bounds of a label image when it is not rendered as expected. ~This currently only adds this feature for the label image. This can be changed if the feature should be available for all images (moving, fixed, label, etc).~ This now supports displaying the bounding box for any image layer.
~Currently a draft - Relies on InsightSoftwareConsortium/itk-viewer-icons#5.~
Should help with InsightSoftwareConsortium/itkwidgets#662 and InsightSoftwareConsortium/itkwidgets#663.