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

Method setSlice

ij/src/main/java/ij/gui/StackWindow.java:427–433  ·  view source on GitHub ↗
(ImagePlus imp, int n)

Source from the content-addressed store, hash-verified

425 }
426
427 private void setSlice(ImagePlus imp, int n) {
428 if (imp.isLocked()) {
429 IJ.beep();
430 IJ.showStatus("Image is locked");
431 } else
432 imp.setSlice(n);
433 }
434
435 public boolean validDimensions() {
436 int c = imp.getNChannels();

Callers 6

mouseWheelMovedMethod · 0.95
showSliceMethod · 0.95
runMethod · 0.95
StackWindowMethod · 0.45
actionPerformedMethod · 0.45
setPositionMethod · 0.45

Calls 3

beepMethod · 0.95
showStatusMethod · 0.95
isLockedMethod · 0.45

Tested by

no test coverage detected