Package net.imglib2

Class AbstractWrappedInterval<I extends Interval>

java.lang.Object
net.imglib2.AbstractWrappedRealInterval<I>
net.imglib2.AbstractWrappedInterval<I>
All Implemented Interfaces:
Dimensions, EuclideanSpace, Interval, RealInterval
Direct Known Subclasses:
AbstractConvertedIterableInterval, AbstractConvertedIterableRandomAccessibleInterval, AbstractConvertedRandomAccessibleInterval, ConvertedRandomAccessibleInterval, IterableRandomAccessibleInterval, WriteConvertedRandomAccessibleInterval

public abstract class AbstractWrappedInterval<I extends Interval> extends AbstractWrappedRealInterval<I> implements Interval
Convenient base class for IterableIntervals, RandomAccessibleIntervals, etc that forward the Interval interface to, for example, their source accessible.
Author:
Tobias Pietzsch
  • Constructor Details

    • AbstractWrappedInterval

      public AbstractWrappedInterval(I source)
  • Method Details

    • dimensions

      public void dimensions(long[] dimensions)
      Description copied from interface: Dimensions
      Write the number of pixels in each dimension into long[].
      Specified by:
      dimensions in interface Dimensions
    • dimension

      public long dimension(int d)
      Description copied from interface: Dimensions
      Get the number of pixels in a given dimension d.
      Specified by:
      dimension in interface Dimensions
    • min

      public long min(int d)
      Description copied from interface: Interval
      Get the minimum in dimension d.
      Specified by:
      min in interface Interval
      Parameters:
      d - dimension
      Returns:
      minimum in dimension d.
    • min

      public void min(long[] min)
      Description copied from interface: Interval
      Write the minimum of each dimension into long[].
      Specified by:
      min in interface Interval
    • min

      public void min(Positionable min)
      Description copied from interface: Interval
      Sets a Positionable to the minimum of this Interval
      Specified by:
      min in interface Interval
    • max

      public long max(int d)
      Description copied from interface: Interval
      Get the maximum in dimension d.
      Specified by:
      max in interface Interval
      Parameters:
      d - dimension
      Returns:
      maximum in dimension d.
    • max

      public void max(long[] max)
      Description copied from interface: Interval
      Write the maximum of each dimension into long[].
      Specified by:
      max in interface Interval
    • max

      public void max(Positionable max)
      Description copied from interface: Interval
      Sets a Positionable to the maximum of this Interval
      Specified by:
      max in interface Interval