Interface Transform

All Known Subinterfaces:
ComponentMapping, InvertibleTransform, Mixed, Slicing, Translation
All Known Implementing Classes:
AbstractMixedTransform, AbstractPermutationTransform, AbstractShearTransform, ComponentMappingTransform, InverseShearTransform, InverseTransform, MixedTransform, PermutationTransform, SequentializeTransform, ShearTransform, SingleDimensionPermutationTransform, SlicingTransform, TranslationTransform, TranslationTransform.InverseTranslationTransform

public interface Transform
Transformation from Zn to Zm.

Applying the transformation to a n-dimensional integer source vector yields a m-dimensional integer target vector.

Author:
Tobias Pietzsch, Stephan Saalfeld
  • Method Details

    • numSourceDimensions

      int numSourceDimensions()
      Returns n, the dimension of the source vector.
      Returns:
      the dimension of the source vector.
    • numTargetDimensions

      int numTargetDimensions()
      Returns m, the dimension of the target vector.
      Returns:
      the dimension of the target vector.
    • apply

      void apply(long[] source, long[] target)
      Apply the Transform to a source vector to obtain a target vector.
      Parameters:
      source - source coordinates.
      target - set this to the target coordinates.
    • apply

      void apply(int[] source, int[] target)
      Apply the Transform to a source vector to obtain a target vector.
      Parameters:
      source - source coordinates.
      target - set this to the target coordinates.
    • apply

      void apply(Localizable source, Positionable target)
      Apply the Transform to a source Localizable to obtain a target Positionable.
      Parameters:
      source - source coordinates.
      target - set this to the target coordinates.