Class WithDimensionsBase
- All Implemented Interfaces:
Provider<ObjectCollection>
- Direct Known Subclasses:
ExtendInZ
,RemoveIntersectingVoxels
,RemoveTouchingBorder
,Scale
,SplitByObjects
Base class for
ObjectCollectionProviderUnary
classes that require dimensions to be
specified.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Dimensions
Creates the dimensions using the specifiedDimensionsProvider
.Provider for the dimensions to be used.void
setDimensions
(DimensionsProvider dimensions) Provider for the dimensions to be used.Methods inherited from class org.anchoranalysis.image.bean.provider.ObjectCollectionProviderUnary
createFromObjects, 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
-
WithDimensionsBase
public WithDimensionsBase()
-
-
Method Details
-
createDimensions
Creates the dimensions using the specifiedDimensionsProvider
.- Returns:
- the created dimensions
- Throws:
ProvisionFailedException
- if creating the dimensions fails
-
getDimensions
Provider for the dimensions to be used. Defaults toGuessDimensions
. -
setDimensions
Provider for the dimensions to be used. Defaults toGuessDimensions
.
-