Package net.imglib2.loops
Interface SyncedPositionables.Private.Forwarder
-
- All Superinterfaces:
EuclideanSpace,Positionable
- All Known Implementing Classes:
SyncedPositionables.Private.Forwarder1,SyncedPositionables.Private.Forwarder2,SyncedPositionables.Private.Forwarder3,SyncedPositionables.Private.Forwarder4,SyncedPositionables.Private.Forwarder5,SyncedPositionables.Private.GeneralForwarder
- Enclosing class:
- SyncedPositionables.Private
public static interface SyncedPositionables.Private.Forwarder extends Positionable
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidbck(int d)Move by -1 in one dimension.default voidmove(int[] distance)Move the element relative to its current location using an int[] as distance vector.default voidmove(int distance, int d)Move the element in one dimension for some distance.default voidmove(long[] distance)Move the element relative to its current location using a long[] as distance vector.default voidmove(Localizable localizable)Move the element relative to its current location using anLocalizableas distance vector.default intnumDimensions()Gets the space's number of dimensions.default voidsetPosition(int[] position)Set the position of the element.default voidsetPosition(int position, int d)Set the position of the element for one dimension.default voidsetPosition(long[] position)Set the position of the element.default voidsetPosition(long position, int d)Set the position of the element for one dimension.default voidsetPosition(Localizable localizable)Place the element at the same location as a givenLocalizable-
Methods inherited from interface net.imglib2.Positionable
fwd, move
-
-
-
-
Method Detail
-
bck
default void bck(int d)
Description copied from interface:PositionableMove by -1 in one dimension.- Specified by:
bckin interfacePositionable- Parameters:
d- dimension
-
move
default void move(int distance, int d)Description copied from interface:PositionableMove the element in one dimension for some distance.- Specified by:
movein interfacePositionable- Parameters:
distance- relative offset in dimension dd- dimension
-
move
default void move(Localizable localizable)
Description copied from interface:PositionableMove the element relative to its current location using anLocalizableas distance vector.- Specified by:
movein interfacePositionable- Parameters:
localizable- relative offset,EuclideanSpace.numDimensions()must be ≥EuclideanSpace.numDimensions()
-
move
default void move(int[] distance)
Description copied from interface:PositionableMove the element relative to its current location using an int[] as distance vector.- Specified by:
movein interfacePositionable- Parameters:
distance- relative offset, length must be ≥EuclideanSpace.numDimensions()
-
move
default void move(long[] distance)
Description copied from interface:PositionableMove the element relative to its current location using a long[] as distance vector.- Specified by:
movein interfacePositionable- Parameters:
distance- relative offset, length must be ≥EuclideanSpace.numDimensions()
-
setPosition
default void setPosition(Localizable localizable)
Description copied from interface:PositionablePlace the element at the same location as a givenLocalizable- Specified by:
setPositionin interfacePositionable- Parameters:
localizable- absolute position,EuclideanSpace.numDimensions()must be ≥EuclideanSpace.numDimensions()
-
setPosition
default void setPosition(int[] position)
Description copied from interface:PositionableSet the position of the element.- Specified by:
setPositionin interfacePositionable- Parameters:
position- absolute position, length must be ≥EuclideanSpace.numDimensions()
-
setPosition
default void setPosition(long[] position)
Description copied from interface:PositionableSet the position of the element.- Specified by:
setPositionin interfacePositionable- Parameters:
position- absolute position, length must be ≥EuclideanSpace.numDimensions()
-
setPosition
default void setPosition(int position, int d)Description copied from interface:PositionableSet the position of the element for one dimension.- Specified by:
setPositionin interfacePositionable- Parameters:
position- absolute position in dimension dd- dimension
-
setPosition
default void setPosition(long position, int d)Description copied from interface:PositionableSet the position of the element for one dimension.- Specified by:
setPositionin interfacePositionable- Parameters:
position- absolute position in dimension dd- dimension
-
numDimensions
default int numDimensions()
Description copied from interface:EuclideanSpaceGets the space's number of dimensions.- Specified by:
numDimensionsin interfaceEuclideanSpace
-
-