Package net.imglib2.converter.read
Class ConvertedRealRandomAccessible<A,B>
java.lang.Object
net.imglib2.converter.AbstractConvertedRealRandomAccessible<A,B>
net.imglib2.converter.read.ConvertedRealRandomAccessible<A,B>
- All Implemented Interfaces:
EuclideanSpace,RealRandomAccessible<B>,Typed<B>,View
TODO
-
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from class net.imglib2.converter.AbstractConvertedRealRandomAccessible
source -
Constructor Summary
ConstructorsConstructorDescriptionConvertedRealRandomAccessible(RealRandomAccessible<A> source, Supplier<Converter<? super A, ? super B>> converterSupplier, Supplier<? extends B> convertedSupplier) ConvertedRealRandomAccessible(RealRandomAccessible<A> source, Converter<? super A, ? super B> converter, Supplier<? extends B> convertedSupplier) -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.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
-
converterSupplier
-
convertedSupplier
-
-
Constructor Details
-
ConvertedRealRandomAccessible
-
ConvertedRealRandomAccessible
-
-
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,B> - Returns:
- random access sampler
-
realRandomAccess
- Specified by:
realRandomAccessin interfaceRealRandomAccessible<A>- Specified by:
realRandomAccessin classAbstractConvertedRealRandomAccessible<A,B>
-
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 theConverter. If theConvertedRealRandomAccessiblewas created with aConverterinstead of aSupplier, then the returned converter will be this instance.- Returns:
-
getConverterSupplier
- Returns:
- the supplier of converter instances
-
getConverterSupplier()instead