Package net.imglib2.converter.read
Class ConvertedRealRandomAccessibleRealInterval<A,B>
- java.lang.Object
-
- net.imglib2.AbstractWrappedRealInterval<RealRandomAccessibleRealInterval<A>>
-
- net.imglib2.converter.read.ConvertedRealRandomAccessibleRealInterval<A,B>
-
- All Implemented Interfaces:
EuclideanSpace,RealInterval,RealRandomAccessible<B>,RealRandomAccessibleRealInterval<B>,Typed<B>,View
public class ConvertedRealRandomAccessibleRealInterval<A,B> extends AbstractWrappedRealInterval<RealRandomAccessibleRealInterval<A>> implements RealRandomAccessibleRealInterval<B>, View
TODO
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.function.Supplier<? extends B>convertedSupplierprotected java.util.function.Supplier<Converter<? super A,? super B>>converterSupplier-
Fields inherited from class net.imglib2.AbstractWrappedRealInterval
sourceInterval
-
-
Constructor Summary
Constructors Constructor Description ConvertedRealRandomAccessibleRealInterval(RealRandomAccessibleRealInterval<A> source, java.util.function.Supplier<Converter<? super A,? super B>> converterSupplier, java.util.function.Supplier<? extends B> convertedSupplier)ConvertedRealRandomAccessibleRealInterval(RealRandomAccessibleRealInterval<A> source, Converter<? super A,? super B> converter, java.util.function.Supplier<? extends B> convertedSupplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Converter<? super A,? super B>getConverter()Deprecated.UsegetConverterSupplier()insteadjava.util.function.Supplier<Converter<? super A,? super B>>getConverterSupplier()java.util.function.Supplier<? extends B>getDestinationSupplier()BgetDestinationType()Deprecated.UsegetDestinationSupplier()instead.BgetType()Get an instance ofT.ConvertedRealRandomAccess<A,B>realRandomAccess()Create a random access sampler for real coordinates.ConvertedRealRandomAccess<A,B>realRandomAccess(RealInterval interval)-
Methods inherited from class net.imglib2.AbstractWrappedRealInterval
getSource, numDimensions, realMax, realMax, realMax, realMin, realMin, realMin
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.imglib2.EuclideanSpace
numDimensions
-
Methods inherited from interface net.imglib2.RealInterval
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint, realMax, realMax, realMax, realMin, realMin, realMin
-
Methods inherited from interface net.imglib2.RealRandomAccessible
getAt, getAt, getAt
-
-
-
-
Method Detail
-
realRandomAccess
public ConvertedRealRandomAccess<A,B> realRandomAccess()
Description copied from interface:RealRandomAccessibleCreate a random access sampler for real coordinates.- Specified by:
realRandomAccessin interfaceRealRandomAccessible<A>- Returns:
- random access sampler
-
realRandomAccess
public ConvertedRealRandomAccess<A,B> realRandomAccess(RealInterval interval)
- Specified by:
realRandomAccessin interfaceRealRandomAccessible<A>
-
getDestinationType
@Deprecated public B getDestinationType()
Deprecated.UsegetDestinationSupplier()instead.- Returns:
- an instance of the destination
Type.
-
getDestinationSupplier
public java.util.function.Supplier<? extends B> getDestinationSupplier()
- Returns:
- the supplier of conversion destination instances
-
getType
public B getType()
Description copied from interface:TypedGet an instance ofT.It should not be assumed that the returned
Tinstance is an independent copy. In particular, repeated calls togetType()may return the same instance.
-
getConverter
@Deprecated public Converter<? super A,? super B> getConverter()
Deprecated.UsegetConverterSupplier()insteadReturns an instance of theConverter. If theConvertedRealRandomAccessibleRealIntervalwas created with aConverterinstead of aSupplier, then the returned converter will be this instance.- Returns:
-
-