|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.media.j3d.Locale
net.jbeans.j3d.universe.Locale
Replace javax.media.j3d.Locale with this class in an app to view the SceneGraph. When you include this class in place of javax.media.j3d.Locale and run the application an extra window will be displayed with a graphical representation of the Scene Graph. The tool uses the NodeEditors to allow users to edit parameters in the scene graph nodes. NOTE the changes only take effect in the running app, the source code is not update. For Scene Graph Nodes that have a Bounds object, the user can ask for the bounds to be displayed while the application runs. A common bug in Java3D applications is the ommision of Bounds on Lights, Behaviors etc. When you use ViewerLocale all nodes in the SceneGraph are checked to ensure that the Bounds are not null.
Locale
,
BranchGroupDetachable
Field Summary |
Fields inherited from class javax.media.j3d.Locale |
|
Constructor Summary | |
(package private) |
Locale(javax.media.j3d.VirtualUniverse vu)
Construct a new Locale object |
(package private) |
Locale(javax.media.j3d.VirtualUniverse vu,
javax.media.j3d.HiResCoord hrc)
Construct a new Locale object |
(package private) |
Locale(javax.media.j3d.VirtualUniverse vu,
int[] x,
int[] y,
int[] z)
Construct a new Locale object |
Method Summary | |
void |
addBranchGraph(javax.media.j3d.BranchGroup bg)
Adds a new BranchGroup object. |
void |
detachBranchGraph(javax.media.j3d.BranchGroup bg)
Detaches the specified BranchGroup object. |
java.util.Vector |
getDetachableBranchGroups()
Get a list of all the detachable subgraphs. |
void |
setView(javax.media.j3d.View v)
Sets a View object for scene graph editing. |
Methods inherited from class javax.media.j3d.Locale |
finalize, getAllBranchGraphs, getHiRes, getVirtualUniverse, numBranchGraphs, pickAll, pickAllSorted, pickAny, pickClosest, removeBranchGraph, replaceBranchGraph, setHiRes, setHiRes |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
Locale(javax.media.j3d.VirtualUniverse vu)
Locale(javax.media.j3d.VirtualUniverse vu, javax.media.j3d.HiResCoord hrc)
Locale(javax.media.j3d.VirtualUniverse vu, int[] x, int[] y, int[] z)
Method Detail |
public final java.util.Vector getDetachableBranchGroups()
getDetachableBranchGroups
in interface BranchGroupDetachable
public final void setView(javax.media.j3d.View v)
public final void addBranchGraph(javax.media.j3d.BranchGroup bg)
public final void detachBranchGraph(javax.media.j3d.BranchGroup bg)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |