j3d.utils
Class ShapeCollection
java.lang.Object
j3d.utils.ShapeCollection
public class ShapeCollection
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShapeCollection
public ShapeCollection()
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()
getHouseShape
public static javax.media.j3d.Shape3D getHouseShape()
getTreeBranchGroup
public static javax.media.j3d.BranchGroup getTreeBranchGroup()
getReadWriteBranchGroup
public static javax.media.j3d.BranchGroup getReadWriteBranchGroup()
getHousesBranchGroup
public static javax.media.j3d.BranchGroup getHousesBranchGroup()
getBillBoard
public static javax.media.j3d.TransformGroup getBillBoard(javax.media.j3d.BranchGroup bg)
getBillBoard
public static javax.media.j3d.TransformGroup getBillBoard(javax.media.j3d.BranchGroup bg,
javax.media.j3d.TransformGroup transformGroup)
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.
createBeethoven
public static javax.media.j3d.BranchGroup createBeethoven(javax.media.j3d.Appearance appearance)