📄 package-summary.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc on Fri Apr 18 11:15:48 PDT 2003 --><TITLE>com.sun.j3d.utils.scenegraph.io(Java 3D API)</TITLE><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style"></HEAD><SCRIPT>function asd(){parent.document.title="com.sun.j3d.utils.scenegraph.io(Java 3D API)";}</SCRIPT><BODY BGCOLOR="white" onload="asd();"><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_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="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</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="../../../../../../com/sun/j3d/utils/picking/behaviors/package-summary.html"><B>PREV PACKAGE</B></A> <A HREF="../../../../../../com/sun/j3d/utils/timer/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="package-summary.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></TABLE><!-- =========== END OF NAVBAR =========== --><HR><H2>Package com.sun.j3d.utils.scenegraph.io</H2>This package provides a Java3D SceneGraph IO capability.<P><B>See:</B><BR> <A HREF="#package_description"><B>Description</B></A><P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Interface Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="SceneGraphIO.html"><I>SceneGraphIO</I></A></B></TD><TD>Implement this interface in any classes that subclass a Java3D SceneGraphObject in order to have your class handled correctly by scenegraph.io.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="SceneGraphObjectReferenceControl.html"><I>SceneGraphObjectReferenceControl</I></A></B></TD><TD>Provides and resolves references to SceneGraphObjects to enable persistant references in user defined SceneGraphObjects implementing the SceneGraphIO interface.</TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Class Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="SceneGraphFileReader.html">SceneGraphFileReader</A></B></TD><TD>Read Java3D BranchGraphs and/or Universe from a file.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="SceneGraphFileWriter.html">SceneGraphFileWriter</A></B></TD><TD>Write a (set) of Java3D BranchGraphs and/or Universe to a file.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="SceneGraphStreamReader.html">SceneGraphStreamReader</A></B></TD><TD>Read and create a (set) of Java3D BranchGraphs or Universe from a Java Stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="SceneGraphStreamWriter.html">SceneGraphStreamWriter</A></B></TD><TD>Writes a Java3D SceneGraph to a Java OutputStream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="UnresolvedBehavior.html">UnresolvedBehavior</A></B></TD><TD>This Behavior is used in place of any behaviors which can not be instantiated when a scene graph is read.</TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Exception Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="NamedObjectException.html">NamedObjectException</A></B></TD><TD>An error has occurred while processing a named object</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="ObjectNotLoadedException.html">ObjectNotLoadedException</A></B></TD><TD>The named object has not been loaded so it's instance can not be returned</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="UnsupportedUniverseException.html">UnsupportedUniverseException</A></B></TD><TD>Thrown if the VirtualUniverse subclass is not supported by the writeUniverse calls.</TD></TR></TABLE> <P><A NAME="package_description"><!-- --></A><H2>Package com.sun.j3d.utils.scenegraph.io Description</H2><P><P>This package provides a Java3D SceneGraph IO capability.The API supports IO of a scenegraph to and from a Java Stream and/orRandomAccessFile. The features offered for these two io systems aresomewhat different.</P><P>The SceneGraphFileReader and SceneGraphFileWriter classes provideIO to and from a RandomAccessFile. They allow a universe and/ormultiple BranchGraphs to be written to the file with Node's andNodeComponent's shared between the separate graphs. The graphs can beread in any order.</P><P>SceneGraphStreamReader and SceneGraphStreamWriter classes provideIO to and from a Stream. These classes allow a universe and/ormultiple BranchGraphs to be passed over stream. In contrast to theFileReader/Writer sharing of Node's is NOT supported between graphsby the API. Sharing of node components is supported. If yourapplication requires references to Nodes in other graphs (such asSharedGroups) the application must handle the references using thenamedObjects constructs.</P><P>Note : If you use SceneGraphStreamWriter class to write to aFileOutputStream the resulting file cannot be read using theSceneGraphFileReader, the converse is also true, you can not use aFileInputStream to load a file written by SceneGraphFileWriter.<P>The package supports the IO of all the Java3D 1.3 core classesand many of the utilities. It also includes interfaces which can beimplemented to allow user defined subclasses of SceneGraphObjects tobe stored. Information on the extensibility can be found<A HREF="doc-files/extensibility.html">here</A><P>The package has a number of properties which can be used to control the IObehavior<p><blockquote><b>j3d.io.UseSuperClassIfNoChildClass</b> when this property is present the loadoperation will attempt to avoid failure if Scene Graph nodes are not presentin the classpath. For example if a developer has subclassed BranchGroup with a class called MyBG but has notimplemented the SceneGraphIO interface when the API saves the graph thesuperclass (ie BranchGroup) data will be stored. When the scene is loaded normally MyBG must be in the classpath otherwise the load will fail. If thisproperty is set then the superclass node (ie BranchGroup) will be instantiatedwhen MyBG is missing. Obviously, if MyBG contained any state informationthen this will be lost.<p><b>j3d.io.ImageCompression</b> this can be set to None, GZIP, JPEG and tells theIO system to compress images in the .j3f file using the prescribed technique. Inthe future this will be extended to support all the formats available injavax.imageio in JDK 1.4.</blockquote></P><P><P><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="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</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="../../../../../../com/sun/j3d/utils/picking/behaviors/package-summary.html"><B>PREV PACKAGE</B></A> <A HREF="../../../../../../com/sun/j3d/utils/timer/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="package-summary.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></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -