void | add(float scalar) - Adds a scalar to each component of this matrix.
|
void | add(float scalar, Matrix4f m1) - Adds a scalar to each component of the matrix m1 and places
the result into this.
|
void | add(Matrix4f m1) - Sets the value of this matrix to sum of itself and matrix m1.
|
void | add(Matrix4f m1, Matrix4f m2) - Sets the value of this matrix to the matrix sum of matrices m1 and m2.
|
float | determinant() - Computes the determinant of this matrix.
|
boolean | epsilonEquals(Matrix4f 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 | equals(Object o1) - Returns true if the Object o1 is of type Matrix4f and all of the data
members of t1 are equal to the corresponding data members in this
Matrix4f.
|
boolean | equals(Matrix4f m1) - Returns true if all of the data members of Matrix4f m1 are
equal to the corresponding data members in this Matrix4f.
|
void | get(Matrix3d m1) - Performs an SVD normalization of this matrix in order to acquire the
normalized rotational component; the values are placed into the Matrix3d parameter.
|
void | 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.
|
float | 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 | get(Quat4f q1) - Performs an SVD normalization of this matrix in order to acquire the
normalized rotational component; the values are placed into
the Quat4f parameter.
|
void | get(Vector3f trans) - Retrieves the translational components of this matrix.
|
void | getColumn(int column, Vector4f v) - Copies the matrix values in the specified column into the
vector parameter.
|
void | getColumn(int column, v[] ) - Copies the matrix values in the specified column into the
array parameter.
|
float | getElement(int row, int column) - Retrieves the value at the specified row and column of this matrix.
|
void | getRotationScale(Matrix3f m1) - Gets the upper 3x3 values of this matrix and places them into the matrix m1.
|
void | getRow(int row, Vector4f v) - Copies the matrix values in the specified row into the
vector parameter.
|
void | getRow(int row, v[] ) - Copies the matrix values in the specified row into the
array parameter.
|
float | getScale() - Performs an SVD normalization of this matrix to calculate and return the
uniform scale factor.
|
int | hashCode() - Returns a hash number based on the data values in this
object.
|
void | invert() - Sets the value of this matrix to its inverse.
|
void | invert(Matrix4f m1) - Sets the value of this matrix to the matrix inverse
of the passed matrix m1.
|
void | mul(float scalar) - Multiplies each element of this matrix by a scalar.
|
void | mul(float scalar, Matrix4f m1) - Multiplies each element of matrix m1 by a scalar and places the result
into this.
|
void | mul(Matrix4f m1) - Sets the value of this matrix to the result of multiplying itself
with matrix m1.
|
void | mul(Matrix4f m1, Matrix4f m2) - Sets the value of this matrix to the result of multiplying
the two argument matrices together.
|
void | mulTransposeBoth(Matrix4f m1, Matrix4f m2) - Multiplies the transpose of matrix m1 times the transpose of matrix m2,
and places the result into this.
|
void | mulTransposeLeft(Matrix4f m1, Matrix4f m2) - Multiplies the transpose of matrix m1 times matrix m2, and places the
result into this.
|
void | mulTransposeRight(Matrix4f m1, Matrix4f m2) - Multiplies matrix m1 times the transpose of matrix m2, and places the
result into this.
|
void | negate() - Negates the value of this matrix: this = -this.
|
void | negate(Matrix4f m1) - Sets the value of this matrix equal to the negation of of the Matrix4f
parameter.
|
void | rotX(float angle) - Sets the value of this matrix to a rotation matrix about the x axis
by the passed angle.
|
void | rotY(float angle) - Sets the value of this matrix to a rotation matrix about the y axis
by the passed angle.
|
void | rotZ(float angle) - Sets the value of this matrix to a rotation matrix about the z axis
by the passed angle.
|
void | set(float scale) - Sets the value of this matrix to a scale matrix with the
passed scale amount.
|
void | set(float scale, Vector3f v1) - Sets the value of this matrix to a scale and translation matrix;
scale is not applied to the translation and all of the matrix
values are modified.
|
void | set(AxisAngle4d a1) - Sets the value of this matrix to the matrix conversion of the
single precision axis and angle argument.
|
void | set(AxisAngle4f a1) - Sets the value of this matrix to the matrix conversion of the
single precision axis and angle argument.
|
void | set(Matrix3d m1) - Sets the rotational component (upper 3x3) of this matrix to the matrix
values in the double precision Matrix3d argument; the other elements of
this matrix are initialized as if this were an identity matrix
(ie, affine matrix with no translational component).
|
void | set(Matrix3d m1, Vector3d t1, double scale) - Sets the value of this matrix from the rotation expressed by the
rotation matrix m1, the translation t1, and the scale s.
|
void | 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
(ie, affine matrix with no translational component).
|
void | 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 s.
|
void | set(Matrix4d m1) - Sets the value of this matrix to a copy of the
passed matrix m1.
|
void | set(Matrix4f m1) - Sets the value of this matrix to a copy of the
passed matrix m1.
|
void | set(Quat4d q1) - Sets the value of this matrix to the matrix conversion of the
(double precision) quaternion argument.
|
void | set(Quat4d q1, Vector3d t1, double s) - Sets the value of this matrix from the rotation expressed by the
quaternion q1, the translation t1, and the scale s.
|
void | set(Quat4f q1) - Sets the value of this matrix to the matrix conversion of the
single precision quaternion argument.
|
void | set(Quat4f q1, Vector3f t1, float s) - Sets the value of this matrix from the rotation expressed by the
quaternion q1, the translation t1, and the scale s.
|
void | set(Vector3f v1) - Sets the value of this matrix to a translate matrix by the
passed translation value.
|
void | set(Vector3f v1, float scale) - Sets the value of this matrix to a scale and translation matrix;
the translation is scaled by the scale factor and all of the
matrix values are modified.
|
void | set(m[] ) - Sets the values in this Matrix4f equal to the row-major array parameter
(ie, the first four elements of the array will be copied into the first
row of this matrix, etc.).
|
void | setColumn(int column, float x, float y, float z, float w) - Sets the specified column of this matrix4f to the four values provided.
|
void | setColumn(int column, Vector4f v) - Sets the specified column of this matrix4f to the vector provided.
|
void | setColumn(int column, v[] ) - Sets the specified column of this matrix4f to the four values provided.
|
void | setElement(int row, int column, float value) - Sets the specified element of this matrix4f to the value provided.
|
void | setIdentity() - Sets this Matrix4f to identity.
|
void | setRotation(AxisAngle4f a1) - Sets the rotational component (upper 3x3) of this matrix to the matrix
equivalent values of the axis-angle 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 matrix
equivalent of the axis-angle, and then the scale is reapplied to the
rotational components.
|
void | setRotation(Matrix3d 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 | 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 | setRotation(Quat4d q1) - Sets the rotational component (upper 3x3) of this matrix to the matrix
equivalent values of the quaternion 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 matrix
equivalent of the quaternion, and then the scale is reapplied to the
rotational components.
|
void | setRotation(Quat4f q1) - Sets the rotational component (upper 3x3) of this matrix to the matrix
equivalent values of the quaternion 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 matrix
equivalent of the quaternion, and then the scale is reapplied to the
rotational components.
|
void | setRotationScale(Matrix3f m1) - Replaces the upper 3x3 matrix values of this matrix with the values in the matrix m1.
|
void | setRow(int row, float x, float y, float z, float w) - Sets the specified row of this matrix4f to the four values provided.
|
void | setRow(int row, Vector4f v) - Sets the specified row of this matrix4f to the Vector provided.
|
void | setRow(int row, v[] ) - Sets the specified row of this matrix4f to the four values provided.
|
void | setScale(float scale) - Sets the scale component of the current matrix by factoring out the
current scale (by doing an SVD) from the rotational component and
multiplying by the new scale.
|
void | setTranslation(Vector3f trans) - Modifies the translational components of this matrix to the values of
the Vector3f argument; the other values of this matrix are not modified.
|
void | setZero() - Sets this matrix to all zeros.
|
void | sub(Matrix4f m1) - Sets the value of this matrix to the matrix difference of itself
and matrix m1 (this = this - m1).
|
void | sub(Matrix4f m1, Matrix4f m2) - Sets the value of this matrix to the matrix difference
of matrices m1 and m2.
|
String | toString() - Returns a string that contains the values of this Matrix4f.
|
void | transform(Point3f point) - Transforms the point parameter with this Matrix4f and
places the result back into point.
|
void | transform(Point3f point, Point3f pointOut) - Transforms the point parameter with this Matrix4f and places the result
into pointOut.
|
void | transform(Tuple4f vec) - Transform the vector vec using this Matrix4f and place the
result back into vec.
|
void | transform(Tuple4f vec, Tuple4f vecOut) - Transform the vector vec using this Matrix4f and place the
result into vecOut.
|
void | transform(Vector3f normal) - Transforms the normal parameter by this transform and places the value
back into normal.
|
void | transform(Vector3f normal, Vector3f normalOut) - Transforms the normal parameter by this Matrix4f and places the value
into normalOut.
|
void | transpose() - Sets the value of this matrix to its transpose.
|
void | transpose(Matrix4f m1) - Sets the value of this matrix to the transpose of the argument matrix
|