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

Method hasHyperStackPosition

ij/src/main/java/ij/gui/Roi.java:2273–2278  ·  view source on GitHub ↗

Returns 'true' if setPosition(C,Z,T) has been called.

()

Source from the content-addressed store, hash-verified

2271
2272 /** Returns 'true' if setPosition(C,Z,T) has been called. */
2273 public boolean hasHyperStackPosition() {
2274 if (getPosition()==PointRoi.POINTWISE_POSITION)
2275 return false;
2276 else
2277 return channel>0 || slice>0 || frame>0;
2278 }
2279
2280 /** Sets the position of this ROI based on the stack position of the specified image. */
2281 public void setPosition(ImagePlus imp ) {

Callers 14

activateSelectionMethod · 0.95
addSelectionMethod · 0.95
addRoiMethod · 0.95
renameMethod · 0.95
restoreMethod · 0.95
measureMethod · 0.95
setPropertiesMethod · 0.95
removePositionsMethod · 0.95
getPositionAsStringMethod · 0.95
getZPositionMethod · 0.95
setPositionMethod · 0.80

Calls 1

getPositionMethod · 0.95

Tested by

no test coverage detected