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

Method addRoi

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

Adds the specified ROI.

(Roi roi)

Source from the content-addressed store, hash-verified

423
424 /** Adds the specified ROI. */
425 public void addRoi(Roi roi) {
426 allowDuplicates = true;
427 addRoi(roi, false, null, -1);
428 }
429
430 boolean addRoi(boolean promptForName) {
431 return addRoi(null, promptForName, null, -1);

Callers 5

runMethod · 0.95
addMethod · 0.95
addAndDrawMethod · 0.95
splitMethod · 0.95
runCommandMethod · 0.95

Calls 15

logMethod · 0.95
getImageMethod · 0.95
getCurrentImageMethod · 0.95
getRoiMethod · 0.95
errorMethod · 0.95
getCountMethod · 0.95
getCurrentSliceMethod · 0.95
isMacroMethod · 0.95
getSliceNumberMethod · 0.95
getIDMethod · 0.95
isBatchModeMethod · 0.95
isStandardNameMethod · 0.95

Tested by

no test coverage detected