Class Bee3DModell

java.lang.Object
  |
  +--javax.media.j3d.SceneGraphObject
        |
        +--javax.media.j3d.Node
              |
              +--javax.media.j3d.Group
                    |
                    +--javax.media.j3d.BranchGroup
                          |
                          +--Bee3DModell

public class Bee3DModell
extends javax.media.j3d.BranchGroup

Title: Bee3DModell Description: This Class is for representing bees in our 3D modell of the hive.


Field Summary
private  com.sun.j3d.utils.geometry.Sphere bee
           
private  javax.media.j3d.Appearance beeAppearance
           
private  javax.media.j3d.ColoringAttributes beeColorA
           
private  javax.media.j3d.Material beeMaterial
           
private  javax.media.j3d.Transform3D transf3D
           
private  javax.media.j3d.TransformGroup translation
           
private  javax.vecmath.Vector3d vec
           
 
Fields inherited from class javax.media.j3d.BranchGroup
ALLOW_DETACH
 
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, visited
 
Fields inherited from class javax.media.j3d.SceneGraphObject
capabilities, compiled, live, liveOrCompiled, nodeHashtable, retained, userData
 
Constructor Summary
Bee3DModell(int x, int y, int z)
          Creates e bee at the given point
 
Method Summary
 void move(Koord3D pos)
          Moves the bee from current position to next
 
Methods inherited from class javax.media.j3d.BranchGroup
cloneNode, compile, createRetained, detach, pickAll, pickAllSorted, pickAny, pickClosest
 
Methods inherited from class javax.media.j3d.Group
addChild, cloneTree, 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, registerNatives, toString, wait, wait, wait
 

Field Detail

vec

private javax.vecmath.Vector3d vec

transf3D

private javax.media.j3d.Transform3D transf3D

translation

private javax.media.j3d.TransformGroup translation

bee

private com.sun.j3d.utils.geometry.Sphere bee

beeAppearance

private javax.media.j3d.Appearance beeAppearance

beeColorA

private javax.media.j3d.ColoringAttributes beeColorA

beeMaterial

private javax.media.j3d.Material beeMaterial
Constructor Detail

Bee3DModell

public Bee3DModell(int x,
                   int y,
                   int z)
Creates e bee at the given point
Parameters:
x - the x coordinate
y - the y coordinate
z - the z coordinate
Method Detail

move

public void move(Koord3D pos)
Moves the bee from current position to next
Parameters:
pos - The coordinate of the next position