Examples of detachAllGraphs()


Examples of com.sun.j3d.utils.scenegraph.io.state.com.sun.j3d.utils.universe.SimpleUniverseState.detachAllGraphs()

/* 430 */       out.writeUTF(universe.getClass().getName());
/* 431 */       SimpleUniverseState state = new SimpleUniverseState(universe, this);
/* 432 */       state.writeObject(out);
/*     */
/* 434 */       if (writeUniverseContent) {
/* 435 */         state.detachAllGraphs();
/* 436 */         int[] graphs = state.getAllGraphIDs();
/* 437 */         for (int i = 0; i < graphs.length; i++) {
/* 438 */           SymbolTableData symbol = this.symbolTable.getBranchGraphRoot(graphs[i]);
/* 439 */           System.out.println("Writing " + graphs[i] + "  " + symbol.j3dNode);
/* 440 */           writeBranchGraph((BranchGroup)symbol.j3dNode, null);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.