Class WithDimensionsBase

Object
AnchorBean<ObjectCollectionProvider>
InitializableBean<ObjectCollectionProvider, ImageInitialization>
ImageBean<ObjectCollectionProvider>
ObjectCollectionProvider
ObjectCollectionProviderUnary
WithDimensionsBase
All Implemented Interfaces:
Provider<ObjectCollection>
Direct Known Subclasses:
ExtendInZ, RemoveIntersectingVoxels, RemoveTouchingBorder, Scale, SplitByObjects

public abstract class WithDimensionsBase extends ObjectCollectionProviderUnary
Base class for ObjectCollectionProviderUnary classes that require dimensions to be specified.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Dimensions
    Creates the dimensions using the specified DimensionsProvider.
    DimensionsProvider
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • WithDimensionsBase

      public WithDimensionsBase()
  • Method Details

    • createDimensions

      protected Dimensions createDimensions() throws ProvisionFailedException
      Creates the dimensions using the specified DimensionsProvider.
      Returns:
      the created dimensions
      Throws:
      ProvisionFailedException - if creating the dimensions fails
    • getDimensions

      public DimensionsProvider getDimensions()
      Provider for the dimensions to be used. Defaults to GuessDimensions.
    • setDimensions

      public void setDimensions(DimensionsProvider dimensions)
      Provider for the dimensions to be used. Defaults to GuessDimensions.