📄 compressedgeometry.html
字号:
<DD><CODE>java.lang.UnsupportedOperationException</CODE> - this constructor is not implemented<DT><B>Since:</B></DT> <DD>Java 3D 1.3</DD></DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_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>Method Detail</B></FONT></TH></TR></TABLE><A NAME="getByteCount()"><!-- --></A><H3>getByteCount</H3><PRE>public int <B>getByteCount</B>()</PRE><DL><DD><B>Deprecated.</B> <DD>Returns the size, in bytes, of the compressed geometry buffer. The size of the compressed geometry header is not included.<P><DD><DL><DT><B>Returns:</B><DD>the size, in bytes, of the compressed geometry buffer.<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html" title="class in javax.media.j3d">CapabilityNotSetException</A></CODE> - if appropriate capability is not set and this object is part of live or compiled scene graph</DL></DD></DL><HR><A NAME="getCompressedGeometryHeader(javax.media.j3d.CompressedGeometryHeader)"><!-- --></A><H3>getCompressedGeometryHeader</H3><PRE>public void <B>getCompressedGeometryHeader</B>(<A HREF="../../../javax/media/j3d/CompressedGeometryHeader.html" title="class in javax.media.j3d">CompressedGeometryHeader</A> hdr)</PRE><DL><DD><B>Deprecated.</B> <DD>Copies the compressed geometry header from the CompressedGeometry NodeComponent into the passed in parameter.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>hdr</CODE> - the CompressedGeometryHeader object into which to copy the CompressedGeometry NodeComponent's header; the offset field may differ from that which was originally specified if a copy of the original compressed geometry byte array was created.<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html" title="class in javax.media.j3d">CapabilityNotSetException</A></CODE> - if appropriate capability is not set and this object is part of live or compiled scene graph<DT><B>See Also:</B><DD><A HREF="../../../javax/media/j3d/CompressedGeometryHeader.html" title="class in javax.media.j3d"><CODE>CompressedGeometryHeader</CODE></A></DL></DD></DL><HR><A NAME="getCompressedGeometry(byte[])"><!-- --></A><H3>getCompressedGeometry</H3><PRE>public void <B>getCompressedGeometry</B>(byte[] compressedGeometry)</PRE><DL><DD><B>Deprecated.</B> <DD>Retrieves the compressed geometry associated with the CompressedGeometry NodeComponent object. Copies the compressed geometry from the CompressedGeometry node into the given array. The array must be large enough to hold all of the bytes. The individual array elements must be allocated by the caller.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>compressedGeometry</CODE> - the array into which to copy the compressed geometry.<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html" title="class in javax.media.j3d">CapabilityNotSetException</A></CODE> - if appropriate capability is not set and this object is part of live or compiled scene graph<DD><CODE>java.lang.IllegalStateException</CODE> - if the data access mode for this object is by-reference.<DD><CODE>java.lang.ArrayIndexOutOfBoundsException</CODE> - if compressedGeometry byte array is not large enough to receive the compressed geometry</DL></DD></DL><HR><A NAME="decompress()"><!-- --></A><H3>decompress</H3><PRE>public <A HREF="../../../javax/media/j3d/Shape3D.html" title="class in javax.media.j3d">Shape3D</A>[] <B>decompress</B>()</PRE><DL><DD><B>Deprecated.</B> <DD>Decompresses the compressed geometry. Returns an array of Shape nodes containing the decompressed geometry objects, or null if the version number of the compressed geometry is incompatible with the decompressor in the current version of Java 3D.<P><DD><DL><DT><B>Returns:</B><DD>an array of Shape nodes containing the geometry decompressed from this CompressedGeometry NodeComponent object, or null if its version is incompatible<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html" title="class in javax.media.j3d">CapabilityNotSetException</A></CODE> - if appropriate capability is not set and this object is part of live or compiled scene graph</DL></DD></DL><HR><A NAME="isByReference()"><!-- --></A><H3>isByReference</H3><PRE>public boolean <B>isByReference</B>()</PRE><DL><DD><B>Deprecated.</B> <DD>Retrieves the data access mode for this CompressedGeometry object.<P><DD><DL><DT><B>Returns:</B><DD><code>true</code> if the data access mode for this CompressedGeometry object is by-reference; <code>false</code> if the data access mode is by-copying.<DT><B>Since:</B></DT> <DD>Java 3D 1.2</DD></DL></DD></DL><HR><A NAME="getCompressedGeometryRef()"><!-- --></A><H3>getCompressedGeometryRef</H3><PRE>public byte[] <B>getCompressedGeometryRef</B>()</PRE><DL><DD><B>Deprecated.</B> <DD>Gets the compressed geometry data reference.<P><DD><DL><DT><B>Returns:</B><DD>the current compressed geometry data reference.<DT><B>Throws:</B><DD><CODE>java.lang.IllegalStateException</CODE> - if the data access mode for this object is not by-reference.<DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html" title="class in javax.media.j3d">CapabilityNotSetException</A></CODE> - if appropriate capability is not set and this object is part of live or compiled scene graph<DT><B>Since:</B></DT> <DD>Java 3D 1.2</DD></DL></DD></DL><HR><A NAME="getCompressedGeometryBuffer()"><!-- --></A><H3>getCompressedGeometryBuffer</H3><PRE>public <A HREF="../../../javax/media/j3d/J3DBuffer.html" title="class in javax.media.j3d">J3DBuffer</A> <B>getCompressedGeometryBuffer</B>()</PRE><DL><DD><B>Deprecated.</B> <DD>Gets the compressed geometry data buffer reference, which is always null since NIO buffers are not supported for CompressedGeometry objects.<P><DD><DL><DT><B>Returns:</B><DD>null<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/media/j3d/CapabilityNotSetException.html" title="class in javax.media.j3d">CapabilityNotSetException</A></CODE> - if appropriate capability is not set and this object is part of live or compiled scene graph<DT><B>Since:</B></DT> <DD>Java 3D 1.3</DD></DL></DD></DL><HR><A NAME="cloneNodeComponent()"><!-- --></A><H3>cloneNodeComponent</H3><PRE>public <A HREF="../../../javax/media/j3d/NodeComponent.html" title="class in javax.media.j3d">NodeComponent</A> <B>cloneNodeComponent</B>()</PRE><DL><DD><B>Deprecated.</B> <I>replaced with cloneNodeComponent(boolean forceDuplicate)</I><P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/media/j3d/NodeComponent.html#cloneNodeComponent()">cloneNodeComponent</A></CODE> in class <CODE><A HREF="../../../javax/media/j3d/NodeComponent.html" title="class in javax.media.j3d">NodeComponent</A></CODE></DL></DD><DD><DL></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <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/ColorInterpolator.html" title="class in javax.media.j3d"><B>PREV CLASS</B></A> <A HREF="../../../javax/media/j3d/CompressedGeometryHeader.html" title="class in javax.media.j3d"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?javax/media/j3d/CompressedGeometry.html" target="_top"><B>FRAMES</B></A> <A HREF="CompressedGeometry.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">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: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><font size="-1">Copyright (c) 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to <a href="../../../LICENSE-SPEC.html">license terms</a>.</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -