j3d.utils.sceneGraphBuilderUtils
Class ControlledUniverse

java.lang.Object
  extended by javax.media.j3d.VirtualUniverse
      extended by com.sun.j3d.utils.universe.SimpleUniverse
          extended by 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)
           
 
Method Summary
static javax.media.j3d.Canvas3D makeCanvas()
           
 void positionTheViewingPlatform(javax.vecmath.Vector3d v)
           
 
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, addShaderErrorListener, getAllLocales, getJ3DThreadPriority, getProperties, numLocales, removeAllLocales, removeGraphStructureChangeListener, removeLocale, removeShaderErrorListener, setJ3DThreadPriority
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

plum

public static javax.vecmath.Color3f plum

preDawn

public static javax.vecmath.Color3f preDawn
Constructor Detail

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)
Method Detail

makeCanvas

public static javax.media.j3d.Canvas3D makeCanvas()

positionTheViewingPlatform

public void positionTheViewingPlatform(javax.vecmath.Vector3d v)