Kitware / itk-vtk-viewer

2D / 3D web image, mesh, and point set viewer using itk-wasm and vtk.js
https://kitware.github.io/itk-vtk-viewer/
BSD 3-Clause "New" or "Revised" License
209 stars 63 forks source link

Bbox #699

Closed bnmajor closed 1 year ago

bnmajor commented 1 year ago

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.

label_bbox

~Currently a draft - Relies on InsightSoftwareConsortium/itk-viewer-icons#5.~

Should help with InsightSoftwareConsortium/itkwidgets#662 and InsightSoftwareConsortium/itkwidgets#663.

thewtex commented 1 year ago

Awesome!!

bnmajor commented 1 year ago

@PaulHax @thewtex This should be ready for review now, icon has been added.

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 14.42.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: