Package net.imglib2.view
Class HyperSlicesView.HyperSlicesViewRandomAccess
java.lang.Object
net.imglib2.AbstractEuclideanSpace
net.imglib2.AbstractLocalizable
net.imglib2.Point
net.imglib2.view.HyperSlicesView.HyperSlicesViewRandomAccess
- All Implemented Interfaces:
EuclideanSpace
,Localizable
,Positionable
,RandomAccess<HyperSlice<T>>
,RealLocalizable
,Sampler<HyperSlice<T>>
- Enclosing class:
- HyperSlicesView<T>
public class HyperSlicesView.HyperSlicesViewRandomAccess
extends Point
implements RandomAccess<HyperSlice<T>>
-
Field Summary
Fields inherited from class net.imglib2.AbstractLocalizable
position
Fields inherited from class net.imglib2.AbstractEuclideanSpace
n
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.imglib2.Point
bck, equals, fwd, 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, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.imglib2.EuclideanSpace
numDimensions
Methods inherited from interface net.imglib2.Localizable
getIntPosition, getLongPosition, localize, localize
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.RealLocalizable
getDoublePosition, getFloatPosition, localize, localize
-
Constructor Details
-
HyperSlicesViewRandomAccess
public HyperSlicesViewRandomAccess()
-
-
Method Details
-
get
Description copied from interface:Sampler
Access the actual T instance providing access to a pixel, sub-pixel or integral region value theSampler
points at.- Specified by:
get
in interfaceSampler<HyperSlice<T>>
-
copy
- Specified by:
copy
in interfaceSampler<HyperSlice<T>>
- Returns:
- - A new
Sampler
in 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 anArrayCursor
for example)
-
copyRandomAccess
- Specified by:
copyRandomAccess
in interfaceRandomAccess<HyperSlice<T>>
-