forest3D
Class Forest3D

java.lang.Object
  |
  +--javax.media.j3d.SceneGraphObject
        |
        +--javax.media.j3d.Node
              |
              +--javax.media.j3d.Group
                    |
                    +--forest3D.Forest3D

public class Forest3D
extends javax.media.j3d.Group


Field Summary
(package private)  int cType
           
(package private)  boolean done
           
(package private)  ForestBasicStand forest
           
(package private)  boolean isTopography
           
(package private)  int lType
           
(package private)  int nTrees
           
(package private) static java.awt.Component observer
           
(package private)  boolean texCrown
           
(package private)  boolean texLand
           
(package private)  boolean texTrunk
           
(package private)  TextureFactory textureF
           
(package private)  Point3f[] topography
           
 
Fields inherited from class javax.media.j3d.Group
ALLOW_CHILDREN_EXTEND, ALLOW_CHILDREN_READ, ALLOW_CHILDREN_WRITE, ALLOW_COLLISION_BOUNDS_READ, ALLOW_COLLISION_BOUNDS_WRITE
 
Fields inherited from class javax.media.j3d.Node
ALLOW_AUTO_COMPUTE_BOUNDS_READ, ALLOW_AUTO_COMPUTE_BOUNDS_WRITE, ALLOW_BOUNDS_READ, ALLOW_BOUNDS_WRITE, ALLOW_COLLIDABLE_READ, ALLOW_COLLIDABLE_WRITE, ALLOW_LOCAL_TO_VWORLD_READ, ALLOW_PICKABLE_READ, ALLOW_PICKABLE_WRITE, ENABLE_COLLISION_REPORTING, ENABLE_PICK_REPORTING
 
Fields inherited from class javax.media.j3d.SceneGraphObject
capabilities, nodeHashtable, retained
 
Constructor Summary
Forest3D(ForestBasicStand f)
           
Forest3D(ForestBasicStand f, int crownType, boolean texturedLand, boolean texturedCrown, boolean texturedTrunk, java.awt.Component imageObserver)
           
Forest3D(ForestBasicStand f, int crownType, int landType, Point3f[] topographyData, boolean texturedLand, boolean texturedCrown, boolean texturedTrunk, java.awt.Component imageObserver)
           
 
Method Summary
 void constructForest()
           
 int getCurrentTreesRendered()
           
 boolean isDone()
           
 
Methods inherited from class javax.media.j3d.Group
addChild, cloneNode, cloneTree, createRetained, duplicateAttributes, getAllChildren, getAlternateCollisionTarget, getChild, getCollisionBounds, insertChild, moveTo, numChildren, removeChild, setAlternateCollisionTarget, setChild, setCollisionBounds
 
Methods inherited from class javax.media.j3d.Node
checkDuplicateNode, checkForCycle, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, duplicateNode, getBounds, getBoundsAutoCompute, getCollidable, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickable
 
Methods inherited from class javax.media.j3d.SceneGraphObject
checkForLiveOrCompiled, clearCapability, clearLive, duplicateSceneGraphObject, getCapability, getNodeComponent, getUserData, isCompiled, isLive, isLiveOrCompiled, setCapability, setCompiled, setLive, setUserData, updateNodeReferences
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

texLand

boolean texLand

texCrown

boolean texCrown

texTrunk

boolean texTrunk

isTopography

boolean isTopography

topography

Point3f[] topography

cType

int cType

lType

int lType

observer

static java.awt.Component observer

textureF

TextureFactory textureF

forest

ForestBasicStand forest

nTrees

int nTrees

done

boolean done
Constructor Detail

Forest3D

public Forest3D(ForestBasicStand f)

Forest3D

public Forest3D(ForestBasicStand f,
                int crownType,
                boolean texturedLand,
                boolean texturedCrown,
                boolean texturedTrunk,
                java.awt.Component imageObserver)

Forest3D

public Forest3D(ForestBasicStand f,
                int crownType,
                int landType,
                Point3f[] topographyData,
                boolean texturedLand,
                boolean texturedCrown,
                boolean texturedTrunk,
                java.awt.Component imageObserver)
Method Detail

constructForest

public void constructForest()

getCurrentTreesRendered

public int getCurrentTreesRendered()

isDone

public boolean isDone()