📄 matrix4d.html
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4d.html#set(javax.vecmath.Quat4f, javax.vecmath.Vector3f, float)">set</A></B>(<A HREF="../../javax/vecmath/Quat4f.html">Quat4f</A> q1, <A HREF="../../javax/vecmath/Vector3f.html">Vector3f</A> t1, float s)</CODE><BR> Sets the value of this matrix from the rotation expressed by the quaternion q1, the translation t1, and the scale s.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4d.html#set(javax.vecmath.Vector3d)">set</A></B>(<A HREF="../../javax/vecmath/Vector3d.html">Vector3d</A> v1)</CODE><BR> Sets the value of this matrix to a translate matrix by the passed translation value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4d.html#set(javax.vecmath.Vector3d, double)">set</A></B>(<A HREF="../../javax/vecmath/Vector3d.html">Vector3d</A> v1, double scale)</CODE><BR> 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.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4d.html#setColumn(int, double[])">setColumn</A></B>(int column, double[] v)</CODE><BR> Sets the specified column of this matrix4d to the four values provided.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4d.html#setColumn(int, double, double, double, double)">setColumn</A></B>(int column, double x, double y, double z, double w)</CODE><BR> Sets the specified column of this matrix4d to the four values provided.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4d.html#setColumn(int, javax.vecmath.Vector4d)">setColumn</A></B>(int column, <A HREF="../../javax/vecmath/Vector4d.html">Vector4d</A> v)</CODE><BR> Sets the specified column of this matrix4d to the vector provided.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4d.html#setElement(int, int, double)">setElement</A></B>(int row, int column, double value)</CODE><BR> Sets the specified element of this matrix4f to the value provided.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4d.html#setIdentity()">setIdentity</A></B>()</CODE><BR> Sets this Matrix4d to identity.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4d.html#setRotation(javax.vecmath.AxisAngle4d)">setRotation</A></B>(<A HREF="../../javax/vecmath/AxisAngle4d.html">AxisAngle4d</A> a1)</CODE><BR> Sets the rotational component (upper 3x3) of this matrix to the matrix equivalent values of the axis-angle 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 axis-angle, and then the scale is reapplied to the rotational components.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4d.html#setRotation(javax.vecmath.Matrix3d)">setRotation</A></B>(<A HREF="../../javax/vecmath/Matrix3d.html">Matrix3d</A> m1)</CODE><BR> Sets the rotational component (upper 3x3) of this matrix to the matrix values in the double precision Matrix3d 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 passed rotation components, and then the scale is reapplied to the rotational components.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4d.html#setRotation(javax.vecmath.Matrix3f)">setRotation</A></B>(<A HREF="../../javax/vecmath/Matrix3f.html">Matrix3f</A> m1)</CODE><BR> Sets the rotational component (upper 3x3) of this matrix to the matrix values in the single precision Matrix3f 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 passed rotation components, and then the scale is reapplied to the rotational components.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4d.html#setRotation(javax.vecmath.Quat4d)">setRotation</A></B>(<A HREF="../../javax/vecmath/Quat4d.html">Quat4d</A> q1)</CODE><BR> 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.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4d.html#setRotation(javax.vecmath.Quat4f)">setRotation</A></B>(<A HREF="../../javax/vecmath/Quat4f.html">Quat4f</A> q1)</CODE><BR> 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.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4d.html#setRotationScale(javax.vecmath.Matrix3d)">setRotationScale</A></B>(<A HREF="../../javax/vecmath/Matrix3d.html">Matrix3d</A> m1)</CODE><BR> Replaces the upper 3x3 matrix values of this matrix with the values in the matrix m1.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4d.html#setRotationScale(javax.vecmath.Matrix3f)">setRotationScale</A></B>(<A HREF="../../javax/vecmath/Matrix3f.html">Matrix3f</A> m1)</CODE><BR> Replaces the upper 3x3 matrix values of this matrix with the values in the matrix m1.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4d.html#setRow(int, double[])">setRow</A></B>(int row, double[] v)</CODE><BR> Sets the specified row of this matrix4d to the four values provided.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4d.html#setRow(int, double, double, double, double)">setRow</A></B>(int row, double x, double y, double z, double w)</CODE><BR> Sets the specified row of this matrix4d to the four values provided.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4d.html#setRow(int, javax.vecmath.Vector4d)">setRow</A></B>(int row, <A HREF="../../javax/vecmath/Vector4d.html">Vector4d</A> v)</CODE><BR> Sets the specified row of this matrix4d to the Vector provided.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4d.html#setScale(double)">setScale</A></B>(double scale)</CODE><BR> Sets the scale component of the current matrix by factoring out the current scale (by doing an SVD) from the rotational component and multiplying by the new scale.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4d.html#setTranslation(javax.vecmath.Vector3d)">setTranslation</A></B>(<A HREF="../../javax/vecmath/Vector3d.html">Vector3d</A> trans)</CODE><BR> Modifies the translational components of this matrix to the values of the Vector3d argument; the other values of this matrix are not modified.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4d.html#setZero()">setZero</A></B>()</CODE><BR> Sets this matrix to all zeros.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4d.html#sub(javax.vecmath.Matrix4d)">sub</A></B>(<A HREF="../../javax/vecmath/Matrix4d.html">Matrix4d</A> m1)</CODE><BR> Sets the value of this matrix to the matrix difference of itself and matrix m1 (this = this - m1).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4d.html#sub(javax.vecmath.Matrix4d, javax.vecmath.Matrix4d)">sub</A></B>(<A HREF="../../javax/vecmath/Matrix4d.html">Matrix4d</A> m1, <A HREF="../../javax/vecmath/Matrix4d.html">Matrix4d</A> m2)</CODE><BR> Sets the value of this matrix to the matrix difference of matrices m1 and m2.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4d.html#toString()">toString</A></B>()</CODE><BR> Returns a string that contains the values of this Matrix4d.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4d.html#transform(javax.vecmath.Point3d)">transform</A></B>(<A HREF="../../javax/vecmath/Point3d.html">Point3d</A> point)</CODE><BR> Transforms the point parameter with this Matrix4d and places the result back into point.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4d.html#transform(javax.vecmath.Point3d, javax.vecmath.Point3d)">transform</A></B>(<A HREF="../../javax/vecmath/Point3d.html">Point3d</A> point, <A HREF="../../javax/vecmath/Point3d.html">Point3d</A> pointOut)</CODE><BR> Transforms the point parameter with this Matrix4d and places the result into pointOut.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4d.html#transform(javax.vecmath.Point3f)">transform</A></B>(<A HREF="../../javax/vecmath/Point3f.html">Point3f</A> point)</CODE><BR> Transforms the point parameter with this Matrix4d and places the result back into point.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4d.html#transform(javax.vecmath.Point3f, javax.vecmath.Point3f)">transform</A></B>(<A HREF="../../javax/vecmath/Point3f.html">Point3f</A> point, <A HREF="../../javax/vecmath/Point3f.html">Point3f</A> pointOut)</CODE><BR> Transforms the point parameter with this Matrix4d and places the result into pointOut.</TD></TR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -