Class Undo
java.lang.Object
ij.Undo
This class consists of static methods and
fields that implement ImageJ's Undo command.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intUndo using ImageProcessor.snapshot.static final intstatic final intstatic final intUndo of overlay modificationstatic final intstatic final intstatic final intstatic final intUndo using a single image, or composite color stack, copy (limited to 200MB).static final intUndo using an ImageProcessor copy. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NOTHING
public static final int NOTHING- See Also:
-
FILTER
public static final int FILTERUndo using ImageProcessor.snapshot.- See Also:
-
TYPE_CONVERSION
public static final int TYPE_CONVERSIONUndo using an ImageProcessor copy.- See Also:
-
PASTE
public static final int PASTE- See Also:
-
COMPOUND_FILTER
public static final int COMPOUND_FILTER- See Also:
-
COMPOUND_FILTER_DONE
public static final int COMPOUND_FILTER_DONE- See Also:
-
TRANSFORM
public static final int TRANSFORMUndo using a single image, or composite color stack, copy (limited to 200MB).- See Also:
-
OVERLAY_ADDITION
public static final int OVERLAY_ADDITION- See Also:
-
ROI
public static final int ROI- See Also:
-
MACRO
public static final int MACRO- See Also:
-
OVERLAY
public static final int OVERLAYUndo of overlay modification- See Also:
-
-
Constructor Details
-
Undo
public Undo()
-
-
Method Details
-
setup
-
saveOverlay
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()
-