MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / reset

Method reset

ij/src/main/java/ij/plugin/frame/RoiManager.java:2462–2470  ·  view source on GitHub ↗

Clears this RoiManager so that it contains no ROIs.

()

Source from the content-addressed store, hash-verified

2460
2461 /** Clears this RoiManager so that it contains no ROIs. */
2462 public void reset() {
2463 if (IJ.isMacOSX() && IJ.isMacro())
2464 ignoreInterrupts = true;
2465 if (listModel!=null)
2466 listModel.removeAllElements();
2467 overlayTemplate = null;
2468 rois.clear();
2469 updateShowAll();
2470 }
2471
2472 private void scale() {
2473 GenericDialog gd = new GenericDialog("Scale");

Callers 3

freshStartMethod · 0.95
runCommandMethod · 0.95
setOverlayMethod · 0.95

Calls 4

isMacOSXMethod · 0.95
isMacroMethod · 0.95
updateShowAllMethod · 0.95
clearMethod · 0.45

Tested by

no test coverage detected