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
FieldsModifier and TypeFieldDescriptionFields inherited from class AbstractWrappedRealInterval
sourceInterval -
Constructor Summary
ConstructorsConstructorDescriptionConvertedRealRandomAccessibleRealInterval(RealRandomAccessibleRealInterval<A> source, Supplier<Converter<? super A, ? super B>> converterSupplier, Supplier<? extends B> convertedSupplier) ConvertedRealRandomAccessibleRealInterval(RealRandomAccessibleRealInterval<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 AbstractWrappedRealInterval
getSource, numDimensions, realMax, realMax, realMax, realMin, realMin, realMinMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface EuclideanSpace
numDimensionsMethods inherited from interface RealInterval
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint, realMax, realMax, realMax, realMin, realMin, realMinMethods inherited from interface RealRandomAccessible
getAt, getAt, getAt
-
Field Details
-
converterSupplier
-
convertedSupplier
-
-
Constructor Details
-
ConvertedRealRandomAccessibleRealInterval
-
ConvertedRealRandomAccessibleRealInterval
-
-
Method Details
-
realRandomAccess
Description copied from interface:RealRandomAccessibleCreate a random access sampler for real coordinates.- Specified by:
realRandomAccessin interfaceRealRandomAccessible<A>- Returns:
- random access sampler
-
realRandomAccess
- Specified by:
realRandomAccessin interfaceRealRandomAccessible<A>
-
getDestinationType
Deprecated.UsegetDestinationSupplier()instead.- Returns:
- an instance of the destination
Type.
-
getDestinationSupplier
-
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.UsegetConverterSupplier()insteadReturns an instance of theConverter. If theConvertedRealRandomAccessibleRealIntervalwas created with aConverterinstead of aSupplier, then the returned converter will be this instance.- Returns:
-
getConverterSupplier
-
getConverterSupplier()instead