📄 compressedgeometry.html
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/media/j3d/NodeComponent.html" title="class in javax.media.j3d">NodeComponent</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/CompressedGeometry.html#cloneNodeComponent()">cloneNodeComponent</A></B>()</CODE><BR> <B>Deprecated.</B> <I>replaced with cloneNodeComponent(boolean forceDuplicate)</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/media/j3d/Shape3D.html" title="class in javax.media.j3d">Shape3D</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/CompressedGeometry.html#decompress()">decompress</A></B>()</CODE><BR> <B>Deprecated.</B> Decompresses the compressed geometry.</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="../../../javax/media/j3d/CompressedGeometry.html#getByteCount()">getByteCount</A></B>()</CODE><BR> <B>Deprecated.</B> Returns the size, in bytes, of the compressed geometry buffer.</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/CompressedGeometry.html#getCompressedGeometry(byte[])">getCompressedGeometry</A></B>(byte[] compressedGeometry)</CODE><BR> <B>Deprecated.</B> Retrieves the compressed geometry associated with the CompressedGeometry NodeComponent object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/media/j3d/J3DBuffer.html" title="class in javax.media.j3d">J3DBuffer</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/CompressedGeometry.html#getCompressedGeometryBuffer()">getCompressedGeometryBuffer</A></B>()</CODE><BR> <B>Deprecated.</B> Gets the compressed geometry data buffer reference, which is always null since NIO buffers are not supported for CompressedGeometry objects.</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/CompressedGeometry.html#getCompressedGeometryHeader(javax.media.j3d.CompressedGeometryHeader)">getCompressedGeometryHeader</A></B>(<A HREF="../../../javax/media/j3d/CompressedGeometryHeader.html" title="class in javax.media.j3d">CompressedGeometryHeader</A> hdr)</CODE><BR> <B>Deprecated.</B> Copies the compressed geometry header from the CompressedGeometry NodeComponent into the passed in parameter.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> byte[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/CompressedGeometry.html#getCompressedGeometryRef()">getCompressedGeometryRef</A></B>()</CODE><BR> <B>Deprecated.</B> Gets the compressed geometry data reference.</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/CompressedGeometry.html#isByReference()">isByReference</A></B>()</CODE><BR> <B>Deprecated.</B> Retrieves the data access mode for this CompressedGeometry object.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_javax.media.j3d.NodeComponent"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class javax.media.j3d.<A HREF="../../../javax/media/j3d/NodeComponent.html" title="class in javax.media.j3d">NodeComponent</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../javax/media/j3d/NodeComponent.html#cloneNodeComponent(boolean)">cloneNodeComponent</A>, <A HREF="../../../javax/media/j3d/NodeComponent.html#duplicateNodeComponent(javax.media.j3d.NodeComponent)">duplicateNodeComponent</A>, <A HREF="../../../javax/media/j3d/NodeComponent.html#duplicateNodeComponent(javax.media.j3d.NodeComponent, boolean)">duplicateNodeComponent</A>, <A HREF="../../../javax/media/j3d/NodeComponent.html#getDuplicateOnCloneTree()">getDuplicateOnCloneTree</A>, <A HREF="../../../javax/media/j3d/NodeComponent.html#setDuplicateOnCloneTree(boolean)">setDuplicateOnCloneTree</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_javax.media.j3d.SceneGraphObject"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class javax.media.j3d.<A HREF="../../../javax/media/j3d/SceneGraphObject.html" title="class in javax.media.j3d">SceneGraphObject</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../javax/media/j3d/SceneGraphObject.html#clearCapability(int)">clearCapability</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#clearCapabilityIsFrequent(int)">clearCapabilityIsFrequent</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#duplicateSceneGraphObject(javax.media.j3d.SceneGraphObject)">duplicateSceneGraphObject</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#getCapability(int)">getCapability</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#getCapabilityIsFrequent(int)">getCapabilityIsFrequent</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#getName()">getName</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#getUserData()">getUserData</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#isCompiled()">isCompiled</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#isLive()">isLive</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#setCapability(int)">setCapability</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#setCapabilityIsFrequent(int)">setCapabilityIsFrequent</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#setName(java.lang.String)">setName</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#setUserData(java.lang.Object)">setUserData</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#toString()">toString</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#updateNodeReferences(javax.media.j3d.NodeReferenceTable)">updateNodeReferences</A></CODE></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, 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="ALLOW_COUNT_READ"><!-- --></A><H3>ALLOW_COUNT_READ</H3><PRE>public static final int <B>ALLOW_COUNT_READ</B></PRE><DL><DD><B>Deprecated.</B> <DD>Specifies that this CompressedGeometry object allows reading its byte count information.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.CompressedGeometry.ALLOW_COUNT_READ">Constant Field Values</A></DL></DL><HR><A NAME="ALLOW_HEADER_READ"><!-- --></A><H3>ALLOW_HEADER_READ</H3><PRE>public static final int <B>ALLOW_HEADER_READ</B></PRE><DL><DD><B>Deprecated.</B> <DD>Specifies that this CompressedGeometry object allows reading its header information.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.CompressedGeometry.ALLOW_HEADER_READ">Constant Field Values</A></DL></DL><HR><A NAME="ALLOW_GEOMETRY_READ"><!-- --></A><H3>ALLOW_GEOMETRY_READ</H3><PRE>public static final int <B>ALLOW_GEOMETRY_READ</B></PRE><DL><DD><B>Deprecated.</B> <DD>Specifies that this CompressedGeometry object allows reading its geometry data component information.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.CompressedGeometry.ALLOW_GEOMETRY_READ">Constant Field Values</A></DL></DL><HR><A NAME="ALLOW_REF_DATA_READ"><!-- --></A><H3>ALLOW_REF_DATA_READ</H3><PRE>public static final int <B>ALLOW_REF_DATA_READ</B></PRE><DL><DD><B>Deprecated.</B> <DD>Specifies that this CompressedGeometry allows reading the geometry data reference information for this object. This is only used in by-reference geometry mode.<P><DL><DT><B>Since:</B></DT> <DD>Java 3D 1.2</DD><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.CompressedGeometry.ALLOW_REF_DATA_READ">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="CompressedGeometry(javax.media.j3d.CompressedGeometryHeader, byte[])"><!-- --></A><H3>CompressedGeometry</H3><PRE>public <B>CompressedGeometry</B>(<A HREF="../../../javax/media/j3d/CompressedGeometryHeader.html" title="class in javax.media.j3d">CompressedGeometryHeader</A> hdr, byte[] compressedGeometry)</PRE><DL><DD><B>Deprecated.</B> <DD>Creates a new CompressedGeometry NodeComponent by copying the specified compressed geometry data into this object. If the version number of compressed geometry, as specified by the CompressedGeometryHeader, is incompatible with the supported version of compressed geometry in the current version of Java 3D, then the compressed geometry object will not be rendered.<P><DL><DT><B>Parameters:</B><DD><CODE>hdr</CODE> - the compressed geometry header. This is copied into the CompressedGeometry NodeComponent.<DD><CODE>compressedGeometry</CODE> - the compressed geometry data. The geometry must conform to the format described in Appendix B of the <i>Java 3D API Specification</i>.<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if a problem is detected with the header<DT><B>See Also:</B><DD><A HREF="../../../javax/media/j3d/CompressedGeometryHeader.html" title="class in javax.media.j3d"><CODE>CompressedGeometryHeader</CODE></A>, <A HREF="../../../javax/media/j3d/Canvas3D.html#queryProperties()"><CODE>Canvas3D.queryProperties()</CODE></A></DL></DL><HR><A NAME="CompressedGeometry(javax.media.j3d.CompressedGeometryHeader, byte[], boolean)"><!-- --></A><H3>CompressedGeometry</H3><PRE>public <B>CompressedGeometry</B>(<A HREF="../../../javax/media/j3d/CompressedGeometryHeader.html" title="class in javax.media.j3d">CompressedGeometryHeader</A> hdr, byte[] compressedGeometry, boolean byReference)</PRE><DL><DD><B>Deprecated.</B> <DD>Creates a new CompressedGeometry NodeComponent. The specified compressed geometry data is either copied into this object or is accessed by reference. If the version number of compressed geometry, as specified by the CompressedGeometryHeader, is incompatible with the supported version of compressed geometry in the current version of Java 3D, the compressed geometry object will not be rendered.<P><DL><DT><B>Parameters:</B><DD><CODE>hdr</CODE> - the compressed geometry header. This is copied into the CompressedGeometry NodeComponent.<DD><CODE>compressedGeometry</CODE> - the compressed geometry data. The geometry must conform to the format described in Appendix B of the <i>Java 3D API Specification</i>.<DD><CODE>byReference</CODE> - a flag that indicates whether the data is copied into this compressed geometry object or is accessed by reference.<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if a problem is detected with the header<DT><B>Since:</B></DT> <DD>Java 3D 1.2</DD><DT><B>See Also:</B><DD><A HREF="../../../javax/media/j3d/CompressedGeometryHeader.html" title="class in javax.media.j3d"><CODE>CompressedGeometryHeader</CODE></A>, <A HREF="../../../javax/media/j3d/Canvas3D.html#queryProperties()"><CODE>Canvas3D.queryProperties()</CODE></A></DL></DL><HR><A NAME="CompressedGeometry(javax.media.j3d.CompressedGeometryHeader, javax.media.j3d.J3DBuffer)"><!-- --></A><H3>CompressedGeometry</H3><PRE>public <B>CompressedGeometry</B>(<A HREF="../../../javax/media/j3d/CompressedGeometryHeader.html" title="class in javax.media.j3d">CompressedGeometryHeader</A> hdr, <A HREF="../../../javax/media/j3d/J3DBuffer.html" title="class in javax.media.j3d">J3DBuffer</A> compressedGeometry)</PRE><DL><DD><B>Deprecated.</B> <DD>This constructor is not implemented.<P><DL><DT><B>Throws:</B>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -