mpicbg.trakem2.transform
Class TranslationModel3D

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

public class TranslationModel3D
extends mpicbg.models.TranslationModel3D
implements InvertibleCoordinateTransform


Field Summary
 
Fields inherited from class mpicbg.models.TranslationModel3D
MIN_NUM_MATCHES, translation
 
Fields inherited from class mpicbg.models.AbstractModel
cost, rnd
 
Constructor Summary
TranslationModel3D()
           
 
Method Summary
 TranslationModel3D 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.TranslationModel3D
apply, applyInPlace, applyInverse, applyInverseInPlace, concatenate, createInverse, estimateBounds, estimateInverseBounds, fit, getMatrix, getMinNumMatches, getTranslation, preConcatenate, set, set, toArray, toArray, toMatrix, toMatrix, 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
 
Methods inherited from interface mpicbg.models.Model
betterThan, filter, filter, filter, filterRansac, filterRansac, filterRansac, filterRansac, getCost, getError, getMinSetSize, icp, ransac, ransac, setCost, setError, test, test
 

Constructor Detail

TranslationModel3D

public TranslationModel3D()
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 TranslationModel3D copy()
Specified by:
copy in interface mpicbg.models.Model<mpicbg.models.TranslationModel3D>
Overrides:
copy in class mpicbg.models.TranslationModel3D