Package net.imglib2

Interface Positionable

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      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
    • Method Detail

      • 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​(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​(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