Class PlanarLocalizingCursor<T extends NativeType<T>>

Type Parameters:
T -
All Implemented Interfaces:
Iterator<T>, Cursor<T>, EuclideanSpace, PlanarImg.PlanarContainerSampler, Iterator, Localizable, RealCursor<T>, RealLocalizable, Sampler<T>
Direct Known Subclasses:
PlanarLocalizingCursor1D, PlanarLocalizingCursor2D

public class PlanarLocalizingCursor<T extends NativeType<T>> extends AbstractLocalizingCursorInt<T> implements PlanarImg.PlanarContainerSampler
Localizing Iterator for a PlanarContainers
Author:
Stephan Preibisch, Stephan Saalfeld
  • Field Details

    • type

      protected final T extends NativeType<T> type
    • container

      protected final PlanarImg<T extends NativeType<T>,?> container
    • lastIndex

      protected final int lastIndex
    • lastSliceIndex

      protected final int lastSliceIndex
    • sliceIndex

      protected int sliceIndex
    • index

      protected int index
      The current index of the type. It is faster to duplicate this here than to access it through type.getIndex().
    • max

      protected final int[] max
      Maximum of the PlanarImg in every dimension. This is used to check isOutOfBounds().
  • Constructor Details

    • PlanarLocalizingCursor

      protected PlanarLocalizingCursor(PlanarLocalizingCursor<T> cursor)
    • PlanarLocalizingCursor

      public PlanarLocalizingCursor(PlanarImg<T,?> container)
  • Method Details