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
.TheMarkFactory
used to create new marks.ThePointsFitterToMark
used to fit points to marks.boolean
If true, reduces the set of points by applying a convex-hull operation.boolean
If true, ignores fitting failures and continues processing.void
setConvexHull
(boolean convexHull) If true, reduces the set of points by applying a convex-hull operation.void
setIgnoreFittingFailure
(boolean ignoreFittingFailure) If true, ignores fitting failures and continues processing.void
setMarkFactory
(MarkFactory markFactory) TheMarkFactory
used to create new marks.void
setPointsFitter
(PointsFitterToMark pointsFitter) ThePointsFitterToMark
used to fit points to marks.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
-
Constructor Details
-
FitPointsFromObjects
public FitPointsFromObjects()
-
-
Method Details
-
get
Description copied from interface:Provider
Gets or creates an object of typeT
.- Returns:
- the object returned by the provider.
- Throws:
ProvisionFailedException
- if the object cannot be returned.
-
getPointsFitter
ThePointsFitterToMark
used to fit points to marks. -
setPointsFitter
ThePointsFitterToMark
used to fit points to marks. -
getMarkFactory
TheMarkFactory
used to create new marks. -
setMarkFactory
TheMarkFactory
used 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.
-