Class IfStackExists
- All Implemented Interfaces:
Provider<Mask>,ProviderAsStack
The current
mask is a particular stack exists (at least one on voxel) otherwise
maskElse is returned.- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanEvaluates a predicate condition on the input mask.voidsetStackID(String stackID) Methods inherited from class org.anchoranalysis.plugin.image.bean.mask.provider.predicate.IfPredicateBase
createFromMask, getMaskElse, setMaskElseMethods inherited from class org.anchoranalysis.image.bean.provider.MaskProviderUnary
get, getMask, setMaskMethods inherited from class org.anchoranalysis.image.bean.provider.MaskProvider
getAsStackMethods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitializationMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
IfStackExists
public IfStackExists()
-
-
Method Details
-
predicate
Description copied from class:IfPredicateBaseEvaluates a predicate condition on the input mask.- Specified by:
predicatein classIfPredicateBase- Parameters:
mask- the inputMaskto evaluate- Returns:
- true if the predicate condition is satisfied, false otherwise
- Throws:
ProvisionFailedException- if there's an error during predicate evaluation
-
getStackID
-
setStackID
-