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
public interface RealPositionable extends Positionable
An element that can be positioned in n-dimensional real space.- Author:
- Tobias Pietzsch, Stephan Preibisch, Stephan Saalfeld
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
move(double[] distance)
Move the element relative to its current location using a float[] as distance vector.void
move(double distance, int d)
Move the element in one dimension for some distance.void
move(float[] distance)
Move the element relative to its current location using a float[] as distance vector.void
move(float distance, int d)
Move the element in one dimension for some distance.void
move(RealLocalizable distance)
Move the element relative to its current location using aRealLocalizable
as distance vector.void
setPosition(double[] position)
Set the position of the element.void
setPosition(double position, int d)
Set the position of the element for one dimension.void
setPosition(float[] position)
Set the position of the element.void
setPosition(float position, int d)
Set the position of the element for one dimension.void
setPosition(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 aRealLocalizable
as 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
-
-
-