Package | Description |
---|---|
spim.vecmath |
Modifier and Type | Method and Description |
---|---|
void |
Quat4f.conjugate(Quat4f q1)
Sets the value of this quaternion to the conjugate of quaternion q1.
|
void |
Transform3D.get(Quat4f q1)
Places the quaternion equivalent of the normalized rotational component
of this transform into the quaternion parameter.
|
void |
Matrix4f.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 |
Matrix4d.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.
|
double |
Transform3D.get(Quat4f q1,
Vector3d t1)
Places the quaternion equivalent of the normalized rotational component
of this transform into the quaternion parameter; places the translational
component into the Vector parameter.
|
float |
Transform3D.get(Quat4f q1,
Vector3f t1)
Places the quaternion equivalent of the normalized rotational component
of this transform into the quaternion parameter; places the translational
component into the Vector parameter.
|
void |
Quat4f.interpolate(Quat4f q1,
float alpha)
Performs a great circle interpolation between this quaternion and the
quaternion parameter and places the result into this quaternion.
|
void |
Quat4f.interpolate(Quat4f q1,
Quat4f q2,
float alpha)
Performs a great circle interpolation between quaternion q1 and
quaternion q2 and places the result into this quaternion.
|
void |
Quat4f.inverse(Quat4f q1)
Sets the value of this quaternion to quaternion inverse of quaternion q1.
|
void |
Quat4f.mul(Quat4f q1)
Sets the value of this quaternion to the quaternion product of itself and
q1 (this = this * q1).
|
void |
Quat4f.mul(Quat4f q1,
Quat4f q2)
Sets the value of this quaternion to the quaternion product of
quaternions q1 and q2 (this = q1 * q2).
|
void |
Quat4f.mulInverse(Quat4f q1)
Multiplies this quaternion by the inverse of quaternion q1 and places the
value into this quaternion.
|
void |
Quat4f.mulInverse(Quat4f q1,
Quat4f q2)
Multiplies quaternion q1 by the inverse of quaternion q2 and places the
value into this quaternion.
|
void |
Quat4f.normalize(Quat4f q1)
Sets the value of this quaternion to the normalized value of quaternion
q1.
|
void |
Transform3D.set(Quat4f q1)
Sets the value of this transform to the matrix conversion of the single
precision quaternion argument; the non-rotational components are set as
if this were an identity matrix.
|
void |
Matrix4f.set(Quat4f q1)
Sets the value of this matrix to the matrix conversion of the single
precision quaternion argument.
|
void |
Matrix4d.set(Quat4f q1)
Sets the value of this matrix to the matrix conversion of the single
precision quaternion argument.
|
void |
Matrix3f.set(Quat4f q1)
Sets the value of this matrix to the matrix conversion of the (single
precision) quaternion argument.
|
void |
Matrix3d.set(Quat4f q1)
Sets the value of this matrix to the matrix conversion of the single
precision quaternion argument.
|
void |
AxisAngle4f.set(Quat4f q1)
Sets the value of this axis-angle to the rotational equivalent of the
passed quaternion.
|
void |
AxisAngle4d.set(Quat4f q1)
Sets the value of this axis-angle to the rotational equivalent of the
passed quaternion.
|
void |
Transform3D.set(Quat4f 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 |
Matrix4d.set(Quat4f 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 |
Transform3D.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 |
Matrix4f.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 |
Matrix4d.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 |
Transform3D.setRotation(Quat4f q1)
Sets the rotational component (upper 3x3) of this transform to the matrix
equivalent values of the quaternion argument; the other elements of this
transform are unchanged; any pre-existing scale in the transform is
preserved.
|
void |
Matrix4f.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 |
Matrix4d.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.
|
Constructor and Description |
---|
Matrix4d(Quat4f q1,
Vector3d t1,
double s)
Constructs and initializes a Matrix4d from the quaternion, translation,
and scale values; the scale is applied only to the rotational components
of the matrix (upper 3x3) and not to the translational components.
|
Matrix4f(Quat4f q1,
Vector3f t1,
float s)
Constructs and initializes a Matrix4f from the quaternion, translation,
and scale values; the scale is applied only to the rotational components
of the matrix (upper 3x3) and not to the translational components.
|
Quat4d(Quat4f q1)
Constructs and initializes a Quat4d from the specified Quat4f.
|
Quat4f(Quat4f q1)
Constructs and initializes a Quat4f from the specified Quat4f.
|
Transform3D(Quat4f q1,
Vector3d t1,
double s)
Constructs and initializes a transform from the quaternion, translation,
and scale values.
|
Transform3D(Quat4f q1,
Vector3f t1,
float s)
Constructs and initializes a transform from the quaternion, translation,
and scale values.
|
Copyright © 2015–2021 Fiji. All rights reserved.