Class FitPoints

Object
AnchorBean<MarkProposer>
InitializableBean<MarkProposer, MarksInitialization>
MarksBean<MarkProposer>
ProposerBean<MarkProposer>
MarkProposer
FitPoints
All Implemented Interfaces:
CompatibleWithMark

public class FitPoints extends MarkProposer
A MarkProposer that fits points to a mark using a PointsProposer and a PointsFitter.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Logger
    The logger for recording errors.
    PointsFitter
    The PointsFitter used to fit points to a mark.
    PointsProposer
    The PointsProposer used to generate points.
    boolean
    isCompatibleWith(Mark testMark)
     
    boolean
    Whether to report fitter errors.
    boolean
    propose(VoxelizedMarkMemo inputMark, ProposerContext context)
     
    void
    setPointsFitter(PointsFitter pointsFitter)
    The PointsFitter used to fit points to a mark.
    void
    setPointsProposer(PointsProposer pointsProposer)
    The PointsProposer used to generate points.
    void
    setReportFitterErrors(boolean reportFitterErrors)
    Whether to report fitter errors.

    Methods inherited from class org.anchoranalysis.mpp.bean.MarksBean

    initializerForMarksBeans

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

    getInitialization, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization

    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

    • FitPoints

      public FitPoints()
  • Method Details

    • isCompatibleWith

      public boolean isCompatibleWith(Mark testMark)
    • propose

      public boolean propose(VoxelizedMarkMemo inputMark, ProposerContext context) throws ProposalAbnormalFailureException
      Specified by:
      propose in class MarkProposer
      Throws:
      ProposalAbnormalFailureException
    • getPointsProposer

      public PointsProposer getPointsProposer()
      The PointsProposer used to generate points.
    • setPointsProposer

      public void setPointsProposer(PointsProposer pointsProposer)
      The PointsProposer used to generate points.
    • getPointsFitter

      public PointsFitter getPointsFitter()
      The PointsFitter used to fit points to a mark.
    • setPointsFitter

      public void setPointsFitter(PointsFitter pointsFitter)
      The PointsFitter used to fit points to a mark.
    • isReportFitterErrors

      public boolean isReportFitterErrors()
      Whether to report fitter errors.
    • setReportFitterErrors

      public void setReportFitterErrors(boolean reportFitterErrors)
      Whether to report fitter errors.
    • getLogger

      public Logger getLogger()
      The logger for recording errors.
      Overrides:
      getLogger in class InitializableBean<MarkProposer, MarksInitialization>