Modifier and Type | Method and Description |
---|---|
BranchGroup |
Background.getGeometry()
Retrieves the background geometry.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<BranchGroup> |
Locale.getAllBranchGraphs()
Gets an Iterator object of all branch graphs in this Locale.
|
Modifier and Type | Method and Description |
---|---|
void |
Locale.addBranchGraph(BranchGroup branchGroup)
Add a new branch graph rooted at BranchGroup to
the list of branch graphs.
|
void |
GraphStructureChangeListener.branchGroupAdded(java.lang.Object parent,
BranchGroup child)
Invoked when a branch group is added.
|
void |
GraphStructureChangeListener.branchGroupMoved(java.lang.Object oldParent,
java.lang.Object newParent,
BranchGroup child)
Invoked when a branch group is moved.
|
void |
GraphStructureChangeListener.branchGroupRemoved(java.lang.Object parent,
BranchGroup child)
Invoked when a branch group is removed.
|
void |
Group.moveTo(BranchGroup branchGroup)
Moves the specified branch group node from its existing location to
the end of this group node's list of children.
|
void |
OrderedGroup.moveTo(BranchGroup branchGroup)
Moves the specified branch group node from its existing location to
the end of this group node's list of children.
|
void |
Locale.removeBranchGraph(BranchGroup branchGroup)
Removes a branch graph rooted at BranchGroup from
the list of branch graphs.
|
void |
Locale.replaceBranchGraph(BranchGroup oldGroup,
BranchGroup newGroup)
Replaces the branch graph rooted at oldGroup in the list of
branch graphs with the branch graph rooted at
newGroup.
|
void |
Background.setGeometry(BranchGroup branch)
Sets the background geometry to the specified BranchGroup node.
|
Constructor and Description |
---|
Background(BranchGroup branch)
Constructs a Background node with the specified geometry.
|
Modifier and Type | Method and Description |
---|---|
BranchGroup |
SceneBase.getSceneGroup()
This method returns the BranchGroup containing the overall
scene loaded by the loader.
|
BranchGroup |
Scene.getSceneGroup()
This method returns the BranchGroup containing the overall
scene loaded by the loader.
|
Modifier and Type | Method and Description |
---|---|
void |
SceneBase.setSceneGroup(BranchGroup scene)
Sets the sceneGroup to be the group that is passed in.
|
Constructor and Description |
---|
PickMouseBehavior(Canvas3D canvas,
BranchGroup root,
Bounds bounds)
Deprecated.
Creates a PickMouseBehavior given current canvas, root of the tree to
operate on, and the bounds.
|
PickObject(Canvas3D c,
BranchGroup root)
Deprecated.
Creates a PickObject.
|
PickRotateBehavior(BranchGroup root,
Canvas3D canvas,
Bounds bounds)
Deprecated.
Creates a pick/rotate behavior that waits for user mouse events for
the scene graph.
|
PickRotateBehavior(BranchGroup root,
Canvas3D canvas,
Bounds bounds,
int pickMode)
Deprecated.
Creates a pick/rotate behavior that waits for user mouse events for
the scene graph.
|
PickTranslateBehavior(BranchGroup root,
Canvas3D canvas,
Bounds bounds)
Deprecated.
Creates a pick/translate behavior that waits for user mouse events for
the scene graph.
|
PickTranslateBehavior(BranchGroup root,
Canvas3D canvas,
Bounds bounds,
int pickMode)
Deprecated.
Creates a pick/translate behavior that waits for user mouse events for
the scene graph.
|
PickZoomBehavior(BranchGroup root,
Canvas3D canvas,
Bounds bounds)
Deprecated.
Creates a pick/zoom behavior that waits for user mouse events for
the scene graph.
|
PickZoomBehavior(BranchGroup root,
Canvas3D canvas,
Bounds bounds,
int pickMode)
Deprecated.
Creates a pick/zoom behavior that waits for user mouse events for
the scene graph.
|
Modifier and Type | Method and Description |
---|---|
BranchGroup |
PickTool.getBranchGroup()
Returns the BranchGroup to be picked if the tool was initialized
with a BranchGroup, null otherwise.
|
Constructor and Description |
---|
PickCanvas(Canvas3D c,
BranchGroup b)
Constructor with Canvas3D for mouse events and BranchGroup to be picked.
|
PickTool(BranchGroup b)
Constructor with BranchGroup to be picked.
|
Constructor and Description |
---|
PickMouseBehavior(Canvas3D canvas,
BranchGroup root,
Bounds bounds)
Creates a PickMouseBehavior given current canvas, root of the tree to
operate on, and the bounds.
|
PickRotateBehavior(BranchGroup root,
Canvas3D canvas,
Bounds bounds)
Creates a pick/rotate behavior that waits for user mouse events for
the scene graph.
|
PickRotateBehavior(BranchGroup root,
Canvas3D canvas,
Bounds bounds,
int pickMode)
Creates a pick/rotate behavior that waits for user mouse events for
the scene graph.
|
PickTranslateBehavior(BranchGroup root,
Canvas3D canvas,
Bounds bounds)
Creates a pick/translate behavior that waits for user mouse events for
the scene graph.
|
PickTranslateBehavior(BranchGroup root,
Canvas3D canvas,
Bounds bounds,
int pickMode)
Creates a pick/translate behavior that waits for user mouse events for
the scene graph.
|
PickZoomBehavior(BranchGroup root,
Canvas3D canvas,
Bounds bounds)
Creates a pick/zoom behavior that waits for user mouse events for
the scene graph.
|
PickZoomBehavior(BranchGroup root,
Canvas3D canvas,
Bounds bounds,
int pickMode)
Creates a pick/zoom behavior that waits for user mouse events for
the scene graph.
|
Modifier and Type | Method and Description |
---|---|
BranchGroup |
PickTool.getBranchGroup()
Returns the BranchGroup to be picked if the tool was initialized
with a BranchGroup, null otherwise.
|
Constructor and Description |
---|
PickCanvas(Canvas3D c,
BranchGroup b)
Constructor with Canvas3D for mouse events and BranchGroup to be picked.
|
PickTool(BranchGroup b)
Constructor with BranchGroup to be picked.
|
Constructor and Description |
---|
PickMouseBehavior(Canvas3D canvas,
BranchGroup root,
Bounds bounds)
Creates a PickMouseBehavior given current canvas, root of the tree to
operate on, and the bounds.
|
PickRotateBehavior(BranchGroup root,
Canvas3D canvas,
Bounds bounds)
Creates a pick/rotate behavior that waits for user mouse events for
the scene graph.
|
PickRotateBehavior(BranchGroup root,
Canvas3D canvas,
Bounds bounds,
int pickMode)
Creates a pick/rotate behavior that waits for user mouse events for
the scene graph.
|
PickTranslateBehavior(BranchGroup root,
Canvas3D canvas,
Bounds bounds)
Creates a pick/translate behavior that waits for user mouse events for
the scene graph.
|
PickTranslateBehavior(BranchGroup root,
Canvas3D canvas,
Bounds bounds,
int pickMode)
Creates a pick/translate behavior that waits for user mouse events for
the scene graph.
|
PickZoomBehavior(BranchGroup root,
Canvas3D canvas,
Bounds bounds)
Creates a pick/zoom behavior that waits for user mouse events for
the scene graph.
|
PickZoomBehavior(BranchGroup root,
Canvas3D canvas,
Bounds bounds,
int pickMode)
Creates a pick/zoom behavior that waits for user mouse events for
the scene graph.
|
Modifier and Type | Method and Description |
---|---|
BranchGroup[] |
SceneGraphFileReader.readAllBranchGraphs()
Read and return all the branchgraphs in the file
|
BranchGroup |
SceneGraphStreamReader.readBranchGraph(java.util.HashMap namedObjects)
Read and return the graph from the stream.
|
BranchGroup[] |
SceneGraphFileReader.readBranchGraph(int index)
Read the BranchGraph at index in the file.
|
Modifier and Type | Method and Description |
---|---|
void |
SceneGraphFileReader.dereferenceBranchGraph(BranchGroup graph)
Remove the IO system's reference to this branchgraph and all its nodes.
|
int |
SceneGraphFileReader.getBranchGraphPosition(BranchGroup graph)
Given a BranchGraph that has been loaded return the index of the
graph in the file.
|
void |
SceneGraphFileWriter.writeBranchGraph(BranchGroup graph)
Write the graph to the end of the file.
|
void |
SceneGraphStreamWriter.writeBranchGraph(BranchGroup graph,
java.util.HashMap namedObjects)
Write the entire graph to the stream.
|
void |
SceneGraphFileWriter.writeBranchGraph(BranchGroup graph,
java.io.Serializable data)
Write a branch graph and some user associated data to the
end of the file.
|
Modifier and Type | Method and Description |
---|---|
BranchGroup[] |
RandomAccessFileControl.readAllBranchGraphs()
Read and return all the graphs in the file
|
BranchGroup |
StreamControl.readBranchGraph(java.util.HashMap namedObjects) |
BranchGroup[] |
RandomAccessFileControl.readBranchGraph(int graphID) |
Modifier and Type | Method and Description |
---|---|
int |
RandomAccessFileControl.getBranchGraphPosition(BranchGroup graph)
Given a branchgraph, return the corresponding index of the graph
in the file.
|
void |
StreamControl.writeBranchGraph(BranchGroup bg,
java.io.Serializable userData)
The BranchGraph userData is not supported in a stream and will be
ignored.
|
void |
RandomAccessFileControl.writeBranchGraph(BranchGroup bg,
java.io.Serializable userData) |
abstract void |
Controller.writeBranchGraph(BranchGroup bg,
java.io.Serializable userData) |
Modifier and Type | Class and Description |
---|---|
class |
PlatformGeometry
This class holds any geometry that should be associated with the
ViewingPlatform object.
|
class |
ViewerAvatar
This class holds geomtry that should be associated with the View's
avatar.
|
class |
ViewingPlatform
This class is used to set up the "view" side of a Java 3D scene graph.
|
Modifier and Type | Method and Description |
---|---|
void |
SimpleUniverse.addBranchGraph(BranchGroup bg)
Used to add Nodes to the geometry side (as opposed to the view side)
of the scene graph.
|