public abstract class MergeWithFeature extends MergeWithOptionalDistanceConstraint
MergeBase.MergeObjects
Constructor and Description |
---|
MergeWithFeature() |
Modifier and Type | Method and Description |
---|---|
ObjectCollection |
createFromObjects(ObjectCollection objectsSource)
Creates a
ObjectCollection given the entity provided by the delegate. |
protected abstract PayloadCalculator |
createPayloadCalculator()
Determines the payload for any given or potential vertex
|
protected abstract AssignPriority |
createPrioritizer()
Determines the priority (and selection criteria) used to allow merges between neighbors
|
protected abstract boolean |
isPlayloadUsed()
Is the payload considered in making decisions? (iff false, payload of nodes is irrelvant)
|
boolean |
isRequireBBoxNeighbors()
Requires for any potential merge that the bounding-boxes of the two objects must intersect or
touch
|
boolean |
isRequireTouching()
Requires the object-masks to touch.
|
void |
setRequireBBoxNeighbors(boolean requireBBoxNeighbors)
Requires for any potential merge that the bounding-boxes of the two objects must intersect or
touch
|
void |
setRequireTouching(boolean requireTouching)
Requires the object-masks to touch.
|
getMaxDistance, isSuppressZ, maybeDistanceCondition, setMaxDistance, setSuppressZ
getDimensions, mergeMultiplex, resolutionRequired, setDimensions, unitConvertOptional
containerOptional, containerRequired, getObjectsContainer, setObjectsContainer
get, getObjects, setObjects
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public ObjectCollection createFromObjects(ObjectCollection objectsSource) throws ProvisionFailedException
ObjectCollectionProviderUnary
ObjectCollection
given the entity provided by the delegate.createFromObjects
in class ObjectCollectionProviderUnary
objectsSource
- the entity provided by the delegate.ObjectCollection
that is returned by the provider.ProvisionFailedException
- if the provider cannot complete successfully.protected abstract PayloadCalculator createPayloadCalculator() throws OperationFailedException
OperationFailedException
protected abstract AssignPriority createPrioritizer() throws OperationFailedException
OperationFailedException
protected abstract boolean isPlayloadUsed()
public boolean isRequireBBoxNeighbors()
public void setRequireBBoxNeighbors(boolean requireBBoxNeighbors)
public boolean isRequireTouching()
requireBBoxNeighbors
condition.public void setRequireTouching(boolean requireTouching)
requireBBoxNeighbors
condition.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.