Interface TransformedRandomAccessible<T>

All Superinterfaces:
EuclideanSpace, RandomAccessible<T>, Typed<T>, View
All Known Implementing Classes:
MixedTransformView, TransformView

public interface TransformedRandomAccessible<T> extends RandomAccessible<T>, View
A view of a RandomAccessible which is related by a coordinate Transform to its source.
  • Method Details

    • getSource

      RandomAccessible<T> getSource()
      Get the source of the TransformedRandomAccessible. This is the next element in the view hierarchy, for example, the next ExtendedRandomAccessibleInterval or the underlying Img.
      Returns:
      the source RandomAccessible.
    • getTransformToSource

      Transform getTransformToSource()
      Get the transformation from view coordinates into source coordinates.

      Note that this is the inverse of the ''view transform'' which maps source to view coordinates.

      Returns:
      transformation from view coordinates into source coordinates.
    • getType

      default T getType()
      Description copied from interface: Typed
      Get an instance of T.

      It should not be assumed that the returned T instance is an independent copy. In particular, repeated calls to getType() may return the same instance.

      Specified by:
      getType in interface Typed<T>
      Returns:
      an instance of T