Ticket #10446 (new)
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.