Class SplitByObjects
- All Implemented Interfaces:
Provider<ObjectCollection>
Splits objects in a collection based on intersections with another set of objects.
This class extends WithDimensionsBase
to provide functionality for splitting objects
in one collection based on their intersections with objects in another collection.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateFromObjects
(ObjectCollection objectCollection) Creates aObjectCollection
given the entity provided by the delegate.Provider for the collection of objects used to split the input objects.void
setObjectsSplitBy
(ObjectCollectionProvider objectsSplitBy) Provider for the collection of objects used to split the input objects.Methods inherited from class org.anchoranalysis.plugin.image.bean.object.provider.WithDimensionsBase
createDimensions, getDimensions, setDimensions
Methods inherited from class org.anchoranalysis.image.bean.provider.ObjectCollectionProviderUnary
get, getObjects, setObjects
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
-
SplitByObjects
public SplitByObjects()
-
-
Method Details
-
createFromObjects
public ObjectCollection createFromObjects(ObjectCollection objectCollection) throws ProvisionFailedException Description copied from class:ObjectCollectionProviderUnary
Creates aObjectCollection
given the entity provided by the delegate.- Specified by:
createFromObjects
in classObjectCollectionProviderUnary
- Parameters:
objectCollection
- the entity provided by the delegate.- Returns:
- the created
ObjectCollection
that is returned by the provider. - Throws:
ProvisionFailedException
- if the provider cannot complete successfully.
-
getObjectsSplitBy
Provider for the collection of objects used to split the input objects. -
setObjectsSplitBy
Provider for the collection of objects used to split the input objects.
-