Undo redo of the widgets

I have a general question. I wonder if there is any class in vtk to track the status of the widgets to undo redo changes of the widgets as qt has an stack for changes or It has to be implemented from the very beginning.

Thank you

Undo/redo would be very hard to implement at the level of a visualization library. Undo/redo, saving and restoring state of widgets, etc. are implemented at application level, for example in ParaView and 3D Slicer. If you build your application on these existing free, open-source frameworks then you get such features for free.

1 Like

Yes, I am doing it by myself. I help myself a bit with the paraview code. Yes it is a lot of work and it is very application dependent in my case. It think it would be hard to do it in general for all widgets.