Class ConvertedRealRandomAccess<A,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>, Typed<B>
TODO
-
Field Summary
FieldsFields inherited from class AbstractConvertedRealRandomAccess
source -
Constructor Summary
ConstructorsConstructorDescriptionConvertedRealRandomAccess(RealRandomAccess<A> source, Supplier<Converter<? super A, ? super B>> converterSupplier, Supplier<? extends B> convertedSupplier) Creates a copy of b for conversion that can be accessed throughget().ConvertedRealRandomAccess(RealRandomAccess<A> source, Converter<? super A, ? super B> converter, Supplier<? extends B> convertedSupplier) -
Method Summary
Methods inherited from class AbstractConvertedRealRandomAccess
bck, fwd, getDoublePosition, getFloatPosition, localize, localize, move, move, move, move, move, move, move, move, move, move, numDimensions, setPosition, setPosition, setPosition, setPosition, setPosition, setPosition, setPosition, setPosition, setPosition, setPositionMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface RealLocalizable
localize, positionAsDoubleArray, positionAsRealPointMethods inherited from interface RealRandomAccess
copyRealRandomAccess, setPositionAndGet, setPositionAndGet, setPositionAndGet
-
Field Details
-
converterSupplier
-
converter
-
convertedSupplier
-
converted
-
-
Constructor Details
-
ConvertedRealRandomAccess
-
ConvertedRealRandomAccess
-
-
Method Details
-
get
-
getType
-
copy
- Specified by:
copyin interfaceRealRandomAccess<A>- Specified by:
copyin interfaceSampler<A>- Specified by:
copyin classAbstractConvertedRealRandomAccess<A,B> - Returns:
- - A new
Samplerin the same state accessing the same values. It does NOT copy T, just the state of theSampler. 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 anArrayCursorfor example)
-