public class MaskPredicateRealRandomAccess<B extends BooleanType<B>> extends RealPoint implements RealRandomAccess<B>
RealRandomAccess
based on RealMask
.position
n
Modifier | Constructor and Description |
---|---|
|
MaskPredicateRealRandomAccess(MaskPredicate<? super RealLocalizable> contains,
B type) |
protected |
MaskPredicateRealRandomAccess(MaskPredicateRealRandomAccess<B> cra) |
Modifier and Type | Method and Description |
---|---|
MaskPredicateRealRandomAccess<B> |
copy() |
RealRandomAccess<B> |
copyRealRandomAccess() |
B |
get()
Access the actual T instance providing access to a pixel,
sub-pixel or integral region value the
Sampler points at. |
bck, equals, fwd, hashCode, move, move, move, move, move, move, move, move, move, move, setPosition, setPosition, setPosition, setPosition, setPosition, setPosition, setPosition, setPosition, setPosition, setPosition, toString, wrap
getDoublePosition, getFloatPosition, localize, localize
numDimensions
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
setPositionAndGet, setPositionAndGet, setPositionAndGet
getDoublePosition, getFloatPosition, localize, localize, localize, positionAsDoubleArray, positionAsRealPoint
move, move, move, move, move, setPosition, setPosition, setPosition, setPosition, setPosition
bck, fwd, move, move, move, move, move, setPosition, setPosition, setPosition, setPosition, setPosition
numDimensions
public MaskPredicateRealRandomAccess(MaskPredicate<? super RealLocalizable> contains, B type)
protected MaskPredicateRealRandomAccess(MaskPredicateRealRandomAccess<B> cra)
public B get()
Sampler
Sampler
points at.get
in interface Sampler<B extends BooleanType<B>>
public MaskPredicateRealRandomAccess<B> copy()
copy
in interface Sampler<B extends BooleanType<B>>
Sampler
in the same state accessing the same
values.
It does NOT copy T, just the state of the Sampler
.
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 an
ArrayCursor
for example)public RealRandomAccess<B> copyRealRandomAccess()
copyRealRandomAccess
in interface RealRandomAccess<B extends BooleanType<B>>
Copyright © 2015–2022 ImgLib2. All rights reserved.