SbRotation Structure |
Namespace: OIV.Inventor
The SbRotation type exposes the following members.
Name | Description | |
---|---|---|
SbRotation(Single) |
Constructor for rotation.
| |
SbRotation(SbMatrix) |
Constructor for rotation.
| |
SbRotation(SbMatrix) |
Constructor for rotation.
| |
SbRotation(SbVec3f, SbVec3f) |
Constructors for rotation. The rotateFrom/To constructor defines rotation
that rotates from one vector into another. The rotateFrom
and rotateTo vectors are normalized by the constructor
before calculating the rotation.
| |
SbRotation(SbVec3f, Single) |
Constructor for rotation.
| |
SbRotation(SbVec3f, SbVec3f) |
Constructors for rotation. The rotateFrom/To constructor defines rotation
that rotates from one vector into another. The rotateFrom
and rotateTo vectors are normalized by the constructor
before calculating the rotation.
| |
SbRotation(SbVec3f, Single) |
Constructor for rotation.
| |
SbRotation(Single, Single, Single, Single) |
Constructor for rotation.
|
Name | Description | |
---|---|---|
Equals(Object) |
Returns a value indicating whether this instance is equal to a specified object.
(Overrides ValueTypeEquals(Object).) | |
Equals(Object, Single) |
Returns a value indicating whether this instance is equal to a specified object
with given tolerance.
| |
GetHashCode |
Returns the hash code for the value of this instance.
(Overrides ValueTypeGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetValue(SbMatrix) |
Gets corresponding 4x4 rotation matrix.
| |
GetValue(SbMatrix3) |
Gets corresponding 3x3 rotation matrix.
| |
GetValue(SbMatrixd) |
Gets corresponding 4x4 rotation matrix.
| |
GetValue(SbVec3f, Single) |
Gets corresponding 3D rotation axis vector and angle in radians.
| |
GetValue(Single, Single, Single, Single) |
Gets 4 individual components of rotation quaternion.
| |
Identity |
Returns a null rotation.
| |
Inverse |
Returns the inverse of a rotation.
| |
Invert |
Changes a rotation to be its inverse.
| |
Mult(SbRotation) |
Multiplies the matrix of this rotation by the rotation r.
| |
Mult(SbRotation) |
Multiplies the matrix of this rotation by the rotation r.
| |
MultVec(SbVec3f) |
Multiplies the given vector by the matrix of this rotation.
| |
MultVec(SbVec3f, SbVec3f) |
Multiplies the given vector by the matrix of this rotation.
| |
MultVec(SbVec3f, SbVec3f) |
Multiplies the given vector by the matrix of this rotation.
| |
ScaleAngle |
Keep the axis the same. Multiply the angle of rotation by
the amount scaleFactor.
| |
SetValue(Single) |
Sets value of rotation from array of 4 components of a quaternion.
| |
SetValue(SbMatrix) |
Sets value of rotation from a rotation matrix.
| |
SetValue(SbMatrix) |
Sets value of rotation from a rotation matrix.
| |
SetValue(SbMatrixd) |
Sets rotation from a double precision rotation matrix.
| |
SetValue(SbMatrixd) |
Sets rotation from a double precision rotation matrix.
| |
SetValue(SbRotationd) |
Sets rotation from a double precision rotation.
| |
SetValue(SbRotationd) |
Sets rotation from a double precision rotation.
| |
SetValue(SbVec3f, SbVec3f) |
Sets rotation to rotate one direction vector to another. The rotateFrom
and rotateTo arguments are normalized before the rotation is calculated.
| |
SetValue(SbVec3f, Single) |
Sets value of vector from 3D rotation axis vector and angle in radians.
| |
SetValue(SbVec3f, SbVec3f) |
Sets rotation to rotate one direction vector to another. The rotateFrom
and rotateTo arguments are normalized before the rotation is calculated.
| |
SetValue(SbVec3f, Single) |
Sets value of vector from 3D rotation axis vector and angle in radians.
| |
SetValue(Single, Single, Single, Single) |
Sets value of rotation from 4 individual components of a quaternion.
| |
Slerp(SbRotation, SbRotation, Single) |
Spherical linear interpolation: as t goes from 0 to 1,
returned value goes from rot0 to rot1.
| |
Slerp(SbRotation, SbRotation, Single) |
Spherical linear interpolation: as t goes from 0 to 1,
returned value goes from rot0 to rot1.
| |
ToString |
Converts this SbRotation structure to a human readable string.
(Overrides ValueTypeToString.) |
Name | Description | |
---|---|---|
Equality |
The equality operator.
| |
(SbRotation to SbMatrix) |
Set a matrix from a SbRotation
| |
(SbRotation to SbMatrix3) |
Set a matrix from a SbRotation
| |
Inequality |
The inequality operator.
| |
Multiply |
The multiplication operator (*).
Operated multiplication of two rotations;
results in product of rotations.
|