public class AffineRealRandomAccessible<T,R extends AffineGet> extends RealTransformRealRandomAccessible<T,R>
RealRandomAccessible
whose samples are generated from a
RealRandomAccessible
transformed by an affine
transformation
. Changing the affine transformation
will
affect the AffineRealRandomAccessible
and any
RealRandomAccess
on it. Make sure that you either request a new
RealRandomAccess
after modifying the transformation or perform a full
initialization (e.g. setPosition(double[])) of any existing one before making
any relative move.Modifier and Type | Class and Description |
---|---|
class |
AffineRealRandomAccessible.AffineRealRandomAccess
RealRandomAccess that generates its samples from a source
RealRandomAccessible at coordinates transformed by a
RealTransform . |
RealTransformRealRandomAccessible.RealTransformRealRandomAccess
source, transformToSource
Constructor and Description |
---|
AffineRealRandomAccessible(RealRandomAccessible<T> source,
R affine) |
Modifier and Type | Method and Description |
---|---|
AffineRealRandomAccessible.AffineRealRandomAccess |
realRandomAccess()
Create a random access sampler for real coordinates.
|
AffineRealRandomAccessible.AffineRealRandomAccess |
realRandomAccess(RealInterval interval)
To be overridden for
RealTransform that can estimate the
boundaries of a transferred RealInterval . |
getSource, getTransformToSource, numDimensions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAt, getAt, getAt
public AffineRealRandomAccessible(RealRandomAccessible<T> source, R affine)
public AffineRealRandomAccessible.AffineRealRandomAccess realRandomAccess()
RealRandomAccessible
realRandomAccess
in interface RealRandomAccessible<T>
realRandomAccess
in class RealTransformRealRandomAccessible<T,R extends AffineGet>
public AffineRealRandomAccessible.AffineRealRandomAccess realRandomAccess(RealInterval interval)
RealTransform
that can estimate the
boundaries of a transferred RealInterval
.realRandomAccess
in interface RealRandomAccessible<T>
realRandomAccess
in class RealTransformRealRandomAccessible<T,R extends AffineGet>
Copyright © 2015–2022 ImgLib2. All rights reserved.