mpicbg.trakem2.transform
Class RigidModel2D

java.lang.Object
  extended by mpicbg.models.AbstractModel<M>
      extended by mpicbg.models.AbstractAffineModel2D<mpicbg.models.RigidModel2D>
          extended by mpicbg.models.RigidModel2D
              extended by mpicbg.trakem2.transform.RigidModel2D
All Implemented Interfaces:
mpicbg.models.Affine2D<mpicbg.models.RigidModel2D>, mpicbg.models.Boundable, mpicbg.models.CoordinateTransform, mpicbg.models.InverseBoundable, mpicbg.models.InverseCoordinateTransform, mpicbg.models.InvertibleBoundable, mpicbg.models.InvertibleCoordinateTransform, mpicbg.models.Model<mpicbg.models.RigidModel2D>

public class RigidModel2D
extends mpicbg.models.RigidModel2D
implements InvertibleCoordinateTransform


Field Summary
 
Fields inherited from class mpicbg.models.RigidModel2D
cos, itx, ity, MIN_NUM_MATCHES, sin, tx, ty
 
Fields inherited from class mpicbg.models.AbstractModel
cost, rnd
 
Constructor Summary
RigidModel2D()
           
 
Method Summary
 RigidModel2D copy()
           
 void init(java.lang.String data)
          Initialize the properties of the CoordinateTransform from a data string as generated by #toString().
 java.lang.String toDataString()
          Create a String representation of the properties of the CoordinateTransform that can be used to re-create itself with CoordinateTransform.init(String).
 java.lang.String toXML(java.lang.String indent)
          Create an XML-export of the CoordinateTransform for use in TrakEM2.
 
Methods inherited from class mpicbg.models.RigidModel2D
apply, applyInPlace, applyInverse, applyInverseInPlace, concatenate, createAffine, createInverse, createInverseAffine, fit, getMinNumMatches, preConcatenate, set, set, set, toArray, toArray, toMatrix, toMatrix
 
Methods inherited from class mpicbg.models.AbstractAffineModel2D
estimateBounds, estimateInverseBounds, toString
 
Methods inherited from class mpicbg.models.AbstractModel
betterThan, filter, filter, filter, filterRansac, filterRansac, filterRansac, filterRansac, getCost, getError, getMinSetSize, icp, ransac, ransac, setCost, setError, test, test
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface mpicbg.models.InvertibleCoordinateTransform
createInverse
 
Methods inherited from interface mpicbg.models.InverseCoordinateTransform
applyInverse, applyInverseInPlace
 
Methods inherited from interface mpicbg.models.CoordinateTransform
apply, applyInPlace
 

Constructor Detail

RigidModel2D

public RigidModel2D()
Method Detail

init

public final void init(java.lang.String data)
Description copied from interface: CoordinateTransform
Initialize the properties of the CoordinateTransform from a data string as generated by #toString().


toXML

public final java.lang.String toXML(java.lang.String indent)
Description copied from interface: CoordinateTransform
Create an XML-export of the CoordinateTransform for use in TrakEM2.

Returns:
TrakEM2-readable XML

toDataString

public final java.lang.String toDataString()
Description copied from interface: CoordinateTransform
Create a String representation of the properties of the CoordinateTransform that can be used to re-create itself with CoordinateTransform.init(String).

Returns:

copy

public final RigidModel2D copy()
Specified by:
copy in interface mpicbg.models.Model<mpicbg.models.RigidModel2D>
Overrides:
copy in class mpicbg.models.RigidModel2D