public class SimpleUniverseState
extends java.lang.Object
Constructor and Description |
---|
SimpleUniverseState(ConfiguredUniverse universe,
Controller control)
Creates new SimpleUniverseState for writing.
|
SimpleUniverseState(Controller control)
Creates new SimpleUniverseState for reading.
|
SimpleUniverseState(SimpleUniverse universe,
Controller control)
Creates new SimpleUniverseState for writing.
|
Modifier and Type | Method and Description |
---|---|
void |
attachAllGraphs()
Reattach each BranchGraph to the Locale(s)
|
void |
buildGraph()
Called once IO is complete, attaches all the branchgroups to the locales
|
void |
detachAllGraphs()
Detach each BranchGraph from the Locale(s)
|
int[] |
getAllGraphIDs()
Return all the branchgraph id's for all Locales in the universe
This call must be made after readObject()
|
ConfiguredUniverse |
getNode()
Return the 'node', ie the virtual universe.
|
void |
readObject(java.io.DataInput in,
Canvas3D canvas) |
void |
writeObject(java.io.DataOutput out) |
public SimpleUniverseState(ConfiguredUniverse universe, Controller control)
public SimpleUniverseState(SimpleUniverse universe, Controller control)
public SimpleUniverseState(Controller control)
public void writeObject(java.io.DataOutput out) throws java.io.IOException
java.io.IOException
public void readObject(java.io.DataInput in, Canvas3D canvas) throws java.io.IOException
java.io.IOException
public void buildGraph()
public int[] getAllGraphIDs()
public void detachAllGraphs()
public void attachAllGraphs()
public ConfiguredUniverse getNode()