Closed amitantony closed 2 months ago
The issue is that the setting actually changes the cst
(the Visible property in the 5th col).
Are you sure this does not have other consequences (e.g. computing contours?)
I think I encountered some similar thing with objectives, did not want all updates so I defined "cst_obj"
as an event. Maybe something similar would make sense, e.g., "cst_param"
?
Summary of the Viewing Widget doUpdate function :
cst_param
event )ct
and cst
( defined by the event) In summary, The current Fix works as is, But to be more exact and efficient we should modularize the update function to 'UpdateCt', 'UpdateVOIContour', 'UpdateDoseSlice'', etc. ( longer fix )
Yes, there's a few things in the GUI components (especially with regards to update functions) which is a bit annoying to handle. It would probably be more performant as well if only individual components are updated in the ViewingWidget and so son. However, updating the individual plot components might not be as easy. I will test this fix and merge it if it works good enough.
bug fix: Viewing widget doing a full update (skips to isocenter), when select/deselecting structure visibility
expected result: update contour without recentering image and reloading viewingWidget