Class RectIterCSM

All Implemented Interfaces:
RectIter
Direct Known Subclasses:
RectIterCSMByte, RectIterCSMFloat

public abstract class RectIterCSM extends RectIterFallback
  • Constructor Details

  • Method Details

    • startLines

      public void startLines()
      Description copied from interface: RectIter
      Sets the iterator to the first line of its bounding rectangle. The pixel and band offsets are unchanged.
      Specified by:
      startLines in interface RectIter
      Overrides:
      startLines in class RectIterFallback
    • nextLine

      public void nextLine()
      Description copied from interface: RectIter
      Sets the iterator to the next line of the image. The pixel and band offsets are unchanged. If the iterator passes the bottom line of the rectangles, calls to get() methods are not valid.
      Specified by:
      nextLine in interface RectIter
      Overrides:
      nextLine in class RectIterFallback
    • jumpLines

      public void jumpLines(int num)
      Description copied from interface: RectIter
      Jumps downward num lines from the current position. Num may be negative. The pixel and band offsets are unchanged. If the position after the jump is outside of the iterator's bounding box, an IndexOutOfBoundsException will be thrown and the position will be unchanged.
      Specified by:
      jumpLines in interface RectIter
      Overrides:
      jumpLines in class RectIterFallback
    • startPixels

      public void startPixels()
      Description copied from interface: RectIter
      Sets the iterator to the leftmost pixel of its bounding rectangle. The line and band offsets are unchanged.
      Specified by:
      startPixels in interface RectIter
      Overrides:
      startPixels in class RectIterFallback
    • nextPixel

      public void nextPixel()
      Description copied from interface: RectIter
      Sets the iterator to the next pixel in image (that is, move rightward). The line and band offsets are unchanged.

      This method may be used in conjunction with the method finishedPixels. Or the method nextPixelDone, which sets the iterator to the next pixel and checks the bound, may be used instead of this method.

      Specified by:
      nextPixel in interface RectIter
      Overrides:
      nextPixel in class RectIterFallback
    • jumpPixels

      public void jumpPixels(int num)
      Description copied from interface: RectIter
      Jumps rightward num pixels from the current position. Num may be negative. The line and band offsets are unchanged. If the position after the jump is outside of the iterator's bounding box, an IndexOutOfBoundsException will be thrown and the position will be unchanged.
      Specified by:
      jumpPixels in interface RectIter
      Overrides:
      jumpPixels in class RectIterFallback
    • startBands

      public void startBands()
      Description copied from interface: RectIter
      Sets the iterator to the first band of the image. The pixel column and line are unchanged.
      Specified by:
      startBands in interface RectIter
      Overrides:
      startBands in class RectIterFallback
    • nextBand

      public void nextBand()
      Description copied from interface: RectIter
      Sets the iterator to the next band in the image. The pixel column and line are unchanged.
      Specified by:
      nextBand in interface RectIter
      Overrides:
      nextBand in class RectIterFallback