Class MarkProposer
- All Implemented Interfaces:
CompatibleWithMark
- Direct Known Subclasses:
FitPoints
An abstract base class for proposing changes to a mark.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
propose
(VoxelizedMarkMemo inputMark, ProposerContext context) Proposes changes to the input mark according to the internal rules of the proposer.Methods inherited from class org.anchoranalysis.mpp.bean.MarksBean
initializerForMarksBeans
Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, 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
Methods inherited from interface org.anchoranalysis.mpp.mark.CompatibleWithMark
isCompatibleWith
-
Constructor Details
-
MarkProposer
public MarkProposer()
-
-
Method Details
-
propose
public abstract boolean propose(VoxelizedMarkMemo inputMark, ProposerContext context) throws ProposalAbnormalFailureException Proposes changes to the input mark according to the internal rules of the proposer.- 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
-