forest3D
Class Trunk3D

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

public class Trunk3D
extends javax.media.j3d.Group


Field Summary
(package private)  org.j3d.geom.Cylinder bark
           
(package private)  org.j3d.geom.Cone branch
           
(package private)  java.awt.geom.Point2D branchLoc
           
(package private)  boolean isTextured
           
(package private) static java.awt.geom.Point2D p0
           
 
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
Trunk3D(Trunk t)
           
Trunk3D(Trunk t, int primFlags)
           
Trunk3D(Trunk t, int primFlags, java.awt.geom.Point2D branchRelatifLocation)
           
 
Method Summary
 org.j3d.geom.Cylinder getBark()
           
 org.j3d.geom.Cone getBranch()
           
 void setAppearance(javax.media.j3d.Appearance ap)
           
 
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

p0

static java.awt.geom.Point2D p0

isTextured

boolean isTextured

bark

org.j3d.geom.Cylinder bark

branch

org.j3d.geom.Cone branch

branchLoc

java.awt.geom.Point2D branchLoc
Constructor Detail

Trunk3D

public Trunk3D(Trunk t)

Trunk3D

public Trunk3D(Trunk t,
               int primFlags)

Trunk3D

public Trunk3D(Trunk t,
               int primFlags,
               java.awt.geom.Point2D branchRelatifLocation)
Method Detail

setAppearance

public void setAppearance(javax.media.j3d.Appearance ap)

getBark

public org.j3d.geom.Cylinder getBark()

getBranch

public org.j3d.geom.Cone getBranch()