- java.lang.Object
-
- ij.Undo
-
public class Undo extends Object
This class consists of static methods and fields that implement ImageJ's Undo command.
-
-
Field Summary
Fields Modifier and Type Field Description static intCOMPOUND_FILTERstatic intCOMPOUND_FILTER_DONEstatic intFILTERUndo using ImageProcessor.snapshot.static intMACROstatic intNOTHINGstatic intOVERLAYUndo of overlay modificationstatic intOVERLAY_ADDITIONstatic intPASTEstatic intROIstatic intTRANSFORMUndo using a single image, or composite color stack, copy (limited to 200MB).static intTYPE_CONVERSIONUndo using an ImageProcessor copy.
-
Constructor Summary
Constructors Constructor Description Undo()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidreset()static voidsaveOverlay(ImagePlus imp)This function should be called from PlugInFilters that modify the overlay prior to the operation.static voidsetup(int what, ImagePlus imp)static voidundo()
-
-
-
Field Detail
-
NOTHING
public static final int NOTHING
- See Also:
- Constant Field Values
-
FILTER
public static final int FILTER
Undo using ImageProcessor.snapshot.- See Also:
- Constant Field Values
-
TYPE_CONVERSION
public static final int TYPE_CONVERSION
Undo using an ImageProcessor copy.- See Also:
- Constant Field Values
-
PASTE
public static final int PASTE
- See Also:
- Constant Field Values
-
COMPOUND_FILTER
public static final int COMPOUND_FILTER
- See Also:
- Constant Field Values
-
COMPOUND_FILTER_DONE
public static final int COMPOUND_FILTER_DONE
- See Also:
- Constant Field Values
-
TRANSFORM
public static final int TRANSFORM
Undo using a single image, or composite color stack, copy (limited to 200MB).- See Also:
- Constant Field Values
-
OVERLAY_ADDITION
public static final int OVERLAY_ADDITION
- See Also:
- Constant Field Values
-
ROI
public static final int ROI
- See Also:
- Constant Field Values
-
MACRO
public static final int MACRO
- See Also:
- Constant Field Values
-
OVERLAY
public static final int OVERLAY
Undo of overlay modification- See Also:
- Constant Field Values
-
-
Method Detail
-
setup
public static void setup(int what, ImagePlus imp)
-
saveOverlay
public static void saveOverlay(ImagePlus imp)
This function should be called from PlugInFilters that modify the overlay prior to the operation. For the type 'FILTER', undo of overlays requires that the modified image also has an overlay.
-
reset
public static void reset()
-
undo
public static void undo()
-
-