Package net.imglib2

Interface Positionable

All Superinterfaces:
EuclideanSpace
All Known Subinterfaces:
OutOfBounds<T>, RandomAccess<T>, RealOutOfBounds<T>, RealPositionable, RealRandomAccess<T>
All Known Implementing Classes:
AbstractConvertedRandomAccess, AbstractConvertedRealRandomAccess, AbstractLongListImg.LongListRandomAccess, AbstractOutOfBoundsMirror, AbstractOutOfBoundsValue, AbstractPositionableTransform, AbstractProjector2D, ArrayImgXYByteProjector, ArrayImgXYShortProjector, ArrayRandomAccess, CellRandomAccess, CompositeView.CompositeRandomAccess, CompositeXYProjector, CompositeXYRandomAccessibleProjector, ConvertedRandomAccess, ConvertedRealRandomAccess, Floor, FloorInterpolator, FloorOffset, FullSourceMapMixedRandomAccess, FullSourceMapSlicingRandomAccess, HyperSlice.HyperSliceRandomAccess, HyperSlicesView.HyperSlicesViewRandomAccess, InverseDistanceWeightingInterpolator, IterableIntervalProjector2D, LanczosInterpolator, ListRandomAccess, MixedRandomAccess, NearestNeighborInterpolator, NearestNeighborSearchInterpolator, NLinearInterpolator, NLinearInterpolator1D, NLinearInterpolator2D, NLinearInterpolator3D, NLinearInterpolatorARGB, NtreeRandomAccess, OutOfBoundsBorder, OutOfBoundsConstantValue, OutOfBoundsMirrorDoubleBoundary, OutOfBoundsMirrorExpWindowing, OutOfBoundsMirrorSingleBoundary, OutOfBoundsPeriodic, OutOfBoundsRandomValue, PlanarImgXYByteProjector, PlanarImgXYShortProjector, PlanarRandomAccess, PlanarRandomAccess1D, Point, RandomAccessibleOnRealRandomAccessible.RandomAccessOnRealRandomAccessible, RandomAccessiblePair.RandomAccess, RandomAccessibleProjector2D, RealOutOfBoundsRealRandomAccess, RealPoint, Round, SamplingProjector2D, SlicingRandomAccess, StackView.DefaultRA, StackView.MoveAllSlicesRA, SubsampleView.SubsampleRandomAccess, TransformRandomAccess, TranslationRandomAccess, Volatile2DRandomAccessibleProjector, WriteConvertedRandomAccess

public interface Positionable extends EuclideanSpace
An element that can be positioned in n-dimensional discrete space.
Author:
Stephan Preibisch, Stephan Saalfeld, Tobias Pietzsch
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    bck(int d)
    Move by -1 in one dimension.
    void
    fwd(int d)
    Move by 1 in one dimension.
    void
    move(int[] distance)
    Move the element relative to its current location using an int[] as distance vector.
    void
    move(int distance, int d)
    Move the element in one dimension for some distance.
    void
    move(long[] distance)
    Move the element relative to its current location using a long[] as distance vector.
    void
    move(long distance, int d)
    Move the element in one dimension for some distance.
    void
    move(Localizable localizable)
    Move the element relative to its current location using an Localizable as distance vector.
    void
    setPosition(int[] position)
    Set the position of the element.
    void
    setPosition(int position, int d)
    Set the position of the element for one dimension.
    void
    setPosition(long[] position)
    Set the position of the element.
    void
    setPosition(long position, int d)
    Set the position of the element for one dimension.
    void
    setPosition(Localizable localizable)
    Place the element at the same location as a given Localizable

    Methods inherited from interface net.imglib2.EuclideanSpace

    numDimensions
  • Method Details

    • 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 d
      d - dimension
    • move

      void move(long distance, int d)
      Move the element in one dimension for some distance.
      Parameters:
      distance - relative offset in dimension d
      d - dimension
    • move

      void move(Localizable localizable)
      Move the element relative to its current location using an Localizable as distance vector.
      Parameters:
      localizable - 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 localizable)
      Place the element at the same location as a given Localizable
      Parameters:
      localizable - 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 d
      d - dimension
    • setPosition

      void setPosition(long position, int d)
      Set the position of the element for one dimension.
      Parameters:
      position - absolute position in dimension d
      d - dimension