Class SpecifyDimensions

Object
AnchorBean<DimensionsProvider>
InitializableBean<DimensionsProvider, ImageInitialization>
ImageBean<DimensionsProvider>
DimensionsProvider
SpecifyDimensions
All Implemented Interfaces:
Provider<Dimensions>

public class SpecifyDimensions extends DimensionsProvider
Specifies dimensions explicitly via bean properties.

No resolution information is assigned.

Author:
Owen Feehan
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    SpecifyDimensions(int sizeX, int sizeY)
    Create with specific lengths for X and Y dimensions.
    SpecifyDimensions(SizeXY sizeXY)
    Create with specific lengths for X and Y dimensions.
  • Method Summary

    Modifier and Type
    Method
    Description
    Dimensions
    get()
     
    SizeXY
    Length of X and Y dimensions.
    int
    Length of Z dimension.
    void
    setSizeXY(SizeXY sizeXY)
    Length of X and Y dimensions.
    void
    setSizeZ(int sizeZ)
    Length of Z dimension.

    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

    • SpecifyDimensions

      public SpecifyDimensions(int sizeX, int sizeY)
      Create with specific lengths for X and Y dimensions.
      Parameters:
      sizeX - the size of the X-dimension.
      sizeY - the size of the X-dimension.
    • SpecifyDimensions

      public SpecifyDimensions(SizeXY sizeXY)
      Create with specific lengths for X and Y dimensions.
      Parameters:
      sizeXY - the size.
    • SpecifyDimensions

      public SpecifyDimensions()
  • Method Details

    • get

      public Dimensions get()
    • getSizeXY

      public SizeXY getSizeXY()
      Length of X and Y dimensions.
    • setSizeXY

      public void setSizeXY(SizeXY sizeXY)
      Length of X and Y dimensions.
    • getSizeZ

      public int getSizeZ()
      Length of Z dimension.
    • setSizeZ

      public void setSizeZ(int sizeZ)
      Length of Z dimension.