Package net.imglib2.util
Class Grid.CellIntervalsRA
- java.lang.Object
-
- net.imglib2.AbstractEuclideanSpace
-
- net.imglib2.AbstractLocalizable
-
- net.imglib2.Point
-
- net.imglib2.util.Grid.CellIntervalsRA
-
- All Implemented Interfaces:
EuclideanSpace,Localizable,Positionable,RandomAccess<Interval>,RealLocalizable,Sampler<Interval>,Typed<Interval>
- Enclosing class:
- Grid
private class Grid.CellIntervalsRA extends Point implements RandomAccess<Interval>
-
-
Field Summary
Fields Modifier and Type Field Description private Intervalintervalprivate long[]maxprivate long[]min-
Fields inherited from class net.imglib2.AbstractLocalizable
position
-
Fields inherited from class net.imglib2.AbstractEuclideanSpace
n
-
-
Constructor Summary
Constructors Constructor Description CellIntervalsRA()CellIntervalsRA(Grid.CellIntervalsRA ra)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RandomAccess<Interval>copy()Intervalget()Access the actual T instance providing access to a pixel, sub-pixel or integral region value theSamplerpoints at.IntervalgetType()Get an instance ofT.-
Methods inherited from class net.imglib2.Point
bck, equals, fwd, hashCode, move, move, move, move, move, setPosition, setPosition, setPosition, setPosition, setPosition, toString, wrap
-
Methods inherited from class net.imglib2.AbstractLocalizable
getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, localize
-
Methods inherited from class net.imglib2.AbstractEuclideanSpace
numDimensions
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.imglib2.EuclideanSpace
numDimensions
-
Methods inherited from interface net.imglib2.Localizable
getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, localize, positionAsLongArray, positionAsPoint
-
Methods inherited from interface net.imglib2.Positionable
bck, fwd, move, move, move, move, move, setPosition, setPosition, setPosition, setPosition, setPosition
-
Methods inherited from interface net.imglib2.RandomAccess
copyRandomAccess, setPositionAndGet, setPositionAndGet, setPositionAndGet
-
Methods inherited from interface net.imglib2.RealLocalizable
localize, localize, positionAsDoubleArray, positionAsRealPoint
-
-
-
-
Field Detail
-
min
private final long[] min
-
max
private final long[] max
-
interval
private final Interval interval
-
-
Constructor Detail
-
CellIntervalsRA
CellIntervalsRA()
-
CellIntervalsRA
CellIntervalsRA(Grid.CellIntervalsRA ra)
-
-
Method Detail
-
get
public Interval get()
Description copied from interface:SamplerAccess the actual T instance providing access to a pixel, sub-pixel or integral region value theSamplerpoints at.
-
getType
public Interval getType()
Description copied from interface:TypedGet an instance ofT.It should not be assumed that the returned
Tinstance is an independent copy. In particular, repeated calls togetType()may return the same instance.
-
copy
public RandomAccess<Interval> copy()
- Specified by:
copyin interfaceRandomAccess<Interval>- Specified by:
copyin interfaceSampler<Interval>- Returns:
- - A new
Samplerin the same state accessing the same values. It does NOT copy T, just the state of theSampler. 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 anArrayCursorfor example)
-
-