📄 geometryinfo.html
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../javax/vecmath/Point3f.html" title="class in javax.vecmath">Point3f</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#getCoordinates()">getCoordinates</A></B>()</CODE><BR> Retrieves a reference to the coordinate array.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../javax/media/j3d/GeometryArray.html" title="class in javax.media.j3d">GeometryArray</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#getGeometryArray()">getGeometryArray</A></B>()</CODE><BR> Creates and returns a non-indexed Java 3D GeometryArray object based on the data in the GeometryInfo object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../javax/media/j3d/GeometryArray.html" title="class in javax.media.j3d">GeometryArray</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#getGeometryArray(boolean, boolean, boolean)">getGeometryArray</A></B>(boolean byRef, boolean interleaved, boolean nio)</CODE><BR> Creates and returns a non-indexed Java 3D GeometryArray object based on the data in the GeometryInfo object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../javax/media/j3d/IndexedGeometryArray.html" title="class in javax.media.j3d">IndexedGeometryArray</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#getIndexedGeometryArray()">getIndexedGeometryArray</A></B>()</CODE><BR> Creates and returns an IndexedGeometryArray based on the data in the GeometryInfo object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../javax/media/j3d/IndexedGeometryArray.html" title="class in javax.media.j3d">IndexedGeometryArray</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#getIndexedGeometryArray(boolean)">getIndexedGeometryArray</A></B>(boolean compact)</CODE><BR> Creates and returns an IndexedGeometryArray based on the data in the GeometryInfo object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../javax/media/j3d/IndexedGeometryArray.html" title="class in javax.media.j3d">IndexedGeometryArray</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#getIndexedGeometryArray(boolean, boolean, boolean, boolean, boolean)">getIndexedGeometryArray</A></B>(boolean compact, boolean byRef, boolean interleaved, boolean useCoordIndexOnly, boolean nio)</CODE><BR> Creates and returns a IndexedGeometryArray based on the data in the GeometryInfo object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#getNormalIndices()">getNormalIndices</A></B>()</CODE><BR> Retrieves a reference to 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> <A HREF="../../../../../javax/vecmath/Vector3f.html" title="class in javax.vecmath">Vector3f</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#getNormals()">getNormals</A></B>()</CODE><BR> Retrieves a reference to the normal array.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#getNumColorComponents()">getNumColorComponents</A></B>()</CODE><BR> Returns the number of color data components stored per vertex in the current GeometryInfo object (3 for RGB or 4 for RGBA).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#getNumTexCoordComponents()">getNumTexCoordComponents</A></B>()</CODE><BR> Returns the number of texture coordinate components that are stored per vertex.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#getPrimitive()">getPrimitive</A></B>()</CODE><BR> Get the current primitive.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#getStripCounts()">getStripCounts</A></B>()</CODE><BR> Retrieves a reference to the array of stripCounts.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#getTexCoordSetCount()">getTexCoordSetCount</A></B>()</CODE><BR> Returns the number of texture coordinate sets in this GeometryInfo.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#getTexCoordSetMap()">getTexCoordSetMap</A></B>()</CODE><BR> Returns a reference to the texture coordinate set map.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#getTextureCoordinateIndices()">getTextureCoordinateIndices</A></B>()</CODE><BR> <B>Deprecated.</B> <I>As of Java 3D 1.3 replaced by <code>int[] getTextureCoordinateIndices(int texCoordSet) </code></I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#getTextureCoordinateIndices(int)">getTextureCoordinateIndices</A></B>(int texCoordSet)</CODE><BR> Retrieves a reference to the specified array of texture coordinate indices.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.Object[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#getTextureCoordinates()">getTextureCoordinates</A></B>()</CODE><BR> <B>Deprecated.</B> <I>As of Java 3D 1.3 replaced by <code>getTextureCoordinates(int texCoordSet)</code></I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.Object[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#getTextureCoordinates(int)">getTextureCoordinates</A></B>(int texCoordSet)</CODE><BR> Returns a reference to the indicated texture coordinate array.</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="../../../../../com/sun/j3d/utils/geometry/GeometryInfo.html#getUseCoordIndexOnly()">getUseCoordIndexOnly</A></B>()</CODE><BR> Returns true if the data in this GeometryInfo is currently formatted in the USE_COORD_INDEX_ONLY format where a single index list is used to index into all data lists.</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#indexify()">indexify</A></B>()</CODE><BR> </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#indexify(boolean)">indexify</A></B>(boolean useCoordIndexOnly)</CODE><BR> Create index lists for all data lists.</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#recomputeIndices()">recomputeIndices</A></B>()</CODE><BR> Redo indexes to guarantee connection information.</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#reset(javax.media.j3d.GeometryArray)">reset</A></B>(<A HREF="../../../../../javax/media/j3d/GeometryArray.html" title="class in javax.media.j3d">GeometryArray</A> ga)</CODE><BR> Removes all data from this GeometryInfo and populates it with the geometry from the GeometryArray.</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#reset(int)">reset</A></B>(int primitive)</CODE><BR> Removes all data from the GeometryInfo and resets the primitive.</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#reverse()">reverse</A></B>()</CODE><BR> Reverse the order of all lists.</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#setColorIndices(int[])">setColorIndices</A></B>(int[] colorIndices)</CODE><BR> Sets the array of indices into the Color 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#setColors(javax.vecmath.Color3b[])">setColors</A></B>(<A HREF="../../../../../javax/vecmath/Color3b.html" title="class in javax.vecmath">Color3b</A>[] colors)</CODE><BR> Sets the colors 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#setColors(javax.vecmath.Color3f[])">setColors</A></B>(<A HREF="../../../../../javax/vecmath/Color3f.html" title="class in javax.vecmath">Color3f</A>[] colors)</CODE><BR> Sets the colors 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#setColors(javax.vecmath.Color4b[])">setColors</A></B>(<A HREF="../../../../../javax/vecmath/Color4b.html" title="class in javax.vecmath">Color4b</A>[] colors)</CODE><BR> Sets the colors 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#setColors(javax.vecmath.Color4f[])">setColors</A></B>(<A HREF="../../../../../javax/vecmath/Color4f.html" title="class in javax.vecmath">Color4f</A>[] colors)</CODE><BR> Sets the colors 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#setColors3(byte[])">setColors3</A></B>(byte[] colors)</CODE><BR> Sets the colors 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#setColors3(float[])">setColors3</A></B>(float[] colors)</CODE><BR> Sets the colors 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#setColors4(byte[])">setColors4</A></B>(byte[] colors)</CODE><BR> Sets the colors 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#setColors4(float[])">setColors4</A></B>(float[] colors)</CODE><BR> Sets the colors 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#setContourCounts(int[])">setContourCounts</A></B>(int[] contourCounts)</CODE><BR> Sets the list of contour 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#setCoordinateIndices(int[])">setCoordinateIndices</A></B>(int[] coordinateIndices)</CODE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -