Package | Description |
---|---|
mpicbg.spim.vis3d | |
spim.vecmath |
Modifier and Type | Method and Description |
---|---|
protected static void |
VisualizationFunctions.computeArrowLines(ArrayList<Point3f> list,
Point3f to,
Vector3f v,
Vector3f a,
Vector3f b,
float arrowHeadAngle,
float arrowHeadLength) |
Modifier and Type | Method and Description |
---|---|
float |
Vector3f.angle(Vector3f v1)
Returns the angle in radians between this vector and the vector
parameter; the return value is constrained to the range [0,PI].
|
void |
Vector3f.cross(Vector3f v1,
Vector3f v2)
Sets this vector to be the vector cross product of vectors v1 and v2.
|
float |
Vector3f.dot(Vector3f v1)
Computes the dot product of this vector and vector v1.
|
float |
Transform3D.get(Matrix3f m1,
Vector3f t1)
Places the normalized rotational component of this transform into the
matrix parameter; place the translational component into the vector
parameter.
|
float |
Matrix4f.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.
|
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 |
Transform3D.get(Vector3f trans)
Retrieves the translational components of this transform.
|
void |
Matrix4f.get(Vector3f trans)
Retrieves the translational components of this matrix.
|
void |
Matrix3f.getColumn(int column,
Vector3f v)
Copies the matrix values in the specified column into the vector
parameter.
|
void |
Matrix3f.getRow(int row,
Vector3f v)
Copies the matrix values in the specified row into the vector parameter.
|
void |
Vector3f.normalize(Vector3f v1)
Sets the value of this vector to the normalization of vector v1.
|
void |
Transform3D.set(float scale,
Vector3f v1)
Sets the value of this transform to a scale and translation matrix; the
scale is not applied to the translation and all of the matrix values are
modified.
|
void |
Matrix4f.set(float scale,
Vector3f t1)
Sets the value of this transform to a scale and translation matrix; the
scale is not applied to the translation and all of the matrix values are
modified.
|
void |
Transform3D.set(Matrix3f m1,
Vector3f t1,
float s)
Sets the value of this matrix from the rotation expressed by the rotation
matrix m1, the translation t1, and the scale s.
|
void |
Matrix4f.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 factor.
|
void |
Matrix4d.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 factor.
|
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.set(Vector3f trans)
Sets the translational value of this matrix to the Vector3f parameter
values, and sets the other components of the matrix as if this transform
were an identity matrix.
|
void |
Matrix4f.set(Vector3f v1)
Sets the value of this matrix to a translate matrix with the passed
translation value.
|
void |
Transform3D.set(Vector3f v1,
float scale)
Sets the value of this transform to a scale and translation matrix; the
translation is scaled by the scale factor and all of the matrix values
are modified.
|
void |
Matrix4f.set(Vector3f t1,
float scale)
Sets the value of this transform to a scale and translation matrix; the
translation is scaled by the scale factor and all of the matrix values
are modified.
|
void |
AxisAngle4f.set(Vector3f axis,
float angle)
Sets the value of this AxisAngle4f to the specified axis and angle.
|
void |
Matrix3f.setColumn(int column,
Vector3f v)
Sets the specified column of this matrix3f to the vector provided.
|
void |
Matrix3f.setRow(int row,
Vector3f v)
Sets the specified row of this matrix3f to the Vector provided.
|
void |
Transform3D.setTranslation(Vector3f trans)
Replaces the translational components of this transform to the values in
the Vector3f argument; the other values of this transform are not
modified.
|
void |
Matrix4f.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 |
Transform3D.transform(Vector3f normal)
Transforms the normal parameter by this transform and places the value
back into normal.
|
void |
Matrix4f.transform(Vector3f normal)
Transforms the normal parameter by this transform and places the value
back into normal.
|
void |
Matrix4d.transform(Vector3f normal)
Transforms the normal parameter by this transform and places the value
back into normal.
|
void |
Transform3D.transform(Vector3f normal,
Vector3f normalOut)
Transforms the normal parameter by this transform and places the value
into normalOut.
|
void |
Matrix4f.transform(Vector3f normal,
Vector3f normalOut)
Transforms the normal parameter by this Matrix4f and places the value
into normalOut.
|
void |
Matrix4d.transform(Vector3f normal,
Vector3f normalOut)
Transforms the normal parameter by this Matrix4d and places the value
into normalOut.
|
Constructor and Description |
---|
AxisAngle4f(Vector3f axis,
float angle)
Constructs and initializes an AxisAngle4f from the specified axis and
angle.
|
Matrix4f(Matrix3f m1,
Vector3f t1,
float s)
Constructs and initializes a Matrix4f from the rotation matrix,
translation, and scale values; the scale is applied only to the
rotational components of the matrix (upper 3x3) and not to the
translational components of the matrix.
|
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.
|
Transform3D(Matrix3f m1,
Vector3f t1,
float s)
Constructs and initializes a transform from the rotation matrix,
translation, and scale values.
|
Transform3D(Quat4f q1,
Vector3f t1,
float s)
Constructs and initializes a transform from the quaternion, translation,
and scale values.
|
Vector3d(Vector3f v1)
Constructs and initializes a Vector3d from the specified Vector3f.
|
Vector3f(Vector3f v1)
Constructs and initializes a Vector3f from the specified Vector3f.
|
Copyright © 2015–2021 Fiji. All rights reserved.