public class BiConvertedIterableInterval<A,B,C extends Type<C>> extends AbstractConvertedIterableInterval<A,C>
| Modifier and Type | Field and Description |
|---|---|
protected C |
converted |
protected Supplier<BiConverter<? super A,? super B,? super C>> |
converterSupplier |
protected IterableInterval<B> |
sourceIntervalB |
sourceInterval| Constructor and Description |
|---|
BiConvertedIterableInterval(IterableInterval<A> sourceA,
IterableInterval<B> sourceB,
BiConverter<? super A,? super B,? super C> converter,
C c)
Creates a copy of c for conversion.
|
BiConvertedIterableInterval(IterableInterval<A> sourceA,
IterableInterval<B> sourceB,
Supplier<BiConverter<? super A,? super B,? super C>> converterSupplier,
C c)
Creates a copy of c for conversion.
|
| Modifier and Type | Method and Description |
|---|---|
BiConvertedCursor<A,B,C> |
cursor()
Returns a
RealCursor that iterates with optimal speed without
calculating the location at each iteration step. |
BiConverter<? super A,? super B,? super C> |
getConverter()
Returns an instance of the
BiConverter. |
C |
getDestinationType() |
BiConvertedCursor<A,B,C> |
localizingCursor()
Creates a localizing
Cursor for sourceA only because this will
be used for localization. |
firstElement, iterationOrder, iterator, sizedimension, dimensions, max, max, max, min, min, mingetSource, numDimensions, realMax, realMax, realMax, realMin, realMin, realMinclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratordimension, max, max, max, maxAsLongArray, maxAsPoint, min, min, min, minAsLongArray, minAsPoint, realMax, realMinmaxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint, realMax, realMax, realMin, realMinallPositive, allPositive, dimensions, dimensions, dimensionsAsLongArray, dimensionsAsPoint, verify, verify, verifyAllPositive, verifyAllPositivenumDimensionsprotected final IterableInterval<B> sourceIntervalB
protected final Supplier<BiConverter<? super A,? super B,? super C extends Type<C>>> converterSupplier
public BiConvertedIterableInterval(IterableInterval<A> sourceA, IterableInterval<B> sourceB, Supplier<BiConverter<? super A,? super B,? super C>> converterSupplier, C c)
sourceA - this IterableInterval is used for all
Interval related requests. When using
Intervals with different sizes, make sure
that this is the smaller Interval.sourceB - converterSupplier - c - public BiConvertedIterableInterval(IterableInterval<A> sourceA, IterableInterval<B> sourceB, BiConverter<? super A,? super B,? super C> converter, C c)
sourceA - this IterableInterval is used for all
Interval related requests. When using
Intervals with different sizes, make sure
that this is the smaller Interval.sourceB - converter - c - public BiConvertedCursor<A,B,C> cursor()
IterableRealInterval
Returns a RealCursor that iterates with optimal speed without
calculating the location at each iteration step. Localization is
performed on demand.
Use this where localization is required rarely/ not for each iteration.
public BiConvertedCursor<A,B,C> localizingCursor()
Cursor for sourceA only because this will
be used for localization. Make sure that sourceA is the
IterableInterval that creates the Cursor that localizes
more efficiently.localizingCursor in interface IterableInterval<C extends Type<C>>localizingCursor in interface IterableRealInterval<C extends Type<C>>localizingCursor in class AbstractConvertedIterableInterval<A,C extends Type<C>>public BiConverter<? super A,? super B,? super C> getConverter()
BiConverter. If the
BiConvertedIterableInterval was created with a
BiConverter instead of a Supplier, then the returned
BiConverter will be this instance.Copyright © 2015–2022 ImgLib2. All rights reserved.