📄 geometryinfo.html
字号:
<BR> Sets the array of indices into the Coordinate array.</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="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#setCoordinates(double[])">setCoordinates</A></B>(double[] coordinates)</CODE><BR> Sets the coordinates array.</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="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#setCoordinates(float[])">setCoordinates</A></B>(float[] coordinates)</CODE><BR> Sets the coordinates array.</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="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#setCoordinates(javax.vecmath.Point3d[])">setCoordinates</A></B>(<A HREF="../../../../../javax/vecmath/Point3d.html" title="class in javax.vecmath">Point3d</A>[] coordinates)</CODE><BR> Sets the coordinates array.</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="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#setCoordinates(javax.vecmath.Point3f[])">setCoordinates</A></B>(<A HREF="../../../../../javax/vecmath/Point3f.html" title="class in javax.vecmath">Point3f</A>[] coordinates)</CODE><BR> Sets the coordinates array.</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="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#setNormalIndices(int[])">setNormalIndices</A></B>(int[] normalIndices)</CODE><BR> Sets the array of indices into the Normal array.</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="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#setNormals(float[])">setNormals</A></B>(float[] normals)</CODE><BR> Sets the normals array.</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="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#setNormals(javax.vecmath.Vector3f[])">setNormals</A></B>(<A HREF="../../../../../javax/vecmath/Vector3f.html" title="class in javax.vecmath">Vector3f</A>[] normals)</CODE><BR> Sets the normals array.</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="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#setStripCounts(int[])">setStripCounts</A></B>(int[] stripCounts)</CODE><BR> Sets the array of strip counts.</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="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#setTexCoordSetMap(int[])">setTexCoordSetMap</A></B>(int[] map)</CODE><BR> Sets the mapping between texture coordinate sets and texture units.</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="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#setTextureCoordinateIndices(int[])">setTextureCoordinateIndices</A></B>(int[] texIndices)</CODE><BR> <B>Deprecated.</B> <I>As of Java 3D 1.3 replaced by <code>setTextureCoordinateIndices(int texCoordSet, int indices[])</code></I></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="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#setTextureCoordinateIndices(int, int[])">setTextureCoordinateIndices</A></B>(int texCoordSet, int[] texIndices)</CODE><BR> Sets one of the texture coordinate index arrays.</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="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#setTextureCoordinateParams(int, int)">setTextureCoordinateParams</A></B>(int numSets, int dim)</CODE><BR> This method is used to specify the number of texture coordinate sets and the dimensionality of the texture coordinates.</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="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#setTextureCoordinates(int, float[])">setTextureCoordinates</A></B>(int texCoordSet, float[] texCoords)</CODE><BR> Sets the texture coordinates array by copying the data into the GeometryInfo object.</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="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#setTextureCoordinates(int, javax.vecmath.TexCoord2f[])">setTextureCoordinates</A></B>(int texCoordSet, <A HREF="../../../../../javax/vecmath/TexCoord2f.html" title="class in javax.vecmath">TexCoord2f</A>[] texCoords)</CODE><BR> Sets the 2D texture coordinates for the specified set.</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="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#setTextureCoordinates(int, javax.vecmath.TexCoord3f[])">setTextureCoordinates</A></B>(int texCoordSet, <A HREF="../../../../../javax/vecmath/TexCoord3f.html" title="class in javax.vecmath">TexCoord3f</A>[] texCoords)</CODE><BR> Sets the texture coordinates array for the specified set.</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="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#setTextureCoordinates(int, javax.vecmath.TexCoord4f[])">setTextureCoordinates</A></B>(int texCoordSet, <A HREF="../../../../../javax/vecmath/TexCoord4f.html" title="class in javax.vecmath">TexCoord4f</A>[] texCoords)</CODE><BR> Sets the texture coordinates array for the specified set.</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="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#setTextureCoordinates(javax.vecmath.Point2f[])">setTextureCoordinates</A></B>(<A HREF="../../../../../javax/vecmath/Point2f.html" title="class in javax.vecmath">Point2f</A>[] texCoords)</CODE><BR> <B>Deprecated.</B> <I>As of Java 3D 1.3 replaced by <code>setTextureCoordinates(int texCoordSet, TexCoord2f coords[])</code></I></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="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#setTextureCoordinates(javax.vecmath.Point3f[])">setTextureCoordinates</A></B>(<A HREF="../../../../../javax/vecmath/Point3f.html" title="class in javax.vecmath">Point3f</A>[] texCoords)</CODE><BR> <B>Deprecated.</B> <I>As of Java 3D 1.3 replaced by <code>setTextureCoordinates(int texCoordSet, TexCoord3f coords[])</code></I></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="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#setTextureCoordinates2(float[])">setTextureCoordinates2</A></B>(float[] texCoords)</CODE><BR> <B>Deprecated.</B> <I>As of Java 3D 1.3 replaced by <code>setTextureCoordinates(int texCoordSet, float texCoords[])</code></I></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="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#setTextureCoordinates3(float[])">setTextureCoordinates3</A></B>(float[] texCoords)</CODE><BR> <B>Deprecated.</B> <I>As of Java 3D 1.3 replaced by <code>setTextureCoordinates(int texCoordSet, float texCoords[])</code></I></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="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#setUseCoordIndexOnly(boolean)">setUseCoordIndexOnly</A></B>(boolean useCoordIndexOnly)</CODE><BR> Tells the GeometryInfo that its data is formatted in the USE_COORD_INDEX_ONLY format with a single index list (the coordinate index list) that indexes into all data lists (coordinates, normals, colors, and texture coordinates).</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="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#unindexify()">unindexify</A></B>()</CODE><BR> Get rid of index lists by reorganizing data into an un-indexed format.</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>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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="TRIANGLE_ARRAY"><!-- --></A><H3>TRIANGLE_ARRAY</H3><PRE>public static final int <B>TRIANGLE_ARRAY</B></PRE><DL><DD>Send to the constructor to inform that the data will be arranged so that each set of three vertices form an independent triangle<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.sun.j3d.utils.geometry.GeometryInfo.TRIANGLE_ARRAY">Constant Field Values</A></DL></DL><HR><A NAME="QUAD_ARRAY"><!-- --></A><H3>QUAD_ARRAY</H3><PRE>public static final int <B>QUAD_ARRAY</B></PRE><DL><DD>Send to the constructor to inform that the data will be arranged so that each set of four vertices form an independent quad<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.sun.j3d.utils.geometry.GeometryInfo.QUAD_ARRAY">Constant Field Values</A></DL></DL><HR><A NAME="TRIANGLE_FAN_ARRAY"><!-- --></A><H3>TRIANGLE_FAN_ARRAY</H3><PRE>public static final int <B>TRIANGLE_FAN_ARRAY</B></PRE><DL><DD>Send to the constructor to inform that the data will be arranged so that the stripCounts array indicates how many vertices to use for each triangle fan.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.sun.j3d.utils.geometry.GeometryInfo.TRIANGLE_FAN_ARRAY">Constant Field Values</A></DL></DL><HR><A NAME="TRIANGLE_STRIP_ARRAY"><!-- --></A><H3>TRIANGLE_STRIP_ARRAY</H3><PRE>public static final int <B>TRIANGLE_STRIP_ARRAY</B></PRE><DL><DD>Send to the constructor to inform that the data will be arranged so that the stripCounts array indicates how many vertices to use for each triangle strip.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.sun.j3d.utils.geometry.GeometryInfo.TRIANGLE_STRIP_ARRAY">Constant Field Values</A></DL></DL><HR><A NAME="POLYGON_ARRAY"><!-- --></A><H3>POLYGON_ARRAY</H3><PRE>public static final int <B>POLYGON_ARRAY</B></PRE><DL><DD>Send to the constructor to inform that the data is arranged as possibly multi-contour, possible non-planar polygons. The stripCounts array indicates how many vertices to use for each contour, and the contourCounts array indicates how many stripCounts entries to use for each polygon. The first contour is the bounding polygon, and subsequent contours are "holes." If contourCounts is left null, the default is one contour per polygon.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.sun.j3d.utils.geometry.GeometryInfo.POLYGON_ARRAY">Constant Field Values</A></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_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>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="GeometryInfo(int)"><!-- --></A><H3>GeometryInfo</H3><PRE>public <B>GeometryInfo</B>(int primitive)</PRE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -