Package net.imglib2
Interface RealPositionable
-
- All Superinterfaces:
EuclideanSpace,Positionable
- All Known Subinterfaces:
RealOutOfBounds<T>,RealRandomAccess<T>
- All Known Implementing Classes:
AbstractConvertedRealRandomAccess,AbstractPositionableTransform,BiConvertedRealRandomAccess,ClampingNLinearInterpolatorRealType,ClampingNLinearInterpolatorVolatileARGB,ClampingNLinearInterpolatorVolatileRealType,ConvertedRealRandomAccess,Floor,FloorInterpolator,FloorOffset,FunctionRealRandomAccessible.RealFunctionRealRandomAccess,InverseDistanceWeightingInterpolator,LanczosInterpolator,LinearRealRandomAccessibleStackInterpolator,Localizables.RealLocationRealRandomAccess,NearestNeighborInterpolator,NearestNeighborRealRandomAccessibleStackInterpolator,NearestNeighborSearchInterpolator,NLinearInterpolator,NLinearInterpolator1D,NLinearInterpolator2D,NLinearInterpolator3D,NLinearInterpolatorARGB,RealComposite,RealOutOfBoundsRealRandomAccess,RealPoint,RealPointSample,RealPositionRealRandomAccessible.RealPositionRealRandomAccess,Round
public interface RealPositionable extends Positionable
An element that can be positioned in n-dimensional real space.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidmove(double[] distance)Move the element relative to its current location using a float[] as distance vector.voidmove(double distance, int d)Move the element in one dimension for some distance.voidmove(float[] distance)Move the element relative to its current location using a float[] as distance vector.voidmove(float distance, int d)Move the element in one dimension for some distance.voidmove(RealLocalizable distance)Move the element relative to its current location using aRealLocalizableas distance vector.voidsetPosition(double[] position)Set the position of the element.voidsetPosition(double position, int d)Set the position of the element for one dimension.voidsetPosition(float[] position)Set the position of the element.voidsetPosition(float position, int d)Set the position of the element for one dimension.voidsetPosition(RealLocalizable position)Place the element at the same location as a givenRealLocalizable-
Methods inherited from interface net.imglib2.EuclideanSpace
numDimensions
-
Methods inherited from interface net.imglib2.Positionable
bck, fwd, move, move, move, move, move, setPosition, setPosition, setPosition, setPosition, setPosition
-
-
-
-
Method Detail
-
move
void move(float distance, int d)Move the element in one dimension for some distance.- Parameters:
distance-d-
-
move
void move(double distance, int d)Move the element in one dimension for some distance.- Parameters:
distance-d-
-
move
void move(RealLocalizable distance)
Move the element relative to its current location using aRealLocalizableas distance vector.- Parameters:
distance- relative offset,EuclideanSpace.numDimensions()must be ≥EuclideanSpace.numDimensions()
-
move
void move(float[] distance)
Move the element relative to its current location using a float[] as distance vector.- Parameters:
distance- , length must be ≥EuclideanSpace.numDimensions()
-
move
void move(double[] distance)
Move the element relative to its current location using a float[] as distance vector.- Parameters:
distance- , length must be ≥EuclideanSpace.numDimensions()
-
setPosition
void setPosition(RealLocalizable position)
Place the element at the same location as a givenRealLocalizable- Parameters:
position- absolute position,EuclideanSpace.numDimensions()must be ≥EuclideanSpace.numDimensions()
-
setPosition
void setPosition(float[] position)
Set the position of the element.- Parameters:
position- absolute position, length must be ≥EuclideanSpace.numDimensions()
-
setPosition
void setPosition(double[] position)
Set the position of the element.- Parameters:
position- absolute position, length must be ≥EuclideanSpace.numDimensions()
-
setPosition
void setPosition(float position, int d)Set the position of the element for one dimension.- Parameters:
position-d-
-
setPosition
void setPosition(double position, int d)Set the position of the element for one dimension.- Parameters:
position-d-
-
-