apply undo/redo on a vtkActor

How can i apply a undo/redo action on a Actor so that I can comeback to the previous movement of the actor?