📄 rotposscalepathinterpolator.html
字号:
<P><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the value requested<DT><B>Returns:</B><DD>the interpolator's position value at the index</DL></DD></DL><HR><A NAME="setScale(int, float)"><!-- --></A><H3>setScale</H3><PRE>public void <B>setScale</B>(int index, float scale)</PRE><DL><DD>Sets the scale at the specified index for this interpolator.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index to be changed<DD><CODE>scale</CODE> - the new scale at index</DL></DD></DL><HR><A NAME="getScale(int)"><!-- --></A><H3>getScale</H3><PRE>public float <B>getScale</B>(int index)</PRE><DL><DD>Retrieves the scale at the specified index.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the value requested<DT><B>Returns:</B><DD>the interpolator's scale value at index</DL></DD></DL><HR><A NAME="setPathArrays(float[], javax.vecmath.Quat4f[], javax.vecmath.Point3f[], float[])"><!-- --></A><H3>setPathArrays</H3><PRE>public void <B>setPathArrays</B>(float[] knots, <A HREF="../../../javax/vecmath/Quat4f.html">Quat4f</A>[] quats, <A HREF="../../../javax/vecmath/Point3f.html">Point3f</A>[] positions, float[] scales)</PRE><DL><DD>Replaces the existing arrays of knot values, quaternion values, position values, and scale values with the specified arrays. The arrays of knots, quats, positions, and scales are copied into this interpolator object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>knots</CODE> - a new array of knot values that specify interpolation points.<DD><CODE>quats</CODE> - a new array of quaternion values at the knots.<DD><CODE>positions</CODE> - a new array of position values at the knots.<DD><CODE>scales</CODE> - a new array of scale component values at the knots.<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if the lengths of the knots, quats, positions, and scales arrays are not all the same.<DT><B>Since:</B><DD>Java 3D 1.2</DD></DD></DL></DD></DL><HR><A NAME="getQuats(javax.vecmath.Quat4f[])"><!-- --></A><H3>getQuats</H3><PRE>public void <B>getQuats</B>(<A HREF="../../../javax/vecmath/Quat4f.html">Quat4f</A>[] quats)</PRE><DL><DD>Copies the array of quaternion values from this interpolator into the specified array. The array must be large enough to hold all of the quats. The individual array elements must be allocated by the caller.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>quats</CODE> - array that will receive the quats.<DT><B>Since:</B><DD>Java 3D 1.2</DD></DD></DL></DD></DL><HR><A NAME="getPositions(javax.vecmath.Point3f[])"><!-- --></A><H3>getPositions</H3><PRE>public void <B>getPositions</B>(<A HREF="../../../javax/vecmath/Point3f.html">Point3f</A>[] positions)</PRE><DL><DD>Copies the array of position values from this interpolator into the specified array. The array must be large enough to hold all of the positions. The individual array elements must be allocated by the caller.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>positions</CODE> - array that will receive the positions.<DT><B>Since:</B><DD>Java 3D 1.2</DD></DD></DL></DD></DL><HR><A NAME="getScales(float[])"><!-- --></A><H3>getScales</H3><PRE>public void <B>getScales</B>(float[] scales)</PRE><DL><DD>Copies the array of scale values from this interpolator into the specified array. The array must be large enough to hold all of the scales.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>scales</CODE> - array that will receive the scales.<DT><B>Since:</B><DD>Java 3D 1.2</DD></DD></DL></DD></DL><HR><A NAME="setAxisOfRotPosScale(javax.media.j3d.Transform3D)"><!-- --></A><H3>setAxisOfRotPosScale</H3><PRE>public void <B>setAxisOfRotPosScale</B>(<A HREF="../../../javax/media/j3d/Transform3D.html">Transform3D</A> axisOfRotPosScale)</PRE><DL><DD><B>Deprecated.</B> <I>As of Java 3D version 1.3, replaced by <code>TransformInterpolator.setTransformAxis(Transform3D)</code></I><P><DD><DL></DL></DD></DL><HR><A NAME="getAxisOfRotPosScale()"><!-- --></A><H3>getAxisOfRotPosScale</H3><PRE>public <A HREF="../../../javax/media/j3d/Transform3D.html">Transform3D</A> <B>getAxisOfRotPosScale</B>()</PRE><DL><DD><B>Deprecated.</B> <I>As of Java 3D version 1.3, replaced by <code>TransformInterpolator.geTransformAxis()</code></I><P><DD><DL></DL></DD></DL><HR><A NAME="computeTransform(float, javax.media.j3d.Transform3D)"><!-- --></A><H3>computeTransform</H3><PRE>public void <B>computeTransform</B>(float alphaValue, <A HREF="../../../javax/media/j3d/Transform3D.html">Transform3D</A> transform)</PRE><DL><DD>Computes the new transform for this interpolator for a given alpha value.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/media/j3d/TransformInterpolator.html#computeTransform(float, javax.media.j3d.Transform3D)">computeTransform</A></CODE> in class <CODE><A HREF="../../../javax/media/j3d/TransformInterpolator.html">TransformInterpolator</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>alphaValue</CODE> - alpha value between 0.0 and 1.0<DD><CODE>transform</CODE> - object that receives the computed transform for the specified alpha value<DT><B>Since:</B><DD>Java 3D 1.3</DD></DD></DL></DD></DL><HR><A NAME="cloneNode(boolean)"><!-- --></A><H3>cloneNode</H3><PRE>public <A HREF="../../../javax/media/j3d/Node.html">Node</A> <B>cloneNode</B>(boolean forceDuplicate)</PRE><DL><DD>Used to create a new instance of the node. This routine is called by <code>cloneTree</code> to duplicate the current node.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/media/j3d/Node.html#cloneNode(boolean)">cloneNode</A></CODE> in class <CODE><A HREF="../../../javax/media/j3d/Node.html">Node</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>forceDuplicate</CODE> - when set to <code>true</code>, causes the <code>duplicateOnCloneTree</code> flag to be ignored. When <code>false</code>, the value of each node's <code>duplicateOnCloneTree</code> variable determines whether NodeComponent data is duplicated or copied.<DT><B>See Also:</B><DD><A HREF="../../../javax/media/j3d/Node.html#cloneTree()"><CODE>Node.cloneTree()</CODE></A>, <A HREF="../../../javax/media/j3d/Node.html#cloneNode(boolean)"><CODE>Node.cloneNode(boolean)</CODE></A>, <A HREF="../../../javax/media/j3d/Node.html#duplicateNode(javax.media.j3d.Node, boolean)"><CODE>Node.duplicateNode(javax.media.j3d.Node, boolean)</CODE></A>, <A HREF="../../../javax/media/j3d/NodeComponent.html#setDuplicateOnCloneTree(boolean)"><CODE>NodeComponent.setDuplicateOnCloneTree(boolean)</CODE></A></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../javax/media/j3d/RotPosPathInterpolator.html"><B>PREV CLASS</B></A> <A HREF="../../../javax/media/j3d/ScaleInterpolator.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="RotPosScalePathInterpolator.html" TARGET="_top"><B>NO FRAMES</B></A> <SCRIPT> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT><A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_javax.media.j3d.PathInterpolator">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -