Class Reference
Object
org.anchoranalysis.bean.AnchorBean<B>
org.anchoranalysis.bean.initializable.InitializableBean<T,org.anchoranalysis.mpp.init.PointsInitialization>
org.anchoranalysis.mpp.bean.points.PointsBean<org.anchoranalysis.mpp.bean.points.fitter.PointsFitter>
org.anchoranalysis.mpp.bean.points.fitter.PointsFitter
org.anchoranalysis.plugin.points.bean.fitter.Reference
- All Implemented Interfaces:
org.anchoranalysis.mpp.mark.CompatibleWithMark
public class Reference
extends org.anchoranalysis.mpp.bean.points.fitter.PointsFitter
A
PointsFitter that references another PointsFitter by its ID.-
Constructor Summary
Constructors Constructor Description Reference() -
Method Summary
Modifier and Type Method Description voidfit(List<org.anchoranalysis.spatial.point.Point3f> points, org.anchoranalysis.mpp.mark.Mark mark, org.anchoranalysis.image.core.dimensions.Dimensions dimensions)StringgetId()The ID of the referencedPointsFitter.booleanisCompatibleWith(org.anchoranalysis.mpp.mark.Mark testMark)voidonInitialization(org.anchoranalysis.mpp.init.PointsInitialization so)voidsetId(String id)The ID of the referencedPointsFitter.Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized
-
Constructor Details
-
Reference
public Reference()
-
-
Method Details
-
onInitialization
public void onInitialization(org.anchoranalysis.mpp.init.PointsInitialization so) throws org.anchoranalysis.core.exception.InitializeException- Overrides:
onInitializationin classorg.anchoranalysis.bean.initializable.InitializableBean<org.anchoranalysis.mpp.bean.points.fitter.PointsFitter,org.anchoranalysis.mpp.init.PointsInitialization>- Throws:
org.anchoranalysis.core.exception.InitializeException
-
isCompatibleWith
public boolean isCompatibleWith(org.anchoranalysis.mpp.mark.Mark testMark) -
fit
public void fit(List<org.anchoranalysis.spatial.point.Point3f> points, org.anchoranalysis.mpp.mark.Mark mark, org.anchoranalysis.image.core.dimensions.Dimensions dimensions) throws org.anchoranalysis.mpp.bean.points.fitter.PointsFitterException, org.anchoranalysis.mpp.bean.points.fitter.InsufficientPointsException- Specified by:
fitin classorg.anchoranalysis.mpp.bean.points.fitter.PointsFitter- Throws:
org.anchoranalysis.mpp.bean.points.fitter.PointsFitterExceptionorg.anchoranalysis.mpp.bean.points.fitter.InsufficientPointsException
-
getId
The ID of the referencedPointsFitter. -
setId
The ID of the referencedPointsFitter.
-