Package net.imglib2.converter.read
Class BiConvertedRealRandomAccessible<A,B,C>
java.lang.Object
net.imglib2.converter.AbstractConvertedRealRandomAccessible<A,C>
net.imglib2.converter.read.BiConvertedRealRandomAccessible<A,B,C>
- All Implemented Interfaces:
EuclideanSpace,RealRandomAccessible<C>,Typed<C>,View
public class BiConvertedRealRandomAccessible<A,B,C>
extends AbstractConvertedRealRandomAccessible<A,C>
TODO
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Supplier<BiConverter<? super A, ? super B, ? super C>> protected final RealRandomAccessible<B> Fields inherited from class net.imglib2.converter.AbstractConvertedRealRandomAccessible
source -
Constructor Summary
ConstructorsConstructorDescriptionBiConvertedRealRandomAccessible(RealRandomAccessible<A> sourceA, RealRandomAccessible<B> sourceB, Supplier<BiConverter<? super A, ? super B, ? super C>> converterSupplier, Supplier<? extends C> convertedSupplier) BiConvertedRealRandomAccessible(RealRandomAccessible<A> sourceA, RealRandomAccessible<B> sourceB, BiConverter<? super A, ? super B, ? super C> converter, Supplier<? extends C> convertedSupplier) -
Method Summary
Modifier and TypeMethodDescriptionBiConverter<? super A, ? super B, ? super C> Deprecated.Supplier<BiConverter<? super A, ? super B, ? super C>> Deprecated.UsegetDestinationSupplier()instead.getType()Get an instance ofT.Create a random access sampler for real coordinates.realRandomAccess(RealInterval interval) Methods inherited from class net.imglib2.converter.AbstractConvertedRealRandomAccessible
getSource, numDimensionsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.imglib2.RealRandomAccessible
getAt, getAt, getAt
-
Field Details
-
sourceB
-
converterSupplier
-
convertedSupplier
-
-
Constructor Details
-
BiConvertedRealRandomAccessible
public BiConvertedRealRandomAccessible(RealRandomAccessible<A> sourceA, RealRandomAccessible<B> sourceB, Supplier<BiConverter<? super A, ? super B, ? super C>> converterSupplier, Supplier<? extends C> convertedSupplier) -
BiConvertedRealRandomAccessible
public BiConvertedRealRandomAccessible(RealRandomAccessible<A> sourceA, RealRandomAccessible<B> sourceB, BiConverter<? super A, ? super B, ? super C> converter, Supplier<? extends C> convertedSupplier)
-
-
Method Details
-
realRandomAccess
Description copied from interface:RealRandomAccessibleCreate a random access sampler for real coordinates.- Specified by:
realRandomAccessin interfaceRealRandomAccessible<A>- Specified by:
realRandomAccessin classAbstractConvertedRealRandomAccessible<A,C> - Returns:
- random access sampler
-
realRandomAccess
- Specified by:
realRandomAccessin interfaceRealRandomAccessible<A>- Specified by:
realRandomAccessin classAbstractConvertedRealRandomAccessible<A,C>
-
getDestinationType
Deprecated.UsegetDestinationSupplier()instead.- Returns:
- an instance of the destination
Type.
-
getDestinationSupplier
- Returns:
- the supplier of conversion destination instances
-
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.- Returns:
- an instance of
T
-
getConverter
Deprecated.UsegetConverterSupplier()insteadReturns an instance of theBiConverter. If theBiConvertedRealRandomAccessibleRealIntervalwas created with aBiConverterinstead of aSupplier, then the returned converter will be this instance.- Returns:
-
getConverterSupplier
- Returns:
- the supplier of converter instances
-
getConverterSupplier()instead