public class IterableTransformBuilder<T> extends TransformBuilder<T>
Cursor.getEfficientIterableInterval(Interval, RandomAccessible)| Modifier and Type | Field and Description |
|---|---|
protected Interval |
interval
The interval which should be iterated.
|
boundingBox, source, transforms| Constructor and Description |
|---|
IterableTransformBuilder(Interval interval,
RandomAccessible<T> randomAccessible)
Create a new IterableTransformBuilder.
|
| Modifier and Type | Method and Description |
|---|---|
IterableInterval<T> |
buildIterableInterval()
Create an
IterableInterval on the Interval specified in
the constructor of the RandomAccessible specified in the
constructor. |
static <S> IterableInterval<S> |
getEfficientIterableInterval(Interval interval,
RandomAccessible<S> randomAccessible)
|
build, getEfficientRandomAccessible, isComponentMapping, isIdentity, isSlicing, isTranslation, prependTransform, simplifyTransforms, visit, visitExtended, visitTransformed, wrapGenericTransform, wrapMixedTransform, wrapSlicingTransform, wrapTranslationTransformprotected Interval interval
Currently, no transformations are done on this, because the cases where
an optimized IterableInterval can be returned do not allow for
any transformation except a single slicing. In the future, it may become
necessary, to propagated the interval through the transforms down the
view hierarchy.
public IterableTransformBuilder(Interval interval, RandomAccessible<T> randomAccessible)
interval - the interval of randomAccessible which should be
iterated.randomAccessible - the RandomAccessible that should be iterated.public static <S> IterableInterval<S> getEfficientIterableInterval(Interval interval, RandomAccessible<S> randomAccessible)
IterableInterval that iterates an Interval of a
RandomAccessible. If possible, this should return an optimized
cursor. If not, falls back to creating an
IterableRandomAccessibleInterval.interval - the interval of randomAccessible which should be
iterated.randomAccessible - the RandomAccessible that should be iterated.IterableInterval that iterates interval of
randomAccessible.public IterableInterval<T> buildIterableInterval()
IterableInterval on the Interval specified in
the constructor of the RandomAccessible specified in the
constructor.Copyright © 2015–2022 ImgLib2. All rights reserved.