Class NtreeCursor<T extends NativeType<T>>

    • Constructor Detail

      • NtreeCursor

        public NtreeCursor​(NtreeImg<T,​?> img)
    • Method Detail

      • get

        public T get()
        Description copied from interface: Sampler
        Access the actual T instance providing access to a pixel, sub-pixel or integral region value the Sampler points at.
        Specified by:
        get in interface Sampler<T extends NativeType<T>>
      • next

        public T next()
        Specified by:
        next in interface java.util.Iterator<T extends NativeType<T>>
      • remove

        public void remove()
        Specified by:
        remove in interface java.util.Iterator<T extends NativeType<T>>
      • copy

        public NtreeCursor<T> copy()
        Specified by:
        copy in interface Sampler<T extends NativeType<T>>
        Returns:
        - A new Sampler in the same state accessing the same values. It does NOT copy T, just the state of the Sampler. Otherwise use T.copy() if available. Sampler.copy().get() == Sampler.get(), i.e. both hold the same value, not necessarily the same instance (this is the case for an ArrayCursor for example)