Class MaskAsObject

Object
AnchorBean<ComparableSource>
ComparableSource
MaskAsObject

public class MaskAsObject extends ComparableSource
Loads Mask to compared, converting it into an ObjectMask.
Author:
Owen Feehan
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    DerivePath
    Where to find the Mask to compare, as a function of the source file-path.
    StackReader
    How to read the Mask from the file-system.
    boolean
    If true the Mask is inverted before conversion into an ObjectCollection.
    Findable<ObjectCollection>
    loadAsObjects(Path reference, Dimensions dimensions, boolean debugMode, OperationContext context)
     
    void
    setDerivePath(DerivePath derivePath)
    Where to find the Mask to compare, as a function of the source file-path.
    void
    setInvert(boolean invert)
    If true the Mask is inverted before conversion into an ObjectCollection.
    void
    setStackReader(StackReader stackReader)
    How to read the Mask from the file-system.

    Methods inherited from class org.anchoranalysis.bean.AnchorBean

    checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • MaskAsObject

      public MaskAsObject()
  • Method Details

    • loadAsObjects

      public Findable<ObjectCollection> loadAsObjects(Path reference, Dimensions dimensions, boolean debugMode, OperationContext context) throws InputReadFailedException
      Specified by:
      loadAsObjects in class ComparableSource
      Throws:
      InputReadFailedException
    • getDerivePath

      public DerivePath getDerivePath()
      Where to find the Mask to compare, as a function of the source file-path.
    • setDerivePath

      public void setDerivePath(DerivePath derivePath)
      Where to find the Mask to compare, as a function of the source file-path.
    • getStackReader

      public StackReader getStackReader()
      How to read the Mask from the file-system.
    • setStackReader

      public void setStackReader(StackReader stackReader)
      How to read the Mask from the file-system.
    • isInvert

      public boolean isInvert()
      If true the Mask is inverted before conversion into an ObjectCollection.
    • setInvert

      public void setInvert(boolean invert)
      If true the Mask is inverted before conversion into an ObjectCollection.