mpicbg.models
Interface Affine2D<T extends Affine2D<T>>

All Superinterfaces:
CoordinateTransform, InverseCoordinateTransform, InvertibleCoordinateTransform, Serializable
All Known Implementing Classes:
AbstractAffineModel2D, AffineModel2D, IdentityModel, InterpolatedAffineModel2D, RigidModel2D, SimilarityModel2D, TranslationModel2D

public interface Affine2D<T extends Affine2D<T>>
extends InvertibleCoordinateTransform

Author:
Stephan Saalfeld

Method Summary
 void concatenate(T affine2d)
           
 AffineTransform createAffine()
          Create an AffineTransform representing the current parameters the model.
 T createInverse()
           
 AffineTransform createInverseAffine()
          Create an AffineTransform representing the inverse of the current parameters of the model.
 void preConcatenate(T affine2d)
           
 void toArray(double[] data)
          Write the 6 parameters of the affine into a double array.
 void toMatrix(double[][] data)
          Write the 6 parameters of the affine into a 3x2 double array.
 
Methods inherited from interface mpicbg.models.CoordinateTransform
apply, applyInPlace
 
Methods inherited from interface mpicbg.models.InverseCoordinateTransform
applyInverse, applyInverseInPlace
 

Method Detail

createAffine

AffineTransform createAffine()
Create an AffineTransform representing the current parameters the model.

Returns:
AffineTransform

createInverseAffine

AffineTransform createInverseAffine()
Create an AffineTransform representing the inverse of the current parameters of the model.

Returns:
AffineTransform

preConcatenate

void preConcatenate(T affine2d)

concatenate

void concatenate(T affine2d)

toArray

void toArray(double[] data)
Write the 6 parameters of the affine into a double array. The order is m00, m10, m01, m11, m02, m12


toMatrix

void toMatrix(double[][] data)
Write the 6 parameters of the affine into a 3x2 double array. The order is [0][0] -> m00; [0][1] -> m01; [0][2] -> m02; [1][0] -> m10; [1][1] -> m11; [1][2] -> m12;


createInverse

T createInverse()
Specified by:
createInverse in interface InvertibleCoordinateTransform


Copyright © 2007-2016 Fiji. All Rights Reserved.