public interface RealRandomAccessible<T> extends EuclideanSpace
f:Rn→T
A function over real space that can create a random access Sampler
.
If your algorithm takes a RealRandomAccessible, this usually means that you
expect that the domain is infinite. (In contrast to this,
RealRandomAccessibleRealInterval
s have a finite domain.)
Similarly to a RandomAccessible
, a RealRandomAccessible
might
be defined only partially within the space.
Modifier and Type | Method and Description |
---|---|
default T |
getAt(double... position)
Convenience method to query a
RealRandomAccessible for the value at a
position. |
default T |
getAt(float... position)
Convenience method to query a
RealRandomAccessible for the value at a
position. |
default T |
getAt(RealLocalizable position)
Convenience method to query a
RealRandomAccessible for the value at a
position. |
RealRandomAccess<T> |
realRandomAccess()
Create a random access sampler for real coordinates.
|
RealRandomAccess<T> |
realRandomAccess(RealInterval interval) |
numDimensions
RealRandomAccess<T> realRandomAccess()
RealRandomAccess<T> realRandomAccess(RealInterval interval)
default T getAt(float... position)
RealRandomAccessible
for the value at a
position.
WARNING: This method is VERY SLOW, and memory inefficient when used in tight
loops, or called many times!!! Use realRandomAccess()
when efficiency
is important.
This method is a short cut for realRandomAccess().setPositionAndGet( position );
position
- RandomAccessible
at position
.default T getAt(double... position)
RealRandomAccessible
for the value at a
position.
WARNING: This method is VERY SLOW, and memory inefficient when used in tight
loops, or called many times!!! Use realRandomAccess()
when efficiency
is important.
This method is a short cut for realRandomAccess().setPositionAndGet( position );
position
- RandomAccessible
at position
.default T getAt(RealLocalizable position)
RealRandomAccessible
for the value at a
position.
WARNING: This method is VERY SLOW, and memory inefficient when used in tight
loops, or called many times!!! Use realRandomAccess()
when efficiency
is important.
This method is a short cut for realRandomAccess().setPositionAndGet( position );
position
- RandomAccessible
at position
.Copyright © 2015–2022 ImgLib2. All rights reserved.