OOF2: The Manual

Name

OOF.Graphics_n.Toolbox.Pixel_Select.Undo — Undo the selection.

Synopsis

OOF.Graphics_n.Toolbox.Pixel_Select.Undo(source)

Details

  • Parent Menu: OOF.Graphics_n.Toolbox.Pixel_Select
  • Callback: function PixelSelectToolbox.undoCB in module ooflib.common.IO.genericselecttoolbox
  • Parameters:

    source
    Microstructure or Image Type: The path to an OOF2 object.

Description

Undo the previous Pixel selection in the Microstructure or Image named in the source parameter. Undone selections can be redone with the Redo command.

Selections are stored in a buffer with a finite size, which limits the number of operations that can be undone. When the buffer is full, old selections will be lost when new selections are made. The size of the buffer can be changed by OOF.Settings.UndoBuffer_Size.

This command is equivalent to OOF.PixelSelection.Undo, which performs the same task from the main OOF2 window.