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

Method showSlice

ij/src/main/java/ij/gui/StackWindow.java:326–331  ·  view source on GitHub ↗

Displays the specified slice and updates the stack scrollbar.

(int index)

Source from the content-addressed store, hash-verified

324
325 /** Displays the specified slice and updates the stack scrollbar. */
326 public void showSlice(int index) {
327 if (imp!=null && index>=1 && index<=imp.getStackSize()) {
328 setSlice(imp,index);
329 SyncWindows.setZ(this, index);
330 }
331 }
332
333 /** Updates the stack scrollbar. */
334 public void updateSliceSelector() {

Callers 4

startAnimationMethod · 0.45
nextSliceMethod · 0.45
previousSliceMethod · 0.45
changeSliceMethod · 0.45

Calls 3

setSliceMethod · 0.95
setZMethod · 0.95
getStackSizeMethod · 0.45

Tested by

no test coverage detected