Skip to content

Resolve "enh(viz): center the volume rendering around the visible area"

Description

The volume rendering bounding box now takes into account the box crop and the freehand crop. Thus when resetting the camera, the view point is centered and zoomed around the region of interest.

Besides this, I added a parameter to the predefined_camera adaptor to allow adjusting the default zoom level.

Closes #1194 (closed)

How to test it?

  • Run sight_viewer
  • Load an image
  • Use the box crop tool
  • 'R' to reset the camera, it should be centred around the crop area
  • Use the freehand crop tool
  • After validation, it should be centred around the crop area
Edited by Flavien BRIDAULT

Merge request reports