sugr
Class Translation_3D

java.lang.Object
  extended bysugr.Element
      extended bysugr.Transformation
          extended bysugr.Homography_3D
              extended bysugr.Affinity_3D
                  extended bysugr.ScaledMotion_3D
                      extended bysugr.Motion_3D
                          extended bysugr.Translation_3D
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class Translation_3D
extends Motion_3D

class containing transformation(3) constructors

Author:
Norbert Fischer
See Also:
Serialized Form

Field Summary
private static long serialVersionUID
          Class version number for serialization
 
Fields inherited from class sugr.Homography_3D
DIM
 
Fields inherited from class sugr.Element
cov, MAXITER, v
 
Constructor Summary
Translation_3D()
          standard constructor. creates an identity matrix
Translation_3D(double x, double y, double z)
          Creates a translation matrix with single parameters
Translation_3D(double x, double y, double z, Matrix cov)
          Creates a translation matrix with covariance and single parameters
Translation_3D(Point_3D x)
          Creates a translation by a Point_3D
Translation_3D(Point_3D x, Matrix cov)
          Creates a translation by a Point_3D
Translation_3D(Vector transVector)
          Creates a translation matrix by a vector
Translation_3D(Vector transVector, Matrix cov)
          Creates a translation matrix by a vector with covariance
 
Method Summary
 int getDegreesOfFreedom()
          Returns the number of elements to specify this transformation
 
Methods inherited from class sugr.Motion_3D
estimate, getConstraintValue, getJacobianOfConstraint, printConstraint
 
Methods inherited from class sugr.ScaledMotion_3D
approximate
 
Methods inherited from class sugr.Homography_3D
doCondition, getDimCol, getDimRow, getJacobianAfterFirst, getJacobianAfterSecond, getLineMatrix, getPlaneMatrix, getPointMatrix, transform
 
Methods inherited from class sugr.Transformation
errorProp, getDimension, getJacobianOfRelation, getReducedAB, getTransformationMatrix, getTransposeTransMatrix, transform
 
Methods inherited from class sugr.Element
calcCov, changeNullspace, changeNullspace, checkCovDim, checkElement, clone, ensureConstraints, estimate, gaussHelmertIterations, gaussHelmertIterationsOld, getCov, getV, normalizeSphere, normalizeSphereComparable, print, print, reduceFirstMatrix, reduceMatrix, reduceMatrix, setCov, setV, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Class version number for serialization

See Also:
Constant Field Values
Constructor Detail

Translation_3D

public Translation_3D()
standard constructor. creates an identity matrix


Translation_3D

public Translation_3D(double x,
                      double y,
                      double z)
Creates a translation matrix with single parameters

Parameters:
x - moving along the x-Axis
y - moving along the y-Axis
z - moving along the z-Axis

Translation_3D

public Translation_3D(double x,
                      double y,
                      double z,
                      Matrix cov)
Creates a translation matrix with covariance and single parameters

Parameters:
x - moving along the x-Axis
y - moving along the y-Axis
z - moving along the z-Axis
cov - 16x16 Matrix

Translation_3D

public Translation_3D(Vector transVector)
Creates a translation matrix by a vector

Parameters:
transVector - Dimension must be 4

Translation_3D

public Translation_3D(Vector transVector,
                      Matrix cov)
Creates a translation matrix by a vector with covariance

Parameters:
transVector - Dimension must be 4
cov - 16x16 matrix

Translation_3D

public Translation_3D(Point_3D x)
Creates a translation by a Point_3D

Parameters:
x - an arbitrary Point_3D. Euclidean normalization will be done automatically in this method

Translation_3D

public Translation_3D(Point_3D x,
                      Matrix cov)
Creates a translation by a Point_3D

Parameters:
x - an arbitrary Point_3D. Euclidean normalization will be done automatically in this method
cov - a 16x16 matrix
Method Detail

getDegreesOfFreedom

public int getDegreesOfFreedom()
Returns the number of elements to specify this transformation

Overrides:
getDegreesOfFreedom in class Motion_3D