j3d.utils.sceneGraphBuilderUtils
Class ControlledUniverse
java.lang.Object
javax.media.j3d.VirtualUniverse
com.sun.j3d.utils.universe.SimpleUniverse
j3d.utils.sceneGraphBuilderUtils.ControlledUniverse
- Direct Known Subclasses:
- SurfaceUniverse, TransformDemo
public class ControlledUniverse
- extends com.sun.j3d.utils.universe.SimpleUniverse
Field Summary |
static javax.vecmath.Color3f |
plum
|
static javax.vecmath.Color3f |
preDawn
|
Constructor Summary |
ControlledUniverse()
This keeps the SimpleUniverse from creating its own canvas along with
a JFrame in which to display it. |
ControlledUniverse(java.lang.String title,
javax.media.j3d.BranchGroup scene,
javax.vecmath.Color3f bgColor)
|
Methods inherited from class com.sun.j3d.utils.universe.SimpleUniverse |
addBranchGraph, cleanup, getCanvas, getCanvas, getLocale, getPreferredConfiguration, getViewer, getViewingPlatform |
Methods inherited from class javax.media.j3d.VirtualUniverse |
addGraphStructureChangeListener, addRenderingErrorListener, addShaderErrorListener, getAllLocales, getJ3DThreadPriority, getProperties, numLocales, removeAllLocales, removeGraphStructureChangeListener, removeLocale, removeRenderingErrorListener, removeShaderErrorListener, setJ3DThreadPriority |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
plum
public static javax.vecmath.Color3f plum
preDawn
public static javax.vecmath.Color3f preDawn
ControlledUniverse
public ControlledUniverse()
- This keeps the SimpleUniverse from creating its own canvas along with
a JFrame in which to display it.
ControlledUniverse
public ControlledUniverse(java.lang.String title,
javax.media.j3d.BranchGroup scene,
javax.vecmath.Color3f bgColor)
makeCanvas
public static javax.media.j3d.Canvas3D makeCanvas()
positionTheViewingPlatform
public void positionTheViewingPlatform(javax.vecmath.Vector3d v)