j3d.utils
Class ShapeCollection

java.lang.Object
  extended by j3d.utils.ShapeCollection

public class ShapeCollection
extends java.lang.Object


Constructor Summary
ShapeCollection()
           
 
Method Summary
static void addTextToLocale(javax.media.j3d.Locale myLocale)
           
static javax.media.j3d.BranchGroup buildViewBranch(javax.media.j3d.Canvas3D c)
          This builds the view branch of the scene graph.
static javax.media.j3d.View constructView(javax.media.j3d.Canvas3D myCanvas3D)
           
static javax.media.j3d.BranchGroup getBackgroundBranchGroup()
           
static javax.media.j3d.TransformGroup getBarrel()
           
static javax.media.j3d.TransformGroup getBarrel(javax.media.j3d.Appearance gunApp)
           
static com.sun.j3d.utils.universe.PlatformGeometry getBarrelPlatformGeometry()
           
static javax.media.j3d.Appearance getGunAppearance()
           
static javax.media.j3d.BranchGroup getGunBranchGroup(javax.media.j3d.TransformGroup gunTransformGroup)
           
static javax.media.j3d.QuadArray getHouse()
           
static javax.media.j3d.Shape3D getHouses()
           
static javax.media.j3d.BranchGroup getHousesBranchGroup()
           
static javax.media.j3d.Shape3D getLand()
           
static javax.media.j3d.Locale getLocale(javax.media.j3d.View myView)
           
static javax.media.j3d.BranchGroup getReadWriteBranchGroup()
           
static javax.media.j3d.TransformGroup getReadWriteTransformGroup()
           
static javax.media.j3d.TriangleFanArray getTree()
           
static javax.media.j3d.BranchGroup getTreeBranchGroup()
           
static javax.media.j3d.Shape3D getTrees()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShapeCollection

public ShapeCollection()
Method Detail

getLand

public static javax.media.j3d.Shape3D getLand()

getHouse

public static javax.media.j3d.QuadArray getHouse()

getTree

public static javax.media.j3d.TriangleFanArray getTree()

getTrees

public static javax.media.j3d.Shape3D getTrees()

getHouses

public static javax.media.j3d.Shape3D getHouses()

getTreeBranchGroup

public static javax.media.j3d.BranchGroup getTreeBranchGroup()

getReadWriteBranchGroup

public static javax.media.j3d.BranchGroup getReadWriteBranchGroup()

getHousesBranchGroup

public static javax.media.j3d.BranchGroup getHousesBranchGroup()

getLocale

public static javax.media.j3d.Locale getLocale(javax.media.j3d.View myView)

constructView

public static javax.media.j3d.View constructView(javax.media.j3d.Canvas3D myCanvas3D)

addTextToLocale

public static void addTextToLocale(javax.media.j3d.Locale myLocale)

getBackgroundBranchGroup

public static javax.media.j3d.BranchGroup getBackgroundBranchGroup()

getReadWriteTransformGroup

public static javax.media.j3d.TransformGroup getReadWriteTransformGroup()

getGunBranchGroup

public static javax.media.j3d.BranchGroup getGunBranchGroup(javax.media.j3d.TransformGroup gunTransformGroup)

getGunAppearance

public static javax.media.j3d.Appearance getGunAppearance()

getBarrelPlatformGeometry

public static com.sun.j3d.utils.universe.PlatformGeometry getBarrelPlatformGeometry()

getBarrel

public static javax.media.j3d.TransformGroup getBarrel()

getBarrel

public static javax.media.j3d.TransformGroup getBarrel(javax.media.j3d.Appearance gunApp)

buildViewBranch

public static javax.media.j3d.BranchGroup buildViewBranch(javax.media.j3d.Canvas3D c)
This builds the view branch of the scene graph.

Returns:
BranchGroup with viewing objects attached.