Ticket #10446 (new)

Opened 6 years ago

Last modified 5 years ago

SliceViewerWindow should have a refresh/update method to change the workspace data

Reported by: Federico M Pouzols Owned by:
Priority: minor Milestone: Backlog
Component: GUI Keywords:
Cc: Blocked By:
Blocking: Tester:

Description (last modified by Federico M Pouzols) (diff)

This method would make it possible to update the slice viewer window with a different workspace/underlying data.

The idea is that if one is using a single slice viewer window instance, it should not be necessary to close it and open a new one to visualize a different workspace.

I'd say that this is possible through SliceViewerWindow::getSlicer(), and SliceViewer::setWorkspace(), but it needs to be tested (potentially amended) and documented.

This is related to/motivated by ticket #8091.

Destroying a slice viewer window and creating a new one does not seem to take a significant amount of time, at least in the few tests that I did. So I'd say that ticket has a low benefit/effort ratio and consequently low priority, as it may require careful testing of proper initialization, etc.

This ticket is a brother of #10445 and #10447.

Change History

comment:1 Changed 6 years ago by Federico M Pouzols

  • Description modified (diff)

comment:2 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 11288

Note: See TracTickets for help on using tickets.