Package | Description |
---|---|
org.scijava.java3d |
Provides the core set of classes for the
3D graphics API for the Java platform; click here for more information,
including explanatory material that was formerly found in the guide.
|
org.scijava.vecmath |
Provides 3D vector mathematics classes.
|
Modifier and Type | Method and Description |
---|---|
void |
Transform3D.get(Quat4d q1)
Places the quaternion equivalent of the normalized rotational
component of this transform into the quaternion parameter.
|
double |
Transform3D.get(Quat4d 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.
|
void |
Transform3D.set(Quat4d q1)
Sets the value of this transform to the matrix conversion of the
double precision quaternion argument; the non-rotational
components are set as if this were an identity matrix.
|
void |
Transform3D.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 |
Transform3D.setRotation(Quat4d 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.
|
Constructor and Description |
---|
Transform3D(Quat4d q1,
Vector3d t1,
double s)
Constructs and initializes a transform from the quaternion,
translation, and scale values.
|
Modifier and Type | Method and Description |
---|---|
void |
Quat4d.conjugate(Quat4d q1)
Sets the value of this quaternion to the conjugate of quaternion q1.
|
void |
Matrix4d.get(Quat4d q1)
Performs an SVD normalization of q1 matrix in order to acquire
the normalized rotational component; the values are placed into
the Quat4d parameter.
|
void |
Quat4d.interpolate(Quat4d q1,
double alpha)
Performs a great circle interpolation between this quaternion
and the quaternion parameter and places the result into this
quaternion.
|
void |
Quat4d.interpolate(Quat4d q1,
Quat4d q2,
double alpha)
Performs a great circle interpolation between quaternion q1
and quaternion q2 and places the result into this quaternion.
|
void |
Quat4d.inverse(Quat4d q1)
Sets the value of this quaternion to quaternion inverse of quaternion q1.
|
void |
Quat4d.mul(Quat4d q1)
Sets the value of this quaternion to the quaternion product of
itself and q1 (this = this * q1).
|
void |
Quat4d.mul(Quat4d q1,
Quat4d q2)
Sets the value of this quaternion to the quaternion product of
quaternions q1 and q2 (this = q1 * q2).
|
void |
Quat4d.mulInverse(Quat4d q1)
Multiplies this quaternion by the inverse of quaternion q1 and places
the value into this quaternion.
|
void |
Quat4d.mulInverse(Quat4d q1,
Quat4d q2)
Multiplies quaternion q1 by the inverse of quaternion q2 and places
the value into this quaternion.
|
void |
Quat4d.normalize(Quat4d q1)
Sets the value of this quaternion to the normalized value
of quaternion q1.
|
void |
Matrix4f.set(Quat4d q1)
Sets the value of this matrix to the matrix conversion of the
double precision quaternion argument.
|
void |
Matrix4d.set(Quat4d q1)
Sets the value of this matrix to the matrix conversion of the
(double precision) quaternion argument.
|
void |
Matrix3f.set(Quat4d q1)
Sets the value of this matrix to the matrix conversion of the
(single precision) quaternion argument.
|
void |
Matrix3d.set(Quat4d q1)
Sets the value of this matrix to the matrix conversion of the
double precision quaternion argument.
|
void |
AxisAngle4f.set(Quat4d q1)
Sets the value of this axis-angle to the rotational equivalent
of the passed quaternion.
|
void |
AxisAngle4d.set(Quat4d q1)
Sets the value of this axis-angle to the rotational equivalent
of the passed quaternion.
|
void |
Matrix4f.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 |
Matrix4d.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 |
Matrix4f.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 |
Matrix4d.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.
|
Constructor and Description |
---|
Matrix4d(Quat4d 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.
|
Quat4d(Quat4d q1)
Constructs and initializes a Quat4d from the specified Quat4d.
|
Quat4f(Quat4d q1)
Constructs and initializes a Quat4f from the specified Quat4d.
|
Copyright © 2016–2022 SciJava. All rights reserved.