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 DimensionsCreates the dimensions using the specifiedDimensionsProvider.Provider for the dimensions to be used.voidsetDimensions(DimensionsProvider dimensions) Provider for the dimensions to be used.Methods inherited from class org.anchoranalysis.image.bean.provider.ObjectCollectionProviderUnary
createFromObjects, get, getObjects, setObjectsMethods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitializationMethods 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.
-