Modifier and Type | Method and Description |
---|---|
static Matrix |
getRotationJAMA(javax.vecmath.Matrix4d transform)
Convert a transformation matrix into a JAMA rotation matrix.
|
static javax.vecmath.Matrix3d |
getRotationMatrix(javax.vecmath.Matrix4d transform)
Convert a transformation matrix into a rotation matrix.
|
static javax.vecmath.Matrix4d |
getTransformation(Matrix rot,
Matrix trans)
Convert JAMA rotation and translation to a Vecmath transformation matrix.
|
static javax.vecmath.Vector3d |
getTranslationVector(javax.vecmath.Matrix4d transform)
Extract the translational vector of a transformation matrix.
|
public static Matrix getRotationJAMA(javax.vecmath.Matrix4d transform)
transform
- Matrix4d with transposed rotation matrixpublic static javax.vecmath.Matrix3d getRotationMatrix(javax.vecmath.Matrix4d transform)
transform
- Matrix4dpublic static javax.vecmath.Vector3d getTranslationVector(javax.vecmath.Matrix4d transform)
transform
- Matrix4dpublic static javax.vecmath.Matrix4d getTransformation(Matrix rot, Matrix trans)
rot
- 3x3 Rotation matrixtrans
- 3x1 Translation matrixCopyright © 2000–2019 BioJava. All rights reserved.