I am currently working on developing a custom program using 3D Slicer and have a question I’d like to discuss in here.
We need for an undo-redo feature for all functions (including camera view adjustments).
Upon my investigation, it seems this feature is not currently implemented. I also get to find “UndoEnabledOn” function but could not find example for all process, only fiducial.
We has considered saving executed functions (such as Python scripts) separately and then reverting by executing those or saving states at specific timelines.
What would be the most efficient way to implement an undo-redo feature?