SbMatrixd Structure |
Namespace: OIV.Inventor
The SbMatrixd type exposes the following members.
Name | Description | |
---|---|---|
SbMatrixd(Double) |
Constructor.
| |
SbMatrixd(Double) |
Constructor.
| |
SbMatrixd(Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double) |
Constructor.
|
Name | Description | |
---|---|---|
Det3 |
Returns determinant of upper-left 3x3 sub matrix.
| |
Det3(Int32, Int32, Int32, Int32, Int32, Int32) |
Returns determinant of 3x3 sub matrix composed of given row and column indices
(0-3 for each).
| |
Det4 |
Returns determinant of entire matrix.
| |
Equals(Object) |
Returns true if this instance is equal to a specified object.
(Overrides ValueTypeEquals(Object).) | |
Equals(Object, Double) |
Returns true if this instance is equal to a specified object with given tolerance.
| |
Factor |
Factors a matrix m into 5 pieces: m = rsr^ ut, where r^ means transpose of r, and r and
u are rotations, s is a scale, and t is a translation.
Any projection
information is returned in proj.
| |
GetHashCode |
Returns the hash code for the value of this instance.
(Overrides ValueTypeGetHashCode.) | |
GetTransform(SbVec3d, SbRotationd, SbVec3d, SbRotationd) |
Return translation, rotation, scale, and scale orientation components of the
matrix.
.
| |
GetTransform(SbVec3d, SbRotationd, SbVec3d, SbRotationd, SbVec3d) |
Decomposes the matrix into a translation, rotation, scale, and scale
orientation. Any projection information is discarded. The decomposition depends
upon choice of center point for rotation and scaling, which is optional as the
last parameter. Note that if the center is 0, this method is the same as
Factor(SbMatrixd, SbVec3d, SbMatrixd, SbVec3d, SbMatrixd) where t is translation, u is rotation,
s is scaleFactor and r is scaleOrientation.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Identity |
Returns an identity matrix.
| |
Inverse |
Returns inverse of matrix. Results are undefined for singular matrices. Uses LU
decomposition.
| |
LUBackSubstitution |
Perform back-substitution on LU-decomposed matrix. index
is permutation of rows from original matrix.
| |
LUDecomposition |
Perform in-place LU decomposition of matrix. index is index of rows in
matrix. d is the parity of row swaps.
| |
MakeIdentity |
Sets matrix to be identity.
| |
MultDirMatrix(SbVec3d, SbVec3d) |
Pre-multiplies matrix by given row vector, giving vector result.
| |
MultDirMatrix(SbVec3d, SbVec3d) |
Pre-multiplies matrix by given row vector, giving vector result.
| |
MultLeft(SbMatrixd) |
Pre-multiplies matrix by given matrix.
| |
MultLeft(SbMatrixd) |
Pre-multiplies matrix by given matrix.
| |
MultLineMatrix(SbLine, SbLine) |
Multiplies the given line's origin by the matrix, and the line's direction by
the rotation portion of the matrix.
| |
MultLineMatrix(SbLine, SbLine) |
Multiplies the given line's origin by the matrix, and the line's direction by
the rotation portion of the matrix.
| |
MultMatrixVec(SbVec3d, SbVec3d) |
Post-multiplies matrix by given column vector, giving vector result.
| |
MultMatrixVec(SbVec3d, SbVec4f) |
Post-multiplies matrix by given column vector, giving vector result in homogeneous coordinates.
| |
MultMatrixVec(SbVec3d, SbVec3d) |
Post-multiplies matrix by given column vector, giving vector result.
| |
MultMatrixVec(SbVec3d, SbVec4f) |
Post-multiplies matrix by given column vector, giving vector result in homogeneous coordinates.
| |
MultRight(SbMatrixd) |
Post-multiplies matrix by given matrix.
| |
MultRight(SbMatrixd) |
Post-multiplies matrix by given matrix.
| |
MultVecMatrix(SbVec3d, SbVec3d) |
Pre-multiplies matrix by given row vector, giving vector result.
| |
MultVecMatrix(SbVec3d, SbVec4f) |
Pre-multiplies matrix by given row vector, giving vector result in homogeneous coordinates.
| |
MultVecMatrix(SbVec3d, SbVec3d) |
Pre-multiplies matrix by given row vector, giving vector result.
| |
MultVecMatrix(SbVec3d, SbVec4f) |
Pre-multiplies matrix by given row vector, giving vector result in homogeneous coordinates.
| |
Scale |
Scales this matrix by the given vector.
| |
SetRotate(SbRotationd) |
Sets matrix to rotate by given rotation.
| |
SetRotate(SbRotationd) |
Sets matrix to rotate by given rotation.
| |
SetScale(Double) |
Sets matrix to scale by given uniform factor.
| |
SetScale(SbVec3d) |
Sets matrix to scale by given vector.
| |
SetScale(SbVec3d) |
Sets matrix to scale by given vector.
| |
SetTransform(SbVec3d, SbRotationd, SbVec3d) |
Composes the matrix based on a translation, rotation, and scale. A scale orientation
value of (0,0,0,1) is used. The center point for scaling and rotation is (0,0,0).
| |
SetTransform(SbVec3d, SbRotationd, SbVec3d) |
Composes the matrix based on a translation, rotation, and scale. A scale orientation
value of (0,0,0,1) is used. The center point for scaling and rotation is (0,0,0).
| |
SetTransform(SbVec3d, SbRotationd, SbVec3d, SbRotationd) |
Composes the matrix based on a translation, rotation, scale, and orientation for
scale. The so chooses the primary axes for the scale. The
center point for scaling and rotation is (0,0,0).
| |
SetTransform(SbVec3d, SbRotationd, SbVec3d, SbRotationd) |
Composes the matrix based on a translation, rotation, scale, and orientation for
scale. The so chooses the primary axes for the scale. The
center point for scaling and rotation is (0,0,0).
| |
SetTransform(SbVec3d, SbRotationd, SbVec3d, SbRotationd, SbVec3d) |
Composes the matrix based on a translation, rotation, scale, orientation for
scale, and center. The scaleOrientation chooses the primary axes for the scale.
The center is the center point for scaling and rotation.
| |
SetTransform(SbVec3d, SbRotationd, SbVec3d, SbRotationd, SbVec3d) |
Composes the matrix based on a translation, rotation, scale, orientation for
scale, and center. The scaleOrientation chooses the primary axes for the scale.
The center is the center point for scaling and rotation.
| |
SetTranslate(SbVec3d) |
Sets matrix to translate by given vector.
| |
SetTranslate(SbVec3d) |
Sets matrix to translate by given vector.
| |
SetValue(Double) |
Sets value from an array of 16 single components.
| |
SetValue(Double) |
Sets value from an array of 16 single components.
| |
SetValue(SbMatrix) |
Sets value from a single precision matrix.
| |
SetValue(SbMatrix) |
Sets value from a single precision matrix.
| |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) | |
Translate |
Translates this matrix by the given vector.
| |
Transpose |
Returns transpose of matrix.
|
Name | Description | |
---|---|---|
Equality |
The equality operator.
| |
(SbMatrixd to SbMatrix) | ||
Inequality |
The inequality operator.
| |
Multiply |
The multiplication operator (*).
Operates binary multiplication of matrices.
|
Name | Description | |
---|---|---|
Item |
Gets or sets the element at the specified index.
Make it look like a usual matrix (so you can do m[i,j]).
|
See class SbMatrix for a discussion about using Open Inventor matrix classes.