Class CalculateIntersecting
Object
org.anchoranalysis.feature.calculate.part.CalculationPart<S,T>
org.anchoranalysis.plugin.image.feature.object.calculation.delegate.CalculateInputFromDelegate<org.anchoranalysis.image.feature.input.FeatureInputPairObjects,org.anchoranalysis.image.feature.input.FeatureInputSingleObject,org.anchoranalysis.image.voxel.object.ObjectCollection>
org.anchoranalysis.plugin.image.feature.bean.object.single.shared.intersecting.CalculateIntersecting
- All Implemented Interfaces:
org.anchoranalysis.feature.calculate.cache.ResettableCalculation
public class CalculateIntersecting extends CalculateInputFromDelegate<org.anchoranalysis.image.feature.input.FeatureInputPairObjects,org.anchoranalysis.image.feature.input.FeatureInputSingleObject,org.anchoranalysis.image.voxel.object.ObjectCollection>
Calculates a
FeatureInputPairObjects from a FeatureInputSingleObject and an
intersecting ObjectCollection.-
Constructor Summary
Constructors Constructor Description CalculateIntersecting(org.anchoranalysis.feature.calculate.cache.part.ResolvedPart<org.anchoranalysis.image.voxel.object.ObjectCollection,org.anchoranalysis.image.feature.input.FeatureInputSingleObject> intersecting, int index)Creates a newCalculateIntersectinginstance. -
Method Summary
Modifier and Type Method Description protected booleancanEqual(Object other)protected org.anchoranalysis.image.feature.input.FeatureInputPairObjectsderiveFromDelegate(org.anchoranalysis.image.feature.input.FeatureInputSingleObject input, org.anchoranalysis.image.voxel.object.ObjectCollection delegate)Derives the result from the delegate calculation.booleanequals(Object o)inthashCode()Methods inherited from class org.anchoranalysis.plugin.image.feature.object.calculation.delegate.CalculateInputFromDelegate
execute, getDelegate
-
Constructor Details
-
CalculateIntersecting
public CalculateIntersecting(org.anchoranalysis.feature.calculate.cache.part.ResolvedPart<org.anchoranalysis.image.voxel.object.ObjectCollection,org.anchoranalysis.image.feature.input.FeatureInputSingleObject> intersecting, int index)Creates a newCalculateIntersectinginstance.- Parameters:
intersecting- the resolved part containing the intersecting objectsindex- the index of the object in the intersecting collection to use
-
-
Method Details
-
deriveFromDelegate
protected org.anchoranalysis.image.feature.input.FeatureInputPairObjects deriveFromDelegate(org.anchoranalysis.image.feature.input.FeatureInputSingleObject input, org.anchoranalysis.image.voxel.object.ObjectCollection delegate)Description copied from class:CalculateInputFromDelegateDerives the result from the delegate calculation.- Specified by:
deriveFromDelegatein classCalculateInputFromDelegate<org.anchoranalysis.image.feature.input.FeatureInputPairObjects,org.anchoranalysis.image.feature.input.FeatureInputSingleObject,org.anchoranalysis.image.voxel.object.ObjectCollection>- Parameters:
input- the input for the calculationdelegate- the result of the delegate calculation- Returns:
- the derived result
-
equals
- Overrides:
equalsin classCalculateInputFromDelegate<org.anchoranalysis.image.feature.input.FeatureInputPairObjects,org.anchoranalysis.image.feature.input.FeatureInputSingleObject,org.anchoranalysis.image.voxel.object.ObjectCollection>
-
canEqual
- Overrides:
canEqualin classCalculateInputFromDelegate<org.anchoranalysis.image.feature.input.FeatureInputPairObjects,org.anchoranalysis.image.feature.input.FeatureInputSingleObject,org.anchoranalysis.image.voxel.object.ObjectCollection>
-
hashCode
public int hashCode()- Overrides:
hashCodein classCalculateInputFromDelegate<org.anchoranalysis.image.feature.input.FeatureInputPairObjects,org.anchoranalysis.image.feature.input.FeatureInputSingleObject,org.anchoranalysis.image.voxel.object.ObjectCollection>
-