Interface SubIntervalIterable<T>

All Known Implementing Classes:
ARGBScreenImage, ArrayImg, ArrayImgAWTScreenImage, ByteAWTScreenImage, DoubleAWTScreenImage, FloatAWTScreenImage, ImgView, IntAWTScreenImage, PlanarImg, ShortAWTScreenImage, UnsignedByteAWTScreenImage, UnsignedIntAWTScreenImage, UnsignedShortAWTScreenImage

public interface SubIntervalIterable<T>
Implementing this interface enables the implementor to return optimized Cursors for certain Intervals
Author:
Tobias Pietzsch
  • Method Details

    • supportsOptimizedCursor

      boolean supportsOptimizedCursor(Interval interval)
      Determine whether a Cursor can be created that iterates the given Interval.
      Parameters:
      interval - to be checked
      Returns:
      true if a Cursor can be optimized given the Interval
    • subIntervalIterationOrder

      Object subIntervalIterationOrder(Interval interval)
      Returns the iteration order given the interval.
      Parameters:
      interval - Interval over which to iterate
      Returns:
      the iteration order object @see IterableRealInterval
    • cursor

      Cursor<T> cursor(Interval interval)
      Create a Cursor to iterate over the given Interval.
      Parameters:
      interval - Interval over which to iterate
      Returns:
      Cursor
    • localizingCursor

      Cursor<T> localizingCursor(Interval interval)
      Create a Cursor to iterate over the given Interval.
      Parameters:
      interval - Interval over which to iterate
      Returns:
      Cursor