Class FitPointsFromObjects
- All Implemented Interfaces:
Provider<MarkCollection>
A
MarkCollectionProvider that fits points from objects to create marks.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()Gets or creates an object of typeT.TheMarkFactoryused to create new marks.ThePointsFitterToMarkused to fit points to marks.booleanIf true, reduces the set of points by applying a convex-hull operation.booleanIf true, ignores fitting failures and continues processing.voidsetConvexHull(boolean convexHull) If true, reduces the set of points by applying a convex-hull operation.voidsetIgnoreFittingFailure(boolean ignoreFittingFailure) If true, ignores fitting failures and continues processing.voidsetMarkFactory(MarkFactory markFactory) TheMarkFactoryused to create new marks.voidsetPointsFitter(PointsFitterToMark pointsFitter) ThePointsFitterToMarkused to fit points to marks.Methods inherited from class org.anchoranalysis.mpp.bean.MarksBean
initializerForMarksBeansMethods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, 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
-
FitPointsFromObjects
public FitPointsFromObjects()
-
-
Method Details
-
get
Description copied from interface:ProviderGets or creates an object of typeT.- Returns:
- the object returned by the provider.
- Throws:
ProvisionFailedException- if the object cannot be returned.
-
getPointsFitter
ThePointsFitterToMarkused to fit points to marks. -
setPointsFitter
ThePointsFitterToMarkused to fit points to marks. -
getMarkFactory
TheMarkFactoryused to create new marks. -
setMarkFactory
TheMarkFactoryused to create new marks. -
isConvexHull
public boolean isConvexHull()If true, reduces the set of points by applying a convex-hull operation. -
setConvexHull
public void setConvexHull(boolean convexHull) If true, reduces the set of points by applying a convex-hull operation. -
isIgnoreFittingFailure
public boolean isIgnoreFittingFailure()If true, ignores fitting failures and continues processing. If false, throws an exception on fitting failure. -
setIgnoreFittingFailure
public void setIgnoreFittingFailure(boolean ignoreFittingFailure) If true, ignores fitting failures and continues processing. If false, throws an exception on fitting failure.
-