Package | Description |
---|---|
spim.vecmath |
Modifier and Type | Method and Description |
---|---|
void |
Matrix3f.add(float scalar,
Matrix3f m1)
Adds a scalar to each component of the matrix m1 and places the result
into this.
|
void |
Matrix3f.add(Matrix3f m1)
Sets the value of this matrix to the matrix sum of itself and matrix m1.
|
void |
Matrix3f.add(Matrix3f m1,
Matrix3f m2)
Sets the value of this matrix to the matrix sum of matrices m1 and m2.
|
boolean |
Matrix3f.epsilonEquals(Matrix3f m1,
float epsilon)
Returns true if the L-infinite distance between this matrix and matrix m1
is less than or equal to the epsilon parameter, otherwise returns false.
|
boolean |
Matrix3f.equals(Matrix3f m1)
Returns true if all of the data members of Matrix3f m1 are equal to the
corresponding data members in this Matrix3f.
|
void |
Transform3D.get(Matrix3f m1)
Places the normalized rotational component of this transform into the 3x3
matrix argument.
|
void |
Matrix4f.get(Matrix3f m1)
Performs an SVD normalization of this matrix in order to acquire the
normalized rotational component; the values are placed into the Matrix3f
parameter.
|
void |
Matrix4d.get(Matrix3f m1)
Performs an SVD normalization of this matrix in order to acquire the
normalized rotational component; the values are placed into the Matrix3f
parameter.
|
double |
Transform3D.get(Matrix3f m1,
Vector3d t1)
Places the normalized rotational component of this transform into the
matrix parameter; place the translational component into the vector
parameter.
|
double |
Matrix4d.get(Matrix3f m1,
Vector3d t1)
Performs an SVD normalization of this matrix to calculate the rotation as
a 3x3 matrix, the translation, and the scale.
|
float |
Transform3D.get(Matrix3f m1,
Vector3f t1)
Places the normalized rotational component of this transform into the
matrix parameter; place the translational component into the vector
parameter.
|
float |
Matrix4f.get(Matrix3f m1,
Vector3f t1)
Performs an SVD normalization of this matrix to calculate the rotation as
a 3x3 matrix, the translation, and the scale.
|
void |
Transform3D.getRotationScale(Matrix3f m1)
Gets the upper 3x3 values of this matrix and places them into the matrix
m1.
|
void |
Matrix4f.getRotationScale(Matrix3f m1)
Gets the upper 3x3 values of this matrix and places them into the matrix
m1.
|
void |
Matrix4d.getRotationScale(Matrix3f m1)
Gets the upper 3x3 values of this matrix and places them into the matrix
m1.
|
void |
Matrix3f.invert(Matrix3f m1)
Sets the value of this matrix to the matrix inverse of the passed matrix
m1.
|
void |
Matrix3f.mul(float scalar,
Matrix3f m1)
Multiplies each element of matrix m1 by a scalar and places the result
into this.
|
void |
Matrix3f.mul(Matrix3f m1)
Sets the value of this matrix to the result of multiplying itself with
matrix m1.
|
void |
Matrix3f.mul(Matrix3f m1,
Matrix3f m2)
Sets the value of this matrix to the result of multiplying the two
argument matrices together.
|
void |
Matrix3f.mulNormalize(Matrix3f m1)
Multiplies this matrix by matrix m1, does an SVD normalization of the
result, and places the result back into this matrix.
|
void |
Matrix3f.mulNormalize(Matrix3f m1,
Matrix3f m2)
Multiplies matrix m1 by matrix m2, does an SVD normalization of the
result, and places the result into this matrix.
|
void |
Matrix3f.mulTransposeBoth(Matrix3f m1,
Matrix3f m2)
Multiplies the transpose of matrix m1 times the transpose of matrix m2,
and places the result into this.
|
void |
Matrix3f.mulTransposeLeft(Matrix3f m1,
Matrix3f m2)
Multiplies the transpose of matrix m1 times matrix m2, and places the
result into this.
|
void |
Matrix3f.mulTransposeRight(Matrix3f m1,
Matrix3f m2)
Multiplies matrix m1 times the transpose of matrix m2, and places the
result into this.
|
void |
Matrix3f.negate(Matrix3f m1)
Sets the value of this matrix equal to the negation of of the Matrix3f
parameter.
|
void |
Matrix3f.normalize(Matrix3f m1)
Perform singular value decomposition normalization of matrix m1 and place
the normalized values into this.
|
void |
Matrix3f.normalizeCP(Matrix3f m1)
Perform cross product normalization of matrix m1 and place the normalized
values into this.
|
void |
Transform3D.set(Matrix3f m1)
Sets the rotational component (upper 3x3) of this transform to the matrix
values in the single precision Matrix3f argument; the other elements of
this transform are initialized as if this were an identity matrix (i.e.,
affine matrix with no translational component).
|
void |
Quat4f.set(Matrix3f m1)
Sets the value of this quaternion to the rotational component of the
passed matrix.
|
void |
Quat4d.set(Matrix3f m1)
Sets the value of this quaternion to the rotational component of the
passed matrix.
|
void |
Matrix4f.set(Matrix3f m1)
Sets the rotational component (upper 3x3) of this matrix to the matrix
values in the single precision Matrix3f argument; the other elements of
this matrix are initialized as if this were an identity matrix (i.e.,
affine matrix with no translational component).
|
void |
Matrix4d.set(Matrix3f m1)
Sets the rotational component (upper 3x3) of this matrix to the matrix
values in the single precision Matrix3f argument; the other elements of
this matrix are initialized as if this were an identity matrix (i.e.,
affine matrix with no translational component).
|
void |
Matrix3f.set(Matrix3f m1)
Sets the value of this matrix to the value of the Matrix3f argument.
|
void |
Matrix3d.set(Matrix3f m1)
Sets the value of this matrix to the double value of the Matrix3f
argument.
|
void |
AxisAngle4f.set(Matrix3f m1)
Sets the value of this axis-angle to the rotational component of the
passed matrix.
|
void |
AxisAngle4d.set(Matrix3f m1)
Sets the value of this axis-angle to the rotational component of the
passed matrix.
|
void |
Transform3D.set(Matrix3f m1,
Vector3d t1,
double s)
Sets the value of this matrix from the rotation expressed by the rotation
matrix m1, the translation t1, and the scale s.
|
void |
Transform3D.set(Matrix3f m1,
Vector3f t1,
float s)
Sets the value of this matrix from the rotation expressed by the rotation
matrix m1, the translation t1, and the scale s.
|
void |
Matrix4f.set(Matrix3f m1,
Vector3f t1,
float scale)
Sets the value of this matrix from the rotation expressed by the rotation
matrix m1, the translation t1, and the scale factor.
|
void |
Matrix4d.set(Matrix3f m1,
Vector3f t1,
float scale)
Sets the value of this matrix from the rotation expressed by the rotation
matrix m1, the translation t1, and the scale factor.
|
void |
Transform3D.setRotation(Matrix3f m1)
Sets the rotational component (upper 3x3) of this transform to the matrix
values in the single precision Matrix3f argument; the other elements of
this transform are unchanged; any pre-existing scale will be preserved;
the argument matrix m1 will be checked for proper normalization when this
transform is internally classified.
|
void |
Matrix4f.setRotation(Matrix3f m1)
Sets the rotational component (upper 3x3) of this matrix to the matrix
values in the single precision Matrix3f argument; the other elements of
this matrix are unchanged; a singular value decomposition is performed on
this object's upper 3x3 matrix to factor out the scale, then this
object's upper 3x3 matrix components are replaced by the passed rotation
components, and then the scale is reapplied to the rotational components.
|
void |
Matrix4d.setRotation(Matrix3f m1)
Sets the rotational component (upper 3x3) of this matrix to the matrix
values in the single precision Matrix3f argument; the other elements of
this matrix are unchanged; a singular value decomposition is performed on
this object's upper 3x3 matrix to factor out the scale, then this
object's upper 3x3 matrix components are replaced by the passed rotation
components, and then the scale is reapplied to the rotational components.
|
void |
Transform3D.setRotationScale(Matrix3f m1)
Replaces the upper 3x3 matrix values of this transform with the values in
the matrix m1.
|
void |
Matrix4f.setRotationScale(Matrix3f m1)
Replaces the upper 3x3 matrix values of this matrix with the values in
the matrix m1.
|
void |
Matrix4d.setRotationScale(Matrix3f m1)
Replaces the upper 3x3 matrix values of this matrix with the values in
the matrix m1.
|
void |
Matrix3f.sub(Matrix3f m1)
Sets the value of this matrix to the matrix difference of itself and
matrix m1 (this = this - m1).
|
void |
Matrix3f.sub(Matrix3f m1,
Matrix3f m2)
Sets the value of this matrix to the matrix difference of matrices m1 and
m2.
|
void |
Matrix3f.transpose(Matrix3f m1)
Sets the value of this matrix to the transpose of the argument matrix.
|
Constructor and Description |
---|
Matrix3d(Matrix3f m1)
Constructs a new matrix with the same values as the Matrix3f parameter.
|
Matrix3f(Matrix3f m1)
Constructs a new matrix with the same values as the Matrix3f parameter.
|
Matrix4d(Matrix3f m1,
Vector3d t1,
double s)
Constructs and initializes a Matrix4d from the rotation matrix,
translation, and scale values; the scale is applied only to the
rotational components of the matrix (upper 3x3) and not to the
translational components of the matrix.
|
Matrix4f(Matrix3f m1,
Vector3f t1,
float s)
Constructs and initializes a Matrix4f from the rotation matrix,
translation, and scale values; the scale is applied only to the
rotational components of the matrix (upper 3x3) and not to the
translational components of the matrix.
|
Transform3D(Matrix3f m1,
Vector3d t1,
double s)
Constructs and initializes a transform from the rotation matrix,
translation, and scale values.
|
Transform3D(Matrix3f m1,
Vector3f t1,
float s)
Constructs and initializes a transform from the rotation matrix,
translation, and scale values.
|
Copyright © 2015–2021 Fiji. All rights reserved.