Class FitPoints
- All Implemented Interfaces:
CompatibleWithMark
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe logger for recording errors.ThePointsFitterused to fit points to a mark.ThePointsProposerused to generate points.booleanisCompatibleWith(Mark testMark) Tests if the implementing object is compatible with a mark of a particular type.booleanWhether to report fitter errors.booleanpropose(VoxelizedMarkMemo inputMark, ProposerContext context) Proposes changes to the input mark according to the internal rules of the proposer.voidsetPointsFitter(PointsFitter pointsFitter) ThePointsFitterused to fit points to a mark.voidsetPointsProposer(PointsProposer pointsProposer) ThePointsProposerused to generate points.voidsetReportFitterErrors(boolean reportFitterErrors) Whether to report fitter errors.Methods inherited from class org.anchoranalysis.mpp.bean.MarksBean
initializerForMarksBeansMethods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitializationMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
FitPoints
public FitPoints()
-
-
Method Details
-
isCompatibleWith
Description copied from interface:CompatibleWithMarkTests 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:MarkProposerProposes changes to the input mark according to the internal rules of the proposer.- Specified by:
proposein classMarkProposer- Parameters:
inputMark- the mark to be modifiedcontext- the context for the proposal- Returns:
- true if changes were proposed and applied, false otherwise
- Throws:
ProposalAbnormalFailureException- if the proposal fails abnormally
-
getPointsProposer
ThePointsProposerused to generate points. -
setPointsProposer
ThePointsProposerused to generate points. -
getPointsFitter
ThePointsFitterused to fit points to a mark. -
setPointsFitter
ThePointsFitterused 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
The logger for recording errors.- Overrides:
getLoggerin classInitializableBean<MarkProposer,MarksInitialization> - Returns:
- the logger.
-