public class SimpleUniverseState extends 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(DataInput in,
Canvas3D canvas) |
void |
writeObject(DataOutput out) |
public SimpleUniverseState(ConfiguredUniverse universe, Controller control)
public SimpleUniverseState(SimpleUniverse universe, Controller control)
public SimpleUniverseState(Controller control)
public void writeObject(DataOutput out) throws IOException
IOException
public void readObject(DataInput in, Canvas3D canvas) throws IOException
IOException
public void buildGraph()
public int[] getAllGraphIDs()
public void detachAllGraphs()
public void attachAllGraphs()
public ConfiguredUniverse getNode()
Copyright © 2016–2022 SciJava. All rights reserved.