| java.lang.Object com.sun.j3d.utils.scenegraph.io.retained.Controller com.sun.j3d.utils.scenegraph.io.retained.StreamControl
StreamControl | public class StreamControl extends Controller (Code) | | Provides the infrastructure for ScenGraphStream Reader and Writer
|
addNamedObjects | public void addNamedObjects(HashMap namedObjects)(Code) | | Add the named objects to the symbol table
|
getFilePointer | public long getFilePointer()(Code) | | Implementation of abstract method from Controller.
Always returns 0
|
loadNodeComponent | public void loadNodeComponent(SymbolTableData symbol) throws IOException(Code) | | Used by SymbolTable to load a node component that is not in current
graph
|
readBranchGraphs | protected void readBranchGraphs(int[] graphs) throws IOException(Code) | | Read the set of branchgraps.
Used by readUniverse
RandomAccessFileControl will read the graphs in the array,
StreamControl expects the graphs to follow the universe in the
stream so it will read graphs.length branchgraphs.
|
writeBranchGraph | public void writeBranchGraph(BranchGroup bg, java.io.Serializable userData) throws IOException(Code) | | The BranchGraph userData is not supported in a stream and will be
ignored.
However the data in the userData field of the BranchGroup will be
stored in the stream
|
writeStreamHeader | public void writeStreamHeader() throws IOException(Code) | | Prepare the Stream for writing, by sending header information
|
Methods inherited from com.sun.j3d.utils.scenegraph.io.retained.Controller | public void addNamedObject(String name, SceneGraphObject object)(Code)(Java Doc) abstract public void close() throws IOException(Code)(Java Doc) public SceneGraphObjectState createState(SceneGraphObject obj)(Code)(Java Doc) public SceneGraphObjectState createState(SceneGraphObject obj, SymbolTableData symbol)(Code)(Java Doc) public SceneGraphObjectState createState(SymbolTableData symbol)(Code)(Java Doc) public ClassLoader getClassLoader()(Code)(Java Doc) public int getCurrentFileVersion()(Code)(Java Doc) abstract public long getFilePointer()(Code)(Java Doc) public int getImageCompression()(Code)(Java Doc) public SceneGraphObject getNamedObject(String name) throws NamedObjectException, ObjectNotLoadedException(Code)(Java Doc) public String[] getNames()(Code)(Java Doc) public Class getNodeClassFromID(int classID)(Code)(Java Doc) public int getNodeClassID(javax.media.j3d.SceneGraphObject node)(Code)(Java Doc) public int getOutputFileVersion()(Code)(Java Doc) final public SymbolTable getSymbolTable()(Code)(Java Doc) public Bounds readBounds(DataInput in) throws IOException(Code)(Java Doc) abstract protected void readBranchGraphs(int[] graphs) throws IOException(Code)(Java Doc) public Color3f readColor3f(DataInput in) throws IOException(Code)(Java Doc) public Color4f readColor4f(DataInput in) throws IOException(Code)(Java Doc) public Matrix4d readMatrix4d(DataInput in) throws IOException(Code)(Java Doc) protected void readNodeComponents(DataInput in) throws IOException(Code)(Java Doc) public SceneGraphObjectState readObject(DataInput in) throws IOException(Code)(Java Doc) public Point3d readPoint3d(DataInput in) throws IOException(Code)(Java Doc) public Point3f readPoint3f(DataInput in) throws IOException(Code)(Java Doc) public Quat4f readQuat4f(DataInput in) throws IOException(Code)(Java Doc) public Object readSerializedData(DataInput dataInput) throws IOException(Code)(Java Doc) public int readSharedGroup(DataInput in) throws IOException(Code)(Java Doc) public Transform3D readTransform3D(DataInput in) throws IOException(Code)(Java Doc) public Tuple3d readTuple3d(DataInput in, Tuple3d tuple) throws IOException(Code)(Java Doc) public Tuple3f readTuple3f(DataInput in, Tuple3f tuple) throws IOException(Code)(Java Doc) public Tuple4d readTuple4d(DataInput in, Tuple4d tuple) throws IOException(Code)(Java Doc) public Tuple4f readTuple4f(DataInput in, Tuple4f tuple) throws IOException(Code)(Java Doc) public ConfiguredUniverse readUniverse(DataInput in, boolean attachBranchGraphs, Canvas3D canvas) throws IOException(Code)(Java Doc) public Vector3f readVector3f(DataInput in) throws IOException(Code)(Java Doc) public Vector4d readVector4d(DataInput in) throws IOException(Code)(Java Doc) public Vector4f readVector4f(DataInput in) throws IOException(Code)(Java Doc) public void reset()(Code)(Java Doc) public void setClassLoader(ClassLoader classLoader)(Code)(Java Doc) public void skipUserData(DataInput dataInput) throws IOException(Code)(Java Doc) public boolean useSuperClassIfNoChildClass()(Code)(Java Doc) public void writeBounds(DataOutput out, Bounds bounds) throws IOException(Code)(Java Doc) abstract public void writeBranchGraph(BranchGroup bg, java.io.Serializable userData) throws IOException(Code)(Java Doc) public void writeColor3f(DataOutput out, Color3f color) throws IOException(Code)(Java Doc) public void writeColor4f(DataOutput out, Color4f vec) throws IOException(Code)(Java Doc) public void writeMatrix4d(DataOutput out, Matrix4d m) throws IOException(Code)(Java Doc) protected void writeNodeComponents(DataOutput out) throws IOException(Code)(Java Doc) public void writeObject(DataOutput out, SceneGraphObjectState obj) throws IOException(Code)(Java Doc) public void writePoint3d(DataOutput out, Point3d pt) throws IOException(Code)(Java Doc) public void writePoint3f(DataOutput out, Point3f pt) throws IOException(Code)(Java Doc) public void writeQuat4f(DataOutput out, Quat4f vec) throws IOException(Code)(Java Doc) public void writeSerializedData(DataOutput dataOutput, java.io.Serializable userData) throws IOException(Code)(Java Doc) public void writeSharedGroup(DataOutput out, SharedGroup sharedGroup, SymbolTableData symbol) throws IOException(Code)(Java Doc) public void writeTransform3D(DataOutput out, Transform3D tran) throws IOException(Code)(Java Doc) public void writeTuple3d(DataOutput out, Tuple3d tuple) throws IOException(Code)(Java Doc) public void writeTuple3f(DataOutput out, Tuple3f tuple) throws IOException(Code)(Java Doc) public void writeTuple4d(DataOutput out, Tuple4d tuple) throws IOException(Code)(Java Doc) public void writeTuple4f(DataOutput out, Tuple4f tuple) throws IOException(Code)(Java Doc) public void writeUniverse(DataOutput out, SimpleUniverse universe, boolean writeUniverseContent) throws IOException, UnsupportedUniverseException, CapabilityNotSetException(Code)(Java Doc) public void writeVector3f(DataOutput out, Vector3f vec) throws IOException(Code)(Java Doc) public void writeVector4d(DataOutput out, Vector4d vec) throws IOException(Code)(Java Doc) public void writeVector4f(DataOutput out, Vector4f vec) throws IOException(Code)(Java Doc)
|
|
|