Class 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 Details

    • FitPoints

      public FitPoints()
  • Method Details

    • isCompatibleWith

      public boolean isCompatibleWith(Mark testMark)
      Description copied from interface: CompatibleWithMark
      Tests if the implementing object is compatible with a mark of a particular type.
      Parameters:
      testMark - the mark to test for compatibility
      Returns:
      true if the implementing object is compatible with the given mark, false otherwise
    • propose

      public boolean propose(VoxelizedMarkMemo inputMark, ProposerContext context) throws ProposalAbnormalFailureException
      Description copied from class: MarkProposer
      Proposes changes to the input mark according to the internal rules of the proposer.
      Specified by:
      propose in class MarkProposer
      Parameters:
      inputMark - the mark to be modified
      context - the context for the proposal
      Returns:
      true if changes were proposed and applied, false otherwise
      Throws:
      ProposalAbnormalFailureException - if the proposal fails abnormally
    • 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>
      Returns:
      the logger.