📄 transform3d.html
字号:
<BR> A Uniform scale matrix with no translation or other off-diagonal components.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/Transform3D.html#TRANSLATION">TRANSLATION</A></B></CODE><BR> A translation-only matrix with ones on the diagonal.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/Transform3D.html#ZERO">ZERO</A></B></CODE><BR> A zero matrix.</TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/media/j3d/Transform3D.html#Transform3D()">Transform3D</A></B>()</CODE><BR> Constructs and initializes a transform to the identity matrix.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/media/j3d/Transform3D.html#Transform3D(double[])">Transform3D</A></B>(double[] matrix)</CODE><BR> 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.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/media/j3d/Transform3D.html#Transform3D(float[])">Transform3D</A></B>(float[] matrix)</CODE><BR> 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.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/media/j3d/Transform3D.html#Transform3D(javax.vecmath.GMatrix)">Transform3D</A></B>(<A HREF="../../../javax/vecmath/GMatrix.html" title="class in javax.vecmath">GMatrix</A> m1)</CODE><BR> Constructs a transform and initializes it to the upper 4 x 4 of the GMatrix argument.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/media/j3d/Transform3D.html#Transform3D(javax.vecmath.Matrix3d, javax.vecmath.Vector3d, double)">Transform3D</A></B>(<A HREF="../../../javax/vecmath/Matrix3d.html" title="class in javax.vecmath">Matrix3d</A> m1, <A HREF="../../../javax/vecmath/Vector3d.html" title="class in javax.vecmath">Vector3d</A> t1, double s)</CODE><BR> Constructs and initializes a transform from the rotation matrix, translation, and scale values.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/media/j3d/Transform3D.html#Transform3D(javax.vecmath.Matrix3f, javax.vecmath.Vector3d, double)">Transform3D</A></B>(<A HREF="../../../javax/vecmath/Matrix3f.html" title="class in javax.vecmath">Matrix3f</A> m1, <A HREF="../../../javax/vecmath/Vector3d.html" title="class in javax.vecmath">Vector3d</A> t1, double s)</CODE><BR> Constructs and initializes a transform from the rotation matrix, translation, and scale values.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/media/j3d/Transform3D.html#Transform3D(javax.vecmath.Matrix3f, javax.vecmath.Vector3f, float)">Transform3D</A></B>(<A HREF="../../../javax/vecmath/Matrix3f.html" title="class in javax.vecmath">Matrix3f</A> m1, <A HREF="../../../javax/vecmath/Vector3f.html" title="class in javax.vecmath">Vector3f</A> t1, float s)</CODE><BR> Constructs and initializes a transform from the rotation matrix, translation, and scale values.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/media/j3d/Transform3D.html#Transform3D(javax.vecmath.Matrix4d)">Transform3D</A></B>(<A HREF="../../../javax/vecmath/Matrix4d.html" title="class in javax.vecmath">Matrix4d</A> m1)</CODE><BR> Constructs and initializes a transform from the 4 x 4 matrix.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/media/j3d/Transform3D.html#Transform3D(javax.vecmath.Matrix4f)">Transform3D</A></B>(<A HREF="../../../javax/vecmath/Matrix4f.html" title="class in javax.vecmath">Matrix4f</A> m1)</CODE><BR> Constructs and initializes a transform from the 4 x 4 matrix.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/media/j3d/Transform3D.html#Transform3D(javax.vecmath.Quat4d, javax.vecmath.Vector3d, double)">Transform3D</A></B>(<A HREF="../../../javax/vecmath/Quat4d.html" title="class in javax.vecmath">Quat4d</A> q1, <A HREF="../../../javax/vecmath/Vector3d.html" title="class in javax.vecmath">Vector3d</A> t1, double s)</CODE><BR> Constructs and initializes a transform from the quaternion, translation, and scale values.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/media/j3d/Transform3D.html#Transform3D(javax.vecmath.Quat4f, javax.vecmath.Vector3d, double)">Transform3D</A></B>(<A HREF="../../../javax/vecmath/Quat4f.html" title="class in javax.vecmath">Quat4f</A> q1, <A HREF="../../../javax/vecmath/Vector3d.html" title="class in javax.vecmath">Vector3d</A> t1, double s)</CODE><BR> Constructs and initializes a transform from the quaternion, translation, and scale values.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/media/j3d/Transform3D.html#Transform3D(javax.vecmath.Quat4f, javax.vecmath.Vector3f, float)">Transform3D</A></B>(<A HREF="../../../javax/vecmath/Quat4f.html" title="class in javax.vecmath">Quat4f</A> q1, <A HREF="../../../javax/vecmath/Vector3f.html" title="class in javax.vecmath">Vector3f</A> t1, float s)</CODE><BR> Constructs and initializes a transform from the quaternion, translation, and scale values.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/media/j3d/Transform3D.html#Transform3D(javax.media.j3d.Transform3D)">Transform3D</A></B>(<A HREF="../../../javax/media/j3d/Transform3D.html" title="class in javax.media.j3d">Transform3D</A> t1)</CODE><BR> Constructs and initializes a transform from the Transform3D object.</TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Method Summary</B></FONT></TH></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/media/j3d/Transform3D.html#add(javax.media.j3d.Transform3D)">add</A></B>(<A HREF="../../../javax/media/j3d/Transform3D.html" title="class in javax.media.j3d">Transform3D</A> t1)</CODE><BR> Adds this transform to transform t1 and places the result into this: this = this + t1.</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/media/j3d/Transform3D.html#add(javax.media.j3d.Transform3D, javax.media.j3d.Transform3D)">add</A></B>(<A HREF="../../../javax/media/j3d/Transform3D.html" title="class in javax.media.j3d">Transform3D</A> t1, <A HREF="../../../javax/media/j3d/Transform3D.html" title="class in javax.media.j3d">Transform3D</A> t2)</CODE><BR> Adds transforms t1 and t2 and places the result into this transform.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/Transform3D.html#determinant()">determinant</A></B>()</CODE><BR> Calculates and returns the determinant of this transform.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/Transform3D.html#epsilonEquals(javax.media.j3d.Transform3D, double)">epsilonEquals</A></B>(<A HREF="../../../javax/media/j3d/Transform3D.html" title="class in javax.media.j3d">Transform3D</A> t1, double epsilon)</CODE><BR> Returns true if the L-infinite distance between this matrix and matrix m1 is less than or equal to the epsilon parameter, otherwise returns false.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/Transform3D.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object o1)</CODE><BR> 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.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/Transform3D.html#equals(javax.media.j3d.Transform3D)">equals</A></B>(<A HREF="../../../javax/media/j3d/Transform3D.html" title="class in javax.media.j3d">Transform3D</A> t1)</CODE><BR> Returns true if all of the data members of transform t1 are equal to the corresponding data members in this Transform3D.</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/media/j3d/Transform3D.html#frustum(double, double, double, double, double, double)">frustum</A></B>(double left, double right, double bottom, double top, double near, double far)</CODE><BR> Creates a perspective projection transform that mimics a standard, camera-based, view-model.</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/media/j3d/Transform3D.html#get(double[])">get</A></B>(double[] matrix)</CODE><BR> Places the values of this transform into the double precision array of length 16.</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/media/j3d/Transform3D.html#get(float[])">get</A></B>(float[] matrix)</CODE><BR> Places the values of this transform into the single precision array of length 16.</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/media/j3d/Transform3D.html#get(javax.vecmath.Matrix3d)">get</A></B>(<A HREF="../../../javax/vecmath/Matrix3d.html" title="class in javax.vecmath">Matrix3d</A> m1)</CODE><BR> Places the normalized rotational component of this transform into the 3x3 matrix argument.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -