Class ConvertedRealRandomAccess<A,B extends Type<B>>

java.lang.Object
net.imglib2.converter.AbstractConvertedRealRandomAccess<A,B>
net.imglib2.converter.read.ConvertedRealRandomAccess<A,B>
All Implemented Interfaces:
EuclideanSpace, Positionable, RealLocalizable, RealPositionable, RealRandomAccess<B>, Sampler<B>

public final class ConvertedRealRandomAccess<A,B extends Type<B>> extends AbstractConvertedRealRandomAccess<A,B>
TODO
  • Field Details

    • converter

      protected final Converter<? super A,? super B extends Type<B>> converter
    • converted

      protected final B extends Type<B> converted
  • Constructor Details

  • Method Details

    • get

      public B 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.
    • copy

      public ConvertedRealRandomAccess<A,B> copy()
      Specified by:
      copy in interface Sampler<A>
      Specified by:
      copy in class AbstractConvertedRealRandomAccess<A,B extends Type<B>>
      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)