Package net.imglib2
Interface Positionable
-
- All Superinterfaces:
EuclideanSpace
- All Known Subinterfaces:
OutOfBounds<T>,RandomAccess<T>,RealOutOfBounds<T>,RealPositionable,RealRandomAccess<T>,SyncedPositionables.Private.Forwarder
- All Known Implementing Classes:
AbstractConvertedRandomAccess,AbstractConvertedRealRandomAccess,AbstractLongListImg.LongListRandomAccess,AbstractOutOfBoundsMirror,AbstractOutOfBoundsValue,AbstractPositionableTransform,AbstractProjector2D,AbstractWrappedPositionableLocalizable,ArrayImgXYByteProjector,ArrayImgXYShortProjector,ArrayRandomAccess,BiConvertedRandomAccess,BiConvertedRealRandomAccess,BundleView.BundleRandomAccess,CellGrid.CellIntervalsRA,CellRandomAccess,ClampingNLinearInterpolatorRealType,ClampingNLinearInterpolatorVolatileARGB,ClampingNLinearInterpolatorVolatileRealType,CompositeView.CompositeRandomAccess,CompositeXYProjector,CompositeXYRandomAccessibleProjector,ConvertedRandomAccess,ConvertedRealRandomAccess,Floor,FloorInterpolator,FloorOffset,FullSourceMapMixedRandomAccess,FullSourceMapSlicingRandomAccess,FunctionRandomAccessible.FunctionRandomAccess,FunctionRealRandomAccessible.RealFunctionRealRandomAccess,FunctionView.FunctionRandomAccess,Grid.CellIntervalsRA,HyperSlice.HyperSliceRandomAccess,HyperSlicesView.HyperSlicesViewRandomAccess,InflateView.InflateRandomAccess,InterleaveView.InterleaveRandomAccess,InverseDistanceWeightingInterpolator,IterableIntervalProjector2D,LanczosInterpolator,LinearRealRandomAccessibleStackInterpolator,ListRandomAccess,Localizables.LocationRandomAccess,Localizables.RealLocationRealRandomAccess,MixedRandomAccess,NearestNeighborInterpolator,NearestNeighborRealRandomAccessibleStackInterpolator,NearestNeighborSearchInterpolator,NLinearInterpolator,NLinearInterpolator1D,NLinearInterpolator2D,NLinearInterpolator3D,NLinearInterpolatorARGB,NtreeRandomAccess,OutOfBoundsBorder,OutOfBoundsConstantValue,OutOfBoundsMirrorDoubleBoundary,OutOfBoundsMirrorExpWindowing,OutOfBoundsMirrorSingleBoundary,OutOfBoundsPeriodic,OutOfBoundsRandomValue,PlanarImgXYByteProjector,PlanarImgXYShortProjector,PlanarRandomAccess,PlanarRandomAccess1D,Point,PointSample,PositionRandomAccessible.PositionRandomAccess,RandomAccessibleOnRealRandomAccessible.RandomAccessOnRealRandomAccessible,RandomAccessiblePair.RandomAccess,RandomAccessibleProjector2D,RealComposite,RealOutOfBoundsRealRandomAccess,RealPoint,RealPointSample,RealPositionRealRandomAccessible.RealPositionRealRandomAccess,Round,SamplingProjector2D,SlicingRandomAccess,StackView.DefaultRA,StackView.MoveAllSlicesRA,SubsampleView.SubsampleRandomAccess,SyncedPositionables.Private.Forwarder1,SyncedPositionables.Private.Forwarder2,SyncedPositionables.Private.Forwarder3,SyncedPositionables.Private.Forwarder4,SyncedPositionables.Private.Forwarder5,SyncedPositionables.Private.GeneralForwarder,TransformRandomAccess,TranslationRandomAccess,Volatile2DRandomAccessibleProjector,WriteConvertedRandomAccess
public interface Positionable extends EuclideanSpace
An element that can be positioned in n-dimensional discrete space.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbck(int d)Move by -1 in one dimension.voidfwd(int d)Move by 1 in one dimension.voidmove(int[] distance)Move the element relative to its current location using an int[] as distance vector.voidmove(int distance, int d)Move the element in one dimension for some distance.voidmove(long[] distance)Move the element relative to its current location using a long[] as distance vector.voidmove(long distance, int d)Move the element in one dimension for some distance.voidmove(Localizable distance)Move the element relative to its current location using anLocalizableas distance vector.voidsetPosition(int[] position)Set the position of the element.voidsetPosition(int position, int d)Set the position of the element for one dimension.voidsetPosition(long[] position)Set the position of the element.voidsetPosition(long position, int d)Set the position of the element for one dimension.voidsetPosition(Localizable position)Place the element at the same location as a givenLocalizable-
Methods inherited from interface net.imglib2.EuclideanSpace
numDimensions
-
-
-
-
Method Detail
-
fwd
void fwd(int d)
Move by 1 in one dimension.- Parameters:
d- dimension
-
bck
void bck(int d)
Move by -1 in one dimension.- Parameters:
d- dimension
-
move
void move(int distance, int d)Move the element in one dimension for some distance.- Parameters:
distance- relative offset in dimension dd- dimension
-
move
void move(long distance, int d)Move the element in one dimension for some distance.- Parameters:
distance- relative offset in dimension dd- dimension
-
move
void move(Localizable distance)
Move the element relative to its current location using anLocalizableas distance vector.- Parameters:
distance- relative offset,EuclideanSpace.numDimensions()must be ≥EuclideanSpace.numDimensions()
-
move
void move(int[] distance)
Move the element relative to its current location using an int[] as distance vector.- Parameters:
distance- relative offset, length must be ≥EuclideanSpace.numDimensions()
-
move
void move(long[] distance)
Move the element relative to its current location using a long[] as distance vector.- Parameters:
distance- relative offset, length must be ≥EuclideanSpace.numDimensions()
-
setPosition
void setPosition(Localizable position)
Place the element at the same location as a givenLocalizable- Parameters:
position- absolute position,EuclideanSpace.numDimensions()must be ≥EuclideanSpace.numDimensions()
-
setPosition
void setPosition(int[] position)
Set the position of the element.- Parameters:
position- absolute position, length must be ≥EuclideanSpace.numDimensions()
-
setPosition
void setPosition(long[] position)
Set the position of the element.- Parameters:
position- absolute position, length must be ≥EuclideanSpace.numDimensions()
-
setPosition
void setPosition(int position, int d)Set the position of the element for one dimension.- Parameters:
position- absolute position in dimension dd- dimension
-
setPosition
void setPosition(long position, int d)Set the position of the element for one dimension.- Parameters:
position- absolute position in dimension dd- dimension
-
-