Class PointsFitterToMark
A bean for fitting points to a mark using a specified points fitter.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates and returns theDimensionsusing the specified provider.Creates and returns theObjectCollectionusing the specified provider.voidfitPointsToMark(List<Point3f> pointsForFitter, Mark mark, Dimensions dim) Fits a list of points to a mark using the specified points fitter.Provides theDimensionsfor the fitting operation.intThe minimum number of points required for fitting.Provides theObjectCollectionto be used in the fitting process.ThePointsFitterused to fit points to a mark.voidsetDimensions(DimensionsProvider dimensions) Provides theDimensionsfor the fitting operation.voidsetMinNumPoints(int minNumPoints) The minimum number of points required for fitting.voidsetObjects(ObjectCollectionProvider objects) Provides theObjectCollectionto be used in the fitting process.voidsetPointsFitter(PointsFitter pointsFitter) ThePointsFitterused to fit points to a mark.Methods 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
-
PointsFitterToMark
public PointsFitterToMark()
-
-
Method Details
-
fitPointsToMark
public void fitPointsToMark(List<Point3f> pointsForFitter, Mark mark, Dimensions dim) throws OperationFailedException Fits a list of points to a mark using the specified points fitter.- Parameters:
pointsForFitter- the list ofPoint3fto fitmark- theMarkto fit the points todim- theDimensionsof the image- Throws:
OperationFailedException- if the fitting operation fails
-
createObjects
Creates and returns theObjectCollectionusing the specified provider.- Returns:
- the created
ObjectCollection - Throws:
ProvisionFailedException- if the object collection cannot be created
-
createDim
Creates and returns theDimensionsusing the specified provider.- Returns:
- the created
Dimensions - Throws:
ProvisionFailedException- if the dimensions cannot be created
-
getPointsFitter
ThePointsFitterused to fit points to a mark. -
setPointsFitter
ThePointsFitterused to fit points to a mark. -
getDimensions
Provides theDimensionsfor the fitting operation. -
setDimensions
Provides theDimensionsfor the fitting operation. -
getMinNumPoints
public int getMinNumPoints()The minimum number of points required for fitting. Objects with fewer points are ignored. -
setMinNumPoints
public void setMinNumPoints(int minNumPoints) The minimum number of points required for fitting. Objects with fewer points are ignored. -
getObjects
Provides theObjectCollectionto be used in the fitting process. -
setObjects
Provides theObjectCollectionto be used in the fitting process.
-