Class Reference

Object
org.anchoranalysis.bean.AnchorBean<B>
org.anchoranalysis.bean.initializable.InitializableBean<T,​org.anchoranalysis.mpp.init.PointsInitialization>
org.anchoranalysis.mpp.bean.points.PointsBean<org.anchoranalysis.mpp.bean.points.fitter.PointsFitter>
org.anchoranalysis.mpp.bean.points.fitter.PointsFitter
org.anchoranalysis.plugin.points.bean.fitter.Reference
All Implemented Interfaces:
org.anchoranalysis.mpp.mark.CompatibleWithMark

public class Reference
extends org.anchoranalysis.mpp.bean.points.fitter.PointsFitter
A PointsFitter that references another PointsFitter by its ID.
  • Constructor Summary

    Constructors 
    Constructor Description
    Reference()  
  • Method Summary

    Modifier and Type Method Description
    void fit​(List<org.anchoranalysis.spatial.point.Point3f> points, org.anchoranalysis.mpp.mark.Mark mark, org.anchoranalysis.image.core.dimensions.Dimensions dimensions)  
    String getId()
    The ID of the referenced PointsFitter.
    boolean isCompatibleWith​(org.anchoranalysis.mpp.mark.Mark testMark)  
    void onInitialization​(org.anchoranalysis.mpp.init.PointsInitialization so)  
    void setId​(String id)
    The ID of the referenced PointsFitter.

    Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean

    getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized

    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

  • Method Details

    • onInitialization

      public void onInitialization​(org.anchoranalysis.mpp.init.PointsInitialization so) throws org.anchoranalysis.core.exception.InitializeException
      Overrides:
      onInitialization in class org.anchoranalysis.bean.initializable.InitializableBean<org.anchoranalysis.mpp.bean.points.fitter.PointsFitter,​org.anchoranalysis.mpp.init.PointsInitialization>
      Throws:
      org.anchoranalysis.core.exception.InitializeException
    • isCompatibleWith

      public boolean isCompatibleWith​(org.anchoranalysis.mpp.mark.Mark testMark)
    • fit

      public void fit​(List<org.anchoranalysis.spatial.point.Point3f> points, org.anchoranalysis.mpp.mark.Mark mark, org.anchoranalysis.image.core.dimensions.Dimensions dimensions) throws org.anchoranalysis.mpp.bean.points.fitter.PointsFitterException, org.anchoranalysis.mpp.bean.points.fitter.InsufficientPointsException
      Specified by:
      fit in class org.anchoranalysis.mpp.bean.points.fitter.PointsFitter
      Throws:
      org.anchoranalysis.mpp.bean.points.fitter.PointsFitterException
      org.anchoranalysis.mpp.bean.points.fitter.InsufficientPointsException
    • getId

      public String getId()
      The ID of the referenced PointsFitter.
    • setId

      public void setId​(String id)
      The ID of the referenced PointsFitter.