edu.jhu.tmaj.beans.masks.meta
Class MetaMask
java.lang.Object
edu.jhu.tmaj.beans.masks.AbstractMask
edu.jhu.tmaj.beans.masks.meta.MetaMask
- All Implemented Interfaces:
- Mask, java.io.Serializable, java.lang.Comparable<Mask>
public final class MetaMask
- extends AbstractMask
- implements Mask, java.io.Serializable
Represents a mask of masks. This mask is created by starting with either everything or nothing
and then by adding or subtracting other masks. A meta mask may contain other meta-masks.
- See Also:
- Serialized Form
Constructor Summary |
MetaMask(java.lang.String title)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.lang.Comparable |
compareTo |
MetaMask
public MetaMask(java.lang.String title)
updateMaskSpecifics
protected void updateMaskSpecifics(Mask mask)
- Specified by:
updateMaskSpecifics
in class AbstractMask
addActionMaskInfo
public void addActionMaskInfo(ActionMaskInfo actionMaskInfo)
clearActionMaskInfo
public void clearActionMaskInfo()
getMask
public boolean[] getMask(ij.ImagePlus imagePlus,
ExternalFile file)
- Specified by:
getMask
in interface Mask
getActionMaskInfoList
public java.util.List<ActionMaskInfo> getActionMaskInfoList()
- Returns the ActionMaskInfos Objects in order.
getActionMaskInfoSet
public java.util.Set<ActionMaskInfo> getActionMaskInfoSet()
- Gets a list of all the masks in order that are to be added and subtracted in this meta-mask.
getReferencedMasks
public java.util.Set<Mask> getReferencedMasks()