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 Constructor Description HyperSlicesViewRandomAccess()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HyperSlicesView.HyperSlicesViewRandomAccess
copy()
HyperSlicesView.HyperSlicesViewRandomAccess
copyRandomAccess()
HyperSlice<T>
get()
Access the actual T instance providing access to a pixel, sub-pixel or integral region value theSampler
points at.-
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
-
-
-
-
Method Detail
-
get
public HyperSlice<T> 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
public HyperSlicesView.HyperSlicesViewRandomAccess 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
public HyperSlicesView.HyperSlicesViewRandomAccess copyRandomAccess()
- Specified by:
copyRandomAccess
in interfaceRandomAccess<HyperSlice<T>>
-
-