Package net.imglib2
Interface RealPositionable
- All Superinterfaces:
EuclideanSpace,Positionable
- All Known Subinterfaces:
RealOutOfBounds<T>,RealRandomAccess<T>
- All Known Implementing Classes:
AbstractConvertedRealRandomAccess,AbstractPositionableTransform,ConvertedRealRandomAccess,Floor,FloorInterpolator,FloorOffset,InverseDistanceWeightingInterpolator,LanczosInterpolator,NearestNeighborInterpolator,NearestNeighborSearchInterpolator,NLinearInterpolator,NLinearInterpolator1D,NLinearInterpolator2D,NLinearInterpolator3D,NLinearInterpolatorARGB,RealOutOfBoundsRealRandomAccess,RealPoint,Round
An element that can be positioned in n-dimensional real space.
- Author:
- Tobias Pietzsch, Stephan Preibisch, Stephan Saalfeld
-
Method Summary
Modifier and TypeMethodDescriptionvoidmove(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 givenRealLocalizableMethods inherited from interface net.imglib2.EuclideanSpace
numDimensionsMethods inherited from interface net.imglib2.Positionable
bck, fwd, move, move, move, move, move, setPosition, setPosition, setPosition, setPosition, setPosition
-
Method Details
-
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
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
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-
-