public class IfNotEmpty extends IfPredicateBase
mask
is returned if it's non-empty (at least one on voxel) otherwise
maskElse
is returned.Constructor and Description |
---|
IfNotEmpty() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
predicate(Mask mask)
If this evaluates true, the mask will be returned as-is, otherwise
maskElse is
returned |
createFromMask, getMaskElse, setMaskElse
get, getMask, setMask
getAsStack
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
protected boolean predicate(Mask mask)
IfPredicateBase
maskElse
is
returnedpredicate
in class IfPredicateBase
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.