Package net.imglib2

Class AbstractWrappedRealInterval<I extends RealInterval>

java.lang.Object
net.imglib2.AbstractWrappedRealInterval<I>
All Implemented Interfaces:
EuclideanSpace, RealInterval
Direct Known Subclasses:
AbstractWrappedInterval, ConvertedRealRandomAccessibleRealInterval

public abstract class AbstractWrappedRealInterval<I extends RealInterval> extends Object implements RealInterval
Convenient base class for IterableRealIntervals, etc that forward the RealInterval interface to, for example, their source accessible.
Author:
Tobias Pietzsch
  • Field Details

    • sourceInterval

      protected final I extends RealInterval sourceInterval
  • Constructor Details

    • AbstractWrappedRealInterval

      public AbstractWrappedRealInterval(I source)
  • Method Details

    • realMin

      public double realMin(int d)
      Description copied from interface: RealInterval
      Get the minimum in dimension d.
      Specified by:
      realMin in interface RealInterval
      Parameters:
      d - dimension
      Returns:
      minimum in dimension d.
    • realMin

      public void realMin(double[] min)
      Description copied from interface: RealInterval
      Write the minimum of each dimension into double[].
      Specified by:
      realMin in interface RealInterval
      Parameters:
      min -
    • realMin

      public void realMin(RealPositionable min)
      Description copied from interface: RealInterval
      Sets a RealPositionable to the minimum of this Interval
      Specified by:
      realMin in interface RealInterval
      Parameters:
      min -
    • realMax

      public double realMax(int d)
      Description copied from interface: RealInterval
      Get the maximum in dimension d.
      Specified by:
      realMax in interface RealInterval
      Parameters:
      d - dimension
      Returns:
      maximum in dimension d.
    • realMax

      public void realMax(double[] max)
      Description copied from interface: RealInterval
      Write the maximum of each dimension into double[].
      Specified by:
      realMax in interface RealInterval
      Parameters:
      max -
    • realMax

      public void realMax(RealPositionable max)
      Description copied from interface: RealInterval
      Sets a RealPositionable to the maximum of this Interval
      Specified by:
      realMax in interface RealInterval
      Parameters:
      max -
    • numDimensions

      public int numDimensions()
      Description copied from interface: EuclideanSpace
      Gets the space's number of dimensions.
      Specified by:
      numDimensions in interface EuclideanSpace
    • getSource

      public I getSource()