Java javax.media.j3d Transform3D fields, constructors, methods, implement or subclass

Example usage for Java javax.media.j3d Transform3D fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.media.j3d Transform3D.

The text is from its open source code.

Constructor

Transform3D()
Constructs and initializes a transform to the identity matrix.
Transform3D(Matrix4f m1)
Constructs and initializes a transform from the 4 x 4 matrix.
Transform3D(Matrix4d m1)
Constructs and initializes a transform from the 4 x 4 matrix.
Transform3D(Transform3D t1)
Constructs and initializes a transform from the Transform3D object.
Transform3D(float[] matrix)
Constructs and initializes a transform from the float array of length 16; the top row of the matrix is initialized to the first four elements of the array, and so on.
Transform3D(double[] matrix)
Constructs and initializes a transform from the double precision array of length 16; the top row of the matrix is initialized to the first four elements of the array, and so on.
Transform3D(GMatrix m1)
Constructs a transform and initializes it to the upper 4 x 4 of the GMatrix argument.
Transform3D(Quat4d q1, Vector3d t1, double s)
Constructs and initializes a transform from the quaternion, translation, and scale values.
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.
Transform3D(Matrix3f m1, Vector3d t1, double s)
Constructs and initializes a transform from the rotation matrix, translation, and scale values.
Transform3D(Matrix3d m1, Vector3d t1, double s)
Constructs and initializes a transform from the rotation matrix, translation, and scale values.
Transform3D(Matrix3f m1, Vector3f t1, float s)
Constructs and initializes a transform from the rotation matrix, translation, and scale values.

Method

booleanequals(Transform3D t1)
Returns true if all of the data members of transform t1 are equal to the corresponding data members in this Transform3D.
booleanequals(Object o1)
Returns true if the Object o1 is of type Transform3D and all of the data members of o1 are equal to the corresponding data members in this Transform3D.
voidget(double[] matrix)
Places the values of this transform into the double precision array of length 16.
voidget(float[] matrix)
Places the values of this transform into the single precision array of length 16.
voidget(Matrix3d m1)
Places the normalized rotational component of this transform into the 3x3 matrix argument.
voidget(Matrix3f m1)
Places the normalized rotational component of this transform into the 3x3 matrix argument.
voidget(Quat4f q1)
Places the quaternion equivalent of the normalized rotational component of this transform into the quaternion parameter.
voidget(Quat4d q1)
Places the quaternion equivalent of the normalized rotational component of this transform into the quaternion parameter.
voidget(Matrix4d matrix)
Places the values of this transform into the double precision matrix argument.
voidget(Matrix4f matrix)
Places the values of this transform into the single precision matrix argument.
voidget(Vector3f trans)
Retrieves the translational components of this transform.
voidget(Vector3d trans)
Retrieves the translational components of this transform.
voidinvert()
Inverts this transform in place.
voidlookAt(Point3d eye, Point3d center, Vector3d up)
Helping function that specifies the position and orientation of a view matrix.
voidmul(double scalar)
Multiplies each element of this transform by a scalar.
voidmul(Transform3D t1)
Sets the value of this transform to the result of multiplying itself with transform t1 (this = this * t1).
voidrotX(double angle)
Sets the value of this transform to a counter clockwise rotation about the x axis.
voidrotY(double angle)
Sets the value of this transform to a counter clockwise rotation about the y axis.
voidrotZ(double angle)
Sets the value of this transform to a counter clockwise rotation about the z axis.
voidset(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.
voidset(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.
voidset(AxisAngle4f a1)
Sets the value of this transform to the matrix conversion of the single precision axis-angle argument; all of the matrix values are modified.
voidset(AxisAngle4d a1)
Sets the value of this transform to the matrix conversion of the double precision axis-angle argument; all of the matrix values are modified.
voidset(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.
voidset(Vector3d trans)
Sets the translational value of this matrix to the Vector3d paramter values, and sets the other components of the matrix as if this transform were an identity matrix.
voidset(GMatrix matrix)
Sets the matrix values of this transform to the matrix values in the upper 4x4 corner of the GMatrix parameter.
voidset(Transform3D t1)
Sets the matrix, type, and state of this transform to the matrix, type, and state of transform t1.
voidset(double[] matrix)
Sets the matrix values of this transform to the matrix values in the double precision array parameter.
voidset(float[] matrix)
Sets the matrix values of this transform to the matrix values in the single precision array parameter.
voidset(Matrix4d m1)
Sets the matrix values of this transform to the matrix values in the double precision Matrix4d argument.
voidset(Matrix4f m1)
Sets the matrix values of this transform to the matrix values in the single precision Matrix4f argument.
voidset(Matrix3f m1)
Sets the rotational component (upper 3x3) of this transform to the matrix values in the single precision Matrix3f argument; the other elements of this transform are initialized as if this were an identity matrix (i.e., affine matrix with no translational component).
voidset(Matrix3d m1)
Sets the rotational component (upper 3x3) of this transform to the matrix values in the double precision Matrix3d argument; the other elements of this transform are initialized as if this were an identity matrix (ie, affine matrix with no translational component).
voidset(double scale)
Sets the value of this transform to a uniform scale; all of the matrix values are modified.
voidset(double scale, Vector3d 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.
voidset(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.
voidset(Vector3d v1, double 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.
voidset(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.
voidset(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.
voidset(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.
voidset(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.
voidset(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.
voidset(Matrix3f m1, Vector3d t1, double s)
Sets the value of this matrix from the rotation expressed by the rotation matrix m1, the translation t1, and the scale s.
voidset(Matrix3d m1, Vector3d t1, double s)
Sets the value of this matrix from the rotation expressed by the rotation matrix m1, the translation t1, and the scale s.
voidsetEuler(Vector3d euler)
Sets the rotational component (upper 3x3) of this transform to the rotation matrix converted from the Euler angles provided; the other non-rotational elements are set as if this were an identity matrix.
voidsetIdentity()
Sets this transform to the identity matrix.
voidsetRotation(Matrix3d m1)
Sets the rotational component (upper 3x3) of this transform to the matrix values in the double precision Matrix3d argument; the other elements of this transform are unchanged; any pre-existing scale will be preserved; the argument matrix m1 will be checked for proper normalization when this transform is internally classified.
voidsetRotation(Matrix3f m1)
Sets the rotational component (upper 3x3) of this transform to the matrix values in the single precision Matrix3f argument; the other elements of this transform are unchanged; any pre-existing scale will be preserved; the argument matrix m1 will be checked for proper normalization when this transform is internally classified.
voidsetRotation(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.
voidsetRotation(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.
voidsetRotation(AxisAngle4d a1)
Sets the rotational component (upper 3x3) of this transform to the matrix equivalent values of the axis-angle argument; the other elements of this transform are unchanged; any pre-existing scale in the transform is preserved.
voidsetRotation(AxisAngle4f a1)
Sets the rotational component (upper 3x3) of this transform to the matrix equivalent values of the axis-angle argument; the other elements of this transform are unchanged; any pre-existing scale in the transform is preserved.
voidsetScale(double scale)
Sets the scale component of the current transform; any existing scale is first factored out of the existing transform before the new scale is applied.
voidsetScale(Vector3d scale)
Sets the possibly non-uniform scale component of the current transform; any existing scale is first factored out of the existing transform before the new scale is applied.
voidsetTranslation(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.
voidsetTranslation(Vector3d trans)
Replaces the translational components of this transform to the values in the Vector3d argument; the other values of this transform are not modified.
voidtransform(Vector4d vec)
Transform the vector vec using this Transform and place the result back into vec.
voidtransform(Vector4f vec)
Transform the vector vec using this Transform and place the result back into vec.
voidtransform(Point3d point)
Transforms the point parameter with this transform and places the result back into point.
voidtransform(Vector3d normal)
Transforms the normal parameter by this transform and places the value back into normal.
voidtransform(Point3f point)
Transforms the point parameter with this transform and places the result back into point.
voidtransform(Vector3f normal)
Transforms the normal parameter by this transform and places the value back into normal.