📄 matrix3f.html
字号:
array parameter (ie, the first three elements of the array will be copied into the first row of this matrix, etc.).</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/Matrix3f.html#set(javax.vecmath.Matrix3d)">set</A></B>(<A HREF="../../javax/vecmath/Matrix3d.html" title="class in javax.vecmath">Matrix3d</A> m1)</CODE><BR> Sets the value of this matrix to the float value of the Matrix3d argument.</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/Matrix3f.html#set(javax.vecmath.Matrix3f)">set</A></B>(<A HREF="../../javax/vecmath/Matrix3f.html" title="class in javax.vecmath">Matrix3f</A> m1)</CODE><BR> Sets the value of this matrix to the value of the Matrix3f argument.</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/Matrix3f.html#set(javax.vecmath.Quat4d)">set</A></B>(<A HREF="../../javax/vecmath/Quat4d.html" title="class in javax.vecmath">Quat4d</A> q1)</CODE><BR> Sets the value of this matrix to the matrix conversion of the (single precision) quaternion argument.</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/Matrix3f.html#set(javax.vecmath.Quat4f)">set</A></B>(<A HREF="../../javax/vecmath/Quat4f.html" title="class in javax.vecmath">Quat4f</A> q1)</CODE><BR> Sets the value of this matrix to the matrix conversion of the (single precision) quaternion argument.</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/Matrix3f.html#setColumn(int, float[])">setColumn</A></B>(int column, float[] v)</CODE><BR> Sets the specified column of this matrix3f to the three 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/Matrix3f.html#setColumn(int, float, float, float)">setColumn</A></B>(int column, float x, float y, float z)</CODE><BR> Sets the specified column of this matrix3f to the three 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/Matrix3f.html#setColumn(int, javax.vecmath.Vector3f)">setColumn</A></B>(int column, <A HREF="../../javax/vecmath/Vector3f.html" title="class in javax.vecmath">Vector3f</A> v)</CODE><BR> Sets the specified column of this matrix3f 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/Matrix3f.html#setElement(int, int, float)">setElement</A></B>(int row, int column, float value)</CODE><BR> Sets the specified element of this matrix3f 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/Matrix3f.html#setIdentity()">setIdentity</A></B>()</CODE><BR> Sets this Matrix3f 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/Matrix3f.html#setM00(float)">setM00</A></B>(float m00)</CODE><BR> Set the first matrix element in the first row.</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/Matrix3f.html#setM01(float)">setM01</A></B>(float m01)</CODE><BR> Set the second matrix element in the first row.</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/Matrix3f.html#setM02(float)">setM02</A></B>(float m02)</CODE><BR> Set the third matrix element in the first row.</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/Matrix3f.html#setM10(float)">setM10</A></B>(float m10)</CODE><BR> Set first matrix element in the second row.</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/Matrix3f.html#setM11(float)">setM11</A></B>(float m11)</CODE><BR> Set the second matrix element in the second row.</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/Matrix3f.html#setM12(float)">setM12</A></B>(float m12)</CODE><BR> Set the third matrix element in the second row.</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/Matrix3f.html#setM20(float)">setM20</A></B>(float m20)</CODE><BR> Set the first matrix element in the third row.</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/Matrix3f.html#setM21(float)">setM21</A></B>(float m21)</CODE><BR> Set the second matrix element in the third row.</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/Matrix3f.html#setM22(float)">setM22</A></B>(float m22)</CODE><BR> Set the third matrix element in the third row.</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/Matrix3f.html#setRow(int, float[])">setRow</A></B>(int row, float[] v)</CODE><BR> Sets the specified row of this matrix3f to the three 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/Matrix3f.html#setRow(int, float, float, float)">setRow</A></B>(int row, float x, float y, float z)</CODE><BR> Sets the specified row of this matrix3f to the three 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/Matrix3f.html#setRow(int, javax.vecmath.Vector3f)">setRow</A></B>(int row, <A HREF="../../javax/vecmath/Vector3f.html" title="class in javax.vecmath">Vector3f</A> v)</CODE><BR> Sets the specified row of this matrix3f 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/Matrix3f.html#setScale(float)">setScale</A></B>(float scale)</CODE><BR> Sets the scale component of the current matrix by factoring out the current scale (by doing an SVD) 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/Matrix3f.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/Matrix3f.html#sub(javax.vecmath.Matrix3f)">sub</A></B>(<A HREF="../../javax/vecmath/Matrix3f.html" title="class in javax.vecmath">Matrix3f</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/Matrix3f.html#sub(javax.vecmath.Matrix3f, javax.vecmath.Matrix3f)">sub</A></B>(<A HREF="../../javax/vecmath/Matrix3f.html" title="class in javax.vecmath">Matrix3f</A> m1, <A HREF="../../javax/vecmath/Matrix3f.html" title="class in javax.vecmath">Matrix3f</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/Matrix3f.html#toString()">toString</A></B>()</CODE><BR> Returns a string that contains the values of this Matrix3f.</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/Matrix3f.html#transform(javax.vecmath.Tuple3f)">transform</A></B>(<A HREF="../../javax/vecmath/Tuple3f.html" title="class in javax.vecmath">Tuple3f</A> t)</CODE><BR> Multiply this matrix by the tuple t and place the result back into the tuple (t = this*t).</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/Matrix3f.html#transform(javax.vecmath.Tuple3f, javax.vecmath.Tuple3f)">transform</A></B>(<A HREF="../../javax/vecmath/Tuple3f.html" title="class in javax.vecmath">Tuple3f</A> t, <A HREF="../../javax/vecmath/Tuple3f.html" title="class in javax.vecmath">Tuple3f</A> result)</CODE><BR> Multiply this matrix by the tuple t and and place the result into the tuple "result" (result = this*t).</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/Matrix3f.html#transpose()">transpose</A></B>()</CODE><BR> Sets the value of this matrix to its transpose.</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/Matrix3f.html#transpose(javax.vecmath.Matrix3f)">transpose</A></B>(<A HREF="../../javax/vecmath/Matrix3f.html" title="class in javax.vecmath">Matrix3f</A> m1)</CODE><BR> Sets the value of this matrix to the transpose of the argument matrix.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>finalize, getClass, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Field Detail</B></FONT></TH></TR></TABLE><A NAME="m00"><!-- --></A><H3>m00</H3><PRE>public float <B>m00</B></PRE><DL><DD>The first matrix element in the first row.<P><DL></DL></DL><HR><A NAME="m01"><!-- --></A><H3>m01</H3><PRE>public float <B>m01</B></PRE><DL><DD>The second matrix element in the first row.<P><DL></DL></DL><HR><A NAME="m02"><!-- --></A><H3>m02</H3><PRE>public float <B>m02</B></PRE><DL><DD>The third matrix element in the first row.<P><DL></DL></DL><HR><A NAME="m10"><!-- --></A><H3>m10</H3><PRE>public float <B>m10</B></PRE><DL><DD>The first matrix element in the second row.<P><DL></DL></DL><HR><A NAME="m11"><!-- --></A><H3>m11</H3><PRE>public float <B>m11</B></PRE><DL><DD>The second matrix element in the second row.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -